diff --git a/nginx.conf b/nginx.conf index 2cccf05..cc71e29 100644 --- a/nginx.conf +++ b/nginx.conf @@ -31,7 +31,7 @@ server { proxy_set_header X-Real-IP $remote_addr; gzip on; gzip_comp_level 5; - gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json; + gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json; } #uncomment for static file server #location /static/ { @@ -41,7 +41,8 @@ server { #add_header Cache-Control "public"; #gzip on; #gzip_comp_level 5; - #gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json; - #alias /var/node/blootstrap/static/; + #gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json; + #use project location + #alias /var/node/intval3/static/; #} }