1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-27 19:05:16 +00:00

Merge pull request #7714 from haiwen/12.0-add-forwarder-header-in-gunicorn

Update setup-seafile-mysql.py
This commit is contained in:
欢乐马 2025-04-08 14:06:13 +08:00 committed by GitHub
commit a1686622b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1272,6 +1272,9 @@ pidfile = os.path.join(pids_dir, 'seahub.pid')
timeout = 1200
limit_request_line = 8190
# for forwarder headers
forwarder_headers = 'SCRIPT_NAME,PATH_INFO,REMOTE_USER'
'''
text = template % dict(pids_dir=env_mgr.central_pids_dir,