rework
This commit is contained in:
parent
7e871997ea
commit
11c2440ebd
|
@ -11,8 +11,7 @@ RUN luarocks install lua-resty-http && \
|
|||
COPY mo ./
|
||||
COPY conf.d /etc/nginx/conf.d
|
||||
COPY conf.d.templates /etc/nginx/conf.d.templates
|
||||
|
||||
COPY ./logrotate /etc/logrotate.d/nginx
|
||||
COPY logrotate /etc/logrotate.d/nginx
|
||||
|
||||
CMD [ "bash", "-c", \
|
||||
"./mo < /etc/nginx/conf.d.templates/server.account.conf > /etc/nginx/conf.d/server.account.conf ; \
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
missingok
|
||||
notifempty
|
||||
nocompress
|
||||
create 640 root root
|
||||
create 644 root root
|
||||
sharedscripts
|
||||
postrotate
|
||||
openresty -s reopen
|
||||
/usr/local/openresty/bin/openresty -s reopen
|
||||
endscript
|
||||
}
|
Reference in New Issue