mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-26 18:19:05 +00:00
Updated ssl server setup (markdown)
parent
0361cb65e2
commit
e2010d6f2c
@ -27,7 +27,11 @@ next, let's install `certbot`. we will use this to obtain ssl certificates from
|
|||||||
* `sudo chgrp www-data /etc/letsencrypt/live`
|
* `sudo chgrp www-data /etc/letsencrypt/live`
|
||||||
* `sudo chmod 750 /etc/letsencrypt/live`
|
* `sudo chmod 750 /etc/letsencrypt/live`
|
||||||
|
|
||||||
**note3**: letsencrypt will email you when your cert is about to expire. when that happens, forward port 443 and 80 to your host again, and run `sudo letsencrypt renew`. don't forget to shut down the forwarded port after renewal finishes!
|
**note3**: letsencrypt will email you when your cert is about to expire. when that happens:
|
||||||
|
1. shut down `ngnix` if it's still running
|
||||||
|
2. forward port `443` and `80` to your host again
|
||||||
|
3. run `sudo letsencrypt renew`
|
||||||
|
4. shut down the forwarded ports!
|
||||||
|
|
||||||
# configure nginx
|
# configure nginx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user