mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 19:37:38 -02:30
Add a uwsgi param to prevent SAML error
Add the uwsgi_param 'HTTP_X_FORWARDED_PORT' to nginx configuration, This prevents the python-saml "invalid_response" error related issue : #5570 and #1016 Signed-off-by: loitho
This commit is contained in:
@@ -120,6 +120,7 @@ data:
|
|||||||
include {{ extra_nginx_include }};
|
include {{ extra_nginx_include }};
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
proxy_set_header X-Forwarded-Port 443;
|
proxy_set_header X-Forwarded-Port 443;
|
||||||
|
uwsgi_param HTTP_X_FORWARDED_PORT 443;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -113,6 +113,7 @@ http {
|
|||||||
include {{ extra_nginx_include }};
|
include {{ extra_nginx_include }};
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
proxy_set_header X-Forwarded-Port 443;
|
proxy_set_header X-Forwarded-Port 443;
|
||||||
|
uwsgi_param HTTP_X_FORWARDED_PORT 443;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user