mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
copy nginx config and uwsgi_params
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user