Skip to content

Commit

Permalink
On SSL certificate update, reload (rather than restart) Nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
struanb committed Mar 16, 2023
1 parent e0a2381 commit 5d32f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dehydrated/bin/hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ deploy_cert() {
chmod 755 $DATA_DIR/certs
chmod 644 $DATA_DIR/certs/fullchain.pem
chmod 600 $DATA_DIR/certs/privkey.pem
/usr/bin/s6-svc -t /etc/service/nginx
/usr/bin/s6-svc -h /etc/service/nginx
}

unchanged_cert() {
Expand Down

0 comments on commit 5d32f0d

Please sign in to comment.