copy nginx config and uwsgi_params

This commit is contained in:
Wayne Witzel III
2016-10-07 14:41:34 -04:00
parent c64392eb67
commit e4e878d041
2 changed files with 18 additions and 13 deletions

View File

@@ -59,15 +59,18 @@ http {
}
location / {
proxy_pass http://uwsgi;
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
uwsgi_pass uwsgi;
include /etc/nginx/uwsgi_params;
#proxy_pass http://uwsgi;
#proxy_http_version 1.1;
#proxy_buffering off;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-Forwarded-Proto https;
#proxy_set_header Host $http_host;
#proxy_redirect off;
#proxy_set_header Upgrade $http_upgrade;
#proxy_set_header Connection $connection_upgrade;
}
}
}