Compare commits
3 Commits
c98ea7a17b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| a28d43f381 | |||
| b84b666845 | |||
| 25a2b8c695 |
@@ -54,6 +54,8 @@
|
||||
include ${mimeTypes};
|
||||
access_log /dev/stdout;
|
||||
server {
|
||||
gzip on;
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
listen 80;
|
||||
index index.php index.html;
|
||||
charset utf-8;
|
||||
@@ -61,8 +63,9 @@
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
add_header X-Content-Type-Options "nosniff";
|
||||
location / {
|
||||
root ${staticAssetsPath};
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
gzip_static on;
|
||||
root ${staticAssetsPath};
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user