Skip to content

Commit f435e49

Browse files
committed
patch for loading renewed ssl certificat in nginx memory #15
1 parent 7945c19 commit f435e49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx/manager.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ else
1717
envsubst '${DOMAIN}' < /etc/nginx/nginx.prod.conf > /etc/nginx/conf.d/default.conf
1818
fi
1919

20-
21-
inotifywait -m -e close_write /etc/nginx/ |
20+
# Monitor /etc/nginx/ and /etc/letsencrypt/ for configuration or SSL changes
21+
inotifywait -m -e close_write /etc/nginx/ /etc/letsencrypt/ |
2222
while read path action file; do
2323
echo "Changes in nginx configuration detected, reloading nginx!"
2424
nginx -s reload

0 commit comments

Comments
 (0)