Skip to content

Instantly share code, notes, and snippets.

View Siphonay's full-sized avatar

Siph Siphonay

View GitHub Profile
@justinhartman
justinhartman / 01_nginx-reload-post-hook.sh
Last active June 29, 2024 17:27
Let's Encrypt Certbot post hook command for Nginx which checks the updated configuration files and reloads the server if everything validates.
#!/usr/bin/env bash
#
# Certbot Nginx Reload
#
# Let's Encrypt Certbot post hook command for Nginx which checks the updated
# configuration files and reloads the server if everything validates.
#
# Author : Justin Hartman <code@justinhartman.co>
# Version : 1.0.1
# License : MIT <https://opensource.org/licenses/MIT>