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:
2020-06-06 20:38:08 +03:00
parent 0587841476
commit 9abfe80245
3 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
/bin/systemctl start nginx

View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
/bin/systemctl stop nginx