Updated install process #4
15
nginx.conf
15
nginx.conf
|
@ -9,7 +9,8 @@
|
|||
#}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
#listen 443 ssl;
|
||||
|
||||
#ssl on;
|
||||
|
@ -33,4 +34,16 @@ server {
|
|||
#gzip_comp_level 5;
|
||||
#gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias /home/pi/intval3/app/www/static/;
|
||||
|
||||
#uncomment to turn on caching
|
||||
#expires modified 1y;
|
||||
access_log off;
|
||||
#add_header Cache-Control "public";
|
||||
gzip on;
|
||||
gzip_comp_level 5;
|
||||
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue