Skip to content

Commit

Permalink
Removed certbot random sleep delay on forced renewal.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesage committed Aug 4, 2021
1 parent d1b41a9 commit 32247fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ RUN \
sed-patch 's|root root|app app|' /etc/logrotate.d/nginx-proxy-manager && \
sed-patch 's|/run/nginx.pid|/run/nginx/nginx.pid|' /etc/logrotate.d/nginx-proxy-manager && \
sed-patch 's|logrotate /etc/logrotate.d/nginx-proxy-manager|logrotate -s /config/logrotate.status /etc/logrotate.d/nginx-proxy-manager|' /opt/nginx-proxy-manager/setup.js && \
# ln -s /config/logrotate.status /var/lib/logrotate.status && \

# Disable random sleep delay of certbot when forced renewal.
sed-patch 's|renew --force-renewal|renew --force-renewal --no-random-sleep-on-renew|' /opt/nginx-proxy-manager/internal/certificate.js && \

# Redirect `/data' to '/config'.
ln -s /config /data && \
Expand Down

0 comments on commit 32247fa

Please sign in to comment.