We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5304e0 commit 3fa8f72Copy full SHA for 3fa8f72
demo_pyramid/demo_pyramid/views.py
@@ -16,7 +16,8 @@ def init_saml_auth(req):
16
17
def prepare_pyramid_request(request):
18
## Uncomment this portion to set the request.scheme and request.server_port
19
- ## based on the supplied `X-Forwarded` headers
+ ## based on the supplied `X-Forwarded` headers.
20
+ ## Useful for running behind reverse proxies or balancers.
21
#
22
# if 'X-Forwarded-Proto' in request.headers:
23
# request.scheme = request.headers['X-Forwarded-Proto']
0 commit comments