Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
reverse_proxy_guide [2019/02/15 18:47] warmachine created |
reverse_proxy_guide [2019/03/28 18:26] (current) warmachine |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| =====Install Nginx====== | =====Install Nginx====== | ||
| - | sudo apt-get install nginx | + | < |
| =====Requesting your initial certificate from Let's Encrypt===== | =====Requesting your initial certificate from Let's Encrypt===== | ||
| Line 25: | Line 25: | ||
| - | Activate host1 with Symbolic Link | + | =====Activate host1 with Symbolic Link===== |
| < | < | ||
| service nginx restart</ | service nginx restart</ | ||
| - | Install Certbot | + | =====Install Certbot===== |
| < | < | ||
| Line 36: | Line 36: | ||
| ./ | ./ | ||
| - | Create the directory for the Acme Challange | + | =====Create the directory for the Acme Challenge===== |
| < | < | ||
| - | Issue the certificate | + | =====Issue the certificate===== |
| - | **(Make sure you are in the directory where you installed Certbot)** | + | <color #ed1c24>(Make sure you are in the directory where you installed Certbot)\\ |
| + | **(typically: | ||
| < | < | ||
| Line 50: | Line 51: | ||
| < | < | ||
| - | Configuring nginx to use your certificate | + | =====Configuring nginx to use your certificate===== |
| **(Please Modify sub.domain.com to your domain)** | **(Please Modify sub.domain.com to your domain)** | ||
| Line 56: | Line 57: | ||
| < | < | ||
| - | Add both the HTTPS redirect and the SSL pathes | + | =====Add both the HTTPS redirect and the SSL pathes===== |
| **(Replace Proxy Pass Address with the exact URL IP + Port used internally to reach the server via http)** | **(Replace Proxy Pass Address with the exact URL IP + Port used internally to reach the server via http)** | ||
| Line 91: | Line 92: | ||
| Continue as needed for however many hosts/ | Continue as needed for however many hosts/ | ||
| - | Set up autorenewal for Certificates: | + | =====Set up autorenewal for Certificates: |
| < | < | ||
| - | Add the following line | + | =====Add the following line===== |
| **(Replace folder with the location of your certbot-auto script)** | **(Replace folder with the location of your certbot-auto script)** | ||
| < | < | ||
Last modified: le 2019/02/15 18:47
