Update nginx conf.
parent
a867601fa9
commit
036a69b006
|
@ -1,4 +1,4 @@
|
|||
user nginx;
|
||||
user root;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
@ -84,11 +84,6 @@ http {
|
|||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://backend_snipt;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias /app/snipt/static/;
|
||||
expires max;
|
||||
|
|
Loading…
Reference in New Issue