mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 16:46:54 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
16
roles/seafile/templates/gunicorn.conf.py.j2
Normal file
16
roles/seafile/templates/gunicorn.conf.py.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
import os
|
||||
|
||||
daemon = True
|
||||
workers = 5
|
||||
|
||||
bind = "0.0.0.0:{{ seafile_seahub_port }}"
|
||||
|
||||
pids_dir = '{{ seafile_root_dir }}/pids'
|
||||
pidfile = os.path.join(pids_dir, 'seahub.pid')
|
||||
|
||||
logs_dir = '{{ seafile_root_dir }}/logs'
|
||||
errorlog = os.path.join(logs_dir, 'gunicorn_error.log')
|
||||
accesslog = os.path.join(logs_dir, 'gunicorn_access.log')
|
||||
|
||||
timeout = 1200
|
||||
limit_request_line = 8190
|
Reference in New Issue
Block a user