1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +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

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,