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:
loitho 2019-12-31 03:09:38 +01:00
parent c6dc69c68b
commit 930b46810f
2 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,7 @@ data:
include {{ extra_nginx_include }};
{%- endif %}
proxy_set_header X-Forwarded-Port 443;
uwsgi_param HTTP_X_FORWARDED_PORT 443;
}
}
}

View File

@ -113,6 +113,7 @@ http {
include {{ extra_nginx_include }};
{%- endif %}
proxy_set_header X-Forwarded-Port 443;
uwsgi_param HTTP_X_FORWARDED_PORT 443;
}
}
}