Skip to content

Commit 7a70651

Browse files
committed
feat: always enable forwarding of proxy headers
1 parent afd2c98 commit 7a70651

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ def main():
4242
'ssl_cert_reqs': ssl.CERT_NONE,
4343
'ssl_ca_certs': None, # TODO: add settings.SSL_CA_CERTS
4444
'ssl_ciphers': settings.SSL_CIPHERS,
45+
'proxy_headers': True,
46+
'forwarded_allow_ips': '*',
4547
}
4648

4749
# enable SSL if key and cert files are provided

0 commit comments

Comments
 (0)