Update to start without working upstream

This commit is contained in:
2024-01-01 19:34:01 +00:00
parent 7af75ad55d
commit 40f9459826
5 changed files with 15 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ COPY server_common.conf /etc/nginx/server_common.conf
COPY --from=builder /nginx.conf /etc/nginx/nginx.conf
COPY domains.txt /domains.txt
RUN echo "(sleep 30 && killall nginx) &" > /entrypoint && \
RUN echo "(sleep 60 && killall nginx) &" > /entrypoint && \
echo "cp /domains.txt /ssl/domains.txt" >> /entrypoint && \
echo "nginx -g 'daemon off;'" >> /entrypoint && \
echo "nginx" >> /entrypoint