File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 7575 --conf-path=/etc/nginx/nginx.conf \
7676 --pid-path=/var/run/nginx/nginx.pid \
7777 --lock-path=/var/run/nginx/nginx.lock \
78- --error-log-path=/config/log/nginx/ error.log \
79- --http-log-path=/config/log/nginx/ access.log \
78+ --error-log-path=/config/log/error.log \
79+ --http-log-path=/config/log/access.log \
8080 \
8181 --http-client-body-temp-path=/var/tmp/nginx/client_body \
8282 --http-proxy-temp-path=/var/tmp/nginx/proxy \
Original file line number Diff line number Diff line change 99
1010# Make sure mandatory directories exist.
1111mkdir -p \
12- /config/log/nginx \
12+ /config/log \
1313 /config/letsencrypt/archive \
1414 /config/letsencrypt-acme-challenge \
1515 /config/custom_ssl \
@@ -25,11 +25,6 @@ mkdir -p \
2525 /config/log/letsencrypt \
2626 /config/letsencrypt-workdir \
2727
28- # Create nginx log files.
29- touch /config/log/nginx/error.log
30- touch /config/log/nginx/default.log
31- touch /config/log/nginx/manager.log
32-
3328# Make sure to remove old logs directory symlink.
3429[ ! -L /config/logs ] || rm /config/logs
3530
Original file line number Diff line number Diff line change 1- /config/log/nginx/ *.log {
1+ /config/log/*.log {
22 daily
33 compress
44 rotate 14
You can’t perform that action at this time.
0 commit comments