This commit is contained in:
Karol Wypchlo 2021-09-26 18:06:58 +02:00
parent 7e871997ea
commit 11c2440ebd
No known key found for this signature in database
GPG Key ID: C92C016317A964D0
2 changed files with 3 additions and 4 deletions

View File

@ -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 ; \

View File

@ -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
} }