1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00
This commit is contained in:
Joaquin Bravo 2017-02-28 13:54:19 +00:00 committed by GitHub
commit 29be9a35bd

View File

@ -51,6 +51,12 @@ tools/editconf.py /etc/php5/fpm/php.ini -c ';' \
tools/editconf.py /etc/php5/fpm/pool.d/www.conf -c ';' \
pm.max_children=8
# Enable PHP's slowlog to better diagnose slow running scripts
tools/editconf.py /etc/php5/fpm/pool.d/www.conf -c ';' \
slowlog=/var/log/php5-fpm.log.slow
tools/editconf.py /etc/php5/fpm/pool.d/www.conf -c ';' \
request_slowlog_timeout=600
# Other nginx settings will be configured by the management service
# since it depends on what domains we're serving, which we don't know
# until mail accounts have been created.