mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 22:21:13 +03:00
set the correct X-Forwarded-Port header to fix SAML auth
see: https://github.com/ansible/tower/issues/2314
This commit is contained in:
parent
9193125cc1
commit
2d4fbffb91
@ -77,6 +77,7 @@ http {
|
|||||||
uwsgi_read_timeout 120s;
|
uwsgi_read_timeout 120s;
|
||||||
uwsgi_pass uwsgi;
|
uwsgi_pass uwsgi;
|
||||||
include /etc/nginx/uwsgi_params;
|
include /etc/nginx/uwsgi_params;
|
||||||
|
proxy_set_header X-Forwarded-Port 443;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -108,3 +108,5 @@ CACHES = {
|
|||||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
USE_X_FORWARDED_PORT = True
|
||||||
|
Loading…
Reference in New Issue
Block a user