This commit is contained in:
Ivan Malison 2024-12-09 13:40:22 -07:00
parent b84b666845
commit a28d43f381

View File

@ -48,14 +48,14 @@
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 {
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;
@ -63,7 +63,8 @@
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
location / {
root ${staticAssetsPath};
gzip_static on;
root ${staticAssetsPath};
try_files $uri $uri/ /index.html;
}
}