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 December 25, 2024 05:56
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 <[email protected]>
# Version : 1.0.1
# License : MIT <https://opensource.org/licenses/MIT>