Compare commits
2 Commits
c98ea7a17b
...
b84b666845
Author | SHA1 | Date | |
---|---|---|---|
b84b666845 | |||
25a2b8c695 |
@ -48,6 +48,8 @@
|
||||
user nginx nginx;
|
||||
daemon off;
|
||||
error_log /dev/stdout info;
|
||||
gzip on;
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
pid /dev/null;
|
||||
events {}
|
||||
http {
|
||||
@ -62,7 +64,7 @@
|
||||
add_header X-Content-Type-Options "nosniff";
|
||||
location / {
|
||||
root ${staticAssetsPath};
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user