Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1.0. Open NGINX config file (the one responsible for projects.peercoin.net)
- 1.1. Add this block as the first "location" block:
- ```
- location ~ /.well-known {
- root /var/www/pc-showcase/;
- allow all;
- }
- ```
- 1.2. Restart NGINX
- -----
- 2.0. Run the command (update the first part with your letsencrypt path):
- ```
- sudo ~/letsencrypt/letsencrypt-auto certonly -a webroot --agree-tos --renew-by-default --webroot-path=/var/www/pc-showcase -d peercoin.net -d www.peercoin.net -d talk.peercoin.net -d projects.peercoin.net
- ```
- 2.1 Copy the cert key path and paste to NGINX config
- 2.2 Restart NGINX
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement