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