This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
computing:apachesurvival [2021/10/30 02:14] – oemb1905 | computing:apachesurvival [2021/10/31 05:06] – oemb1905 | ||
---|---|---|---|
Line 195: | Line 195: | ||
sudo apt install certbot letsencrypt python3-certbot-apache | sudo apt install certbot letsencrypt python3-certbot-apache | ||
sudo certbot --authenticator standalone --installer apache -d site1.com --pre-hook " | sudo certbot --authenticator standalone --installer apache -d site1.com --pre-hook " | ||
+ | | ||
+ | This certbot command can be adjusted for nginx instances too: | ||
+ | |||
+ | sudo certbot --authenticator standalone --installer nginx -d site1.com --pre-hook " | ||
Run the second command again, but adjust it for site2.com. | Run the second command again, but adjust it for site2.com. |