roles/nginx: Add pre and post hooks for Let's Encrypt on Ubuntu 20.04
Certbot will run any executables in the pre and post directories during certificate renewal.
This commit is contained in:
3
roles/nginx/files/start-nginx.sh
Executable file
3
roles/nginx/files/start-nginx.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
/bin/systemctl start nginx
|
3
roles/nginx/files/stop-nginx.sh
Executable file
3
roles/nginx/files/stop-nginx.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
/bin/systemctl stop nginx
|
Reference in New Issue
Block a user