mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
Merge pull request #2773 from ryanpetrello/openshift-saml
set the correct X-Forwarded-Port header to fix SAML auth
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user