Update wsgi.py
This commit is contained in:
@@ -34,4 +34,10 @@ if __name__ == '__main__':
|
||||
# Graceful shutdown settings
|
||||
channel_timeout=30, # Seconds to wait for in-flight requests
|
||||
cleanup_interval=30,
|
||||
)
|
||||
# Waitress Proxy Settings
|
||||
trusted_proxy='*',
|
||||
trusted_proxy_count=1,
|
||||
trusted_proxy_headers={'x-forwarded-for', 'x-forwarded-proto'},
|
||||
clear_untrusted_proxy_headers=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user