Splits access and error logs for each host

This commit is contained in:
chaptergy
2021-05-30 20:14:35 +02:00
parent d16bf7d6c0
commit deca493912
7 changed files with 14 additions and 11 deletions

View File

@ -8,7 +8,7 @@ server {
set $port "80";
server_name localhost-nginx-proxy-manager;
access_log /data/logs/default.log standard;
access_log /data/logs/fallback-access.log standard;
error_log /dev/null crit;
include conf.d/include/assets.conf;
include conf.d/include/block-exploits.conf;
@ -29,7 +29,7 @@ server {
set $port "443";
server_name localhost;
access_log /data/logs/default.log standard;
access_log /data/logs/fallback-access.log standard;
error_log /dev/null crit;
ssl_certificate /data/nginx/dummycert.pem;
ssl_certificate_key /data/nginx/dummykey.pem;