Merge pull request #1 from sixteenmillimeter/master
Merge latest changes on master branch to dev branch
This commit is contained in:
commit
448bbd66eb
13
nginx.conf
13
nginx.conf
|
@ -30,18 +30,19 @@ server {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_comp_level 9;
|
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 servers
|
#uncomment for static file server
|
||||||
#location /static/ {
|
#location /static/ {
|
||||||
#uncomment to turn on caching
|
#uncomment to turn on caching
|
||||||
#expires modified 1y;
|
#expires modified 1y;
|
||||||
#access_log off;
|
#access_log off;
|
||||||
#add_header Cache-Control "public";
|
#add_header Cache-Control "public";
|
||||||
#gzip on;
|
#gzip on;
|
||||||
#gzip_comp_level 9;
|
#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;
|
||||||
#alias /var/node/blootstrap/static/;
|
#use project location
|
||||||
|
#alias /var/node/intval3/static/;
|
||||||
#}
|
#}
|
||||||
}
|
}
|
Loading…
Reference in New Issue