Docker: increase nginx and php-fpm logging

Log toward stdout/stderr which is accessible via
`docker-compose logs <service>`.

Examples:

- `docker-compose logs nginx`
- `docker-compose logs php-fpm`

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-06-29 10:29:24 -07:00
parent af96be7d09
commit 3bacfe6cd9
2 changed files with 7 additions and 2 deletions

View file

@ -18,8 +18,8 @@ http {
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
access_log /dev/stdout;
error_log /dev/stderr;
gzip on;