summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/awx-nginx.conf21
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;
}
}
}