mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-28 09:40:47 +08:00
Print apache errors in the future to stderr
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
38f9cb2046
commit
94a508d8aa
2 changed files with 4 additions and 4 deletions
|
@ -3,8 +3,8 @@ Listen 8000
|
|||
ServerName localhost
|
||||
|
||||
# Add error log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog /proc/self/fd/1 combined
|
||||
ErrorLog /proc/self/fd/2
|
||||
|
||||
# PHP match
|
||||
<FilesMatch "\.php$">
|
||||
|
|
|
@ -9,8 +9,8 @@ logfile_backups=10
|
|||
loglevel=error
|
||||
|
||||
[program:apache]
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
# stdout_logfile=/dev/stdout
|
||||
# stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
command=apachectl -DFOREGROUND
|
||||
|
|
Loading…
Reference in a new issue