parent
90775dce80
commit
4e732b539e
13 changed files with 97 additions and 22 deletions
Binary file not shown.
@ -1,5 +1,7 @@ |
|||||||
--- |
--- |
||||||
dependencies: |
dependencies: |
||||||
- role: repo_nux_dextop |
- role: repo_nux_dextop |
||||||
|
- role: memcached_server |
||||||
|
when: seafile_memcached_server is search('^(127\.0\.0\.1|localhost)') |
||||||
- role: clamav |
- role: clamav |
||||||
when: seafile_license is defined and seafile_scan_av == True |
when: seafile_license is defined and seafile_scan_av == True |
||||||
|
@ -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 |
Loading…
Reference in new issue