servers:linux:nginx:lets_encrypt
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| servers:linux:nginx:lets_encrypt [2025/12/19 22:27] – Sean Rhone | servers:linux:nginx:lets_encrypt [2025/12/31 23:33] (current) – Ubuntu -> oS TW Sean Rhone | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| - | * [[linux: | + | * [[linux: |
| * [[servers: | * [[servers: | ||
| Line 14: | Line 14: | ||
| **** | **** | ||
| - | sudo apt install ' | + | sudo zypper |
| ====== Settings ====== | ====== Settings ====== | ||
| - | sudo -e '/ | + | |
| < | < | ||
| Line 28: | Line 28: | ||
| agree-tos = true | agree-tos = true | ||
| - | ################################################## | + | ######################################## |
| email = espionage724@x | email = espionage724@x | ||
| - | ################################################## | + | ######################################## |
| no-eff-email = true | no-eff-email = true | ||
| Line 50: | Line 50: | ||
| * :!: If it passes the dry run, remove the dry-run argument and re-run | * :!: If it passes the dry run, remove the dry-run argument and re-run | ||
| - | |||
| - | sudo ufw allow 'Nginx HTTP' | ||
| sudo ' | sudo ' | ||
| sudo systemctl stop ' | sudo systemctl stop ' | ||
| - | |||
| - | sudo ufw deny 'Nginx HTTP' | ||
| ====== Automatic Cert Renewal ====== | ====== Automatic Cert Renewal ====== | ||
| - | |||
| - | ===== Disable Default ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo systemctl disable ' | ||
| ===== Service ===== | ===== Service ===== | ||
| Line 74: | Line 64: | ||
| [Service] | [Service] | ||
| Type=oneshot | Type=oneshot | ||
| + | |||
| + | WorkingDirectory=/ | ||
| ExecStart='/ | ExecStart='/ | ||
| Line 83: | Line 75: | ||
| ===== Timer ===== | ===== Timer ===== | ||
| - | * Weekly | + | * Weekly |
| sudo -e '/ | sudo -e '/ | ||
| Line 94: | Line 86: | ||
| [Timer] | [Timer] | ||
| - | OnCalendar=weekly | + | OnCalendar=Sun *-*-* 07:00:00 |
| Persistent=true | Persistent=true | ||
/usr/local/www/wiki/data/attic/servers/linux/nginx/lets_encrypt.1766201269.txt.gz · Last modified: by Sean Rhone
