From 331be5f69ac14e271f09cd8c0c4ace504de8196d Mon Sep 17 00:00:00 2001 From: Teodoro Cook Date: Thu, 24 Sep 2020 00:08:27 -0600 Subject: [PATCH] Port 930b468 from https://github.com/ansible/awx Add the uwsgi_param 'HTTP_X_FORWARDED_PORT' to nginx configuration, This prevents the python-saml "invalid_response" error --- roles/awx/templates/tower_config.yaml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/awx/templates/tower_config.yaml.j2 b/roles/awx/templates/tower_config.yaml.j2 index 9ae4152a..ad5cf831 100644 --- a/roles/awx/templates/tower_config.yaml.j2 +++ b/roles/awx/templates/tower_config.yaml.j2 @@ -198,6 +198,7 @@ data: include {{ extra_nginx_include }}; {%- endif %} proxy_set_header X-Forwarded-Port 443; + uwsgi_param HTTP_X_FORWARDED_PORT 443; } } }