Compare commits

...

2 Commits

Author SHA1 Message Date
b84b666845 Fix fallback for missing 2024-12-09 13:21:45 -07:00
25a2b8c695 Enable gzip 2024-12-09 13:21:40 -07:00

View File

@ -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;
}
}
}