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 75
75
--conf-path=/etc/nginx/nginx.conf \
76
76
--pid-path=/var/run/nginx/nginx.pid \
77
77
--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 \
80
80
\
81
81
--http-client-body-temp-path=/var/tmp/nginx/client_body \
82
82
--http-proxy-temp-path=/var/tmp/nginx/proxy \
Original file line number Diff line number Diff line change 9
9
10
10
# Make sure mandatory directories exist.
11
11
mkdir -p \
12
- /config/log/nginx \
12
+ /config/log \
13
13
/config/letsencrypt/archive \
14
14
/config/letsencrypt-acme-challenge \
15
15
/config/custom_ssl \
@@ -25,11 +25,6 @@ mkdir -p \
25
25
/config/log/letsencrypt \
26
26
/config/letsencrypt-workdir \
27
27
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
-
33
28
# Make sure to remove old logs directory symlink.
34
29
[ ! -L /config/logs ] || rm /config/logs
35
30
Original file line number Diff line number Diff line change 1
- /config/log/nginx/ *.log {
1
+ /config/log/*.log {
2
2
daily
3
3
compress
4
4
rotate 14
You can’t perform that action at this time.
0 commit comments