mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-11-08 21:20:42 +08:00
re-activate error.log for php-fpm
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
d33f3f3b26
commit
bc77beced4
2 changed files with 4 additions and 3 deletions
|
|
@ -209,7 +209,8 @@ RUN set -ex; \
|
||||||
sed -i 's/^pm.max_children =.*/pm.max_children = 80/' /usr/local/etc/php-fpm.d/www.conf; \
|
sed -i 's/^pm.max_children =.*/pm.max_children = 80/' /usr/local/etc/php-fpm.d/www.conf; \
|
||||||
sed -i 's/^pm.start_servers =.*/pm.start_servers = 2/' /usr/local/etc/php-fpm.d/www.conf; \
|
sed -i 's/^pm.start_servers =.*/pm.start_servers = 2/' /usr/local/etc/php-fpm.d/www.conf; \
|
||||||
sed -i 's/^pm.min_spare_servers =.*/pm.min_spare_servers = 1/' /usr/local/etc/php-fpm.d/www.conf; \
|
sed -i 's/^pm.min_spare_servers =.*/pm.min_spare_servers = 1/' /usr/local/etc/php-fpm.d/www.conf; \
|
||||||
sed -i 's/^pm.max_spare_servers =.*/pm.max_spare_servers = 3/' /usr/local/etc/php-fpm.d/www.conf
|
sed -i 's/^pm.max_spare_servers =.*/pm.max_spare_servers = 3/' /usr/local/etc/php-fpm.d/www.conf; \
|
||||||
|
sed -i 's|access.log = /proc/self/fd/2|access.log = /proc/self/fd/1|' /usr/local/etc/php-fpm.d/docker.conf
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
rm -rf /tmp/nextcloud-aio && \
|
rm -rf /tmp/nextcloud-aio && \
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ user=root
|
||||||
[program:php-fpm]
|
[program:php-fpm]
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
# stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
# stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
command=php-fpm
|
command=php-fpm
|
||||||
user=root
|
user=root
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue