diff options
author | Wayne Witzel III <wayne@riotousliving.com> | 2016-10-07 20:41:34 +0200 |
---|---|---|
committer | Wayne Witzel III <wayne@riotousliving.com> | 2016-10-07 20:41:34 +0200 |
commit | e4e878d0414067f8971c407b90f3f62a64204412 (patch) | |
tree | 0bc3da587882bf419bdb957a099a9a3a709f9019 /config | |
parent | removing old apache, renaming nginx config (diff) | |
download | awx-e4e878d0414067f8971c407b90f3f62a64204412.tar.xz awx-e4e878d0414067f8971c407b90f3f62a64204412.zip |
copy nginx config and uwsgi_params
Diffstat (limited to 'config')
-rw-r--r-- | config/awx-nginx.conf | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/config/awx-nginx.conf b/config/awx-nginx.conf index facaeae181..b883bc56f5 100644 --- a/config/awx-nginx.conf +++ b/config/awx-nginx.conf @@ -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; } } } |