I am trying to setup nginx and Letsencrypt on an Ubuntu VM runnning on my Windows 10 desktop. I am following this guide: http://tinyurl.com/y7zxg4jb
I got it to give me certs for all my subdomains but the guide is for subfolders, not subdomains. So how do I alter these sections for my subdomain sites:
I got it to give me certs for all my subdomains but the guide is for subfolders, not subdomains. So how do I alter these sections for my subdomain sites:
Code:
# NZBGet
# location /nzbget {
# proxy_pass http://127.0.0.1:6789;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# }
#
# Sonarr
# location /sonarr {
# proxy_pass http://127.0.0.1:8989;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# }