[Solved]
Sep 06, 2018, 03:45 PM
(This post was last modified: Sep 06, 2018, 03:47 PM by mikeparkie.
Edit Reason: typos
)
Ok so I've followed these excellent guides for setting up nginx with sab/sonarr/radarr/nzbhydra and have it mostly working locally.
But the issue I'm having is with my DDNS service.
Example I'm current working with is Sonarr. So I have Sonarr running on my PC, I'm accessing Sonarr from my PC. address is http://192.168.1.2/sonarr works great. Now if I try to access via DDNS using myhostname.asuscomm.com/sonarr I get the following error: This site can’t be reached myhostname.asuscomm.com refused to connect. I also tried a second DDNS provider: myhostname.duckdns.org/sonarr and I get the same error.
Before anyone says anything, SSL is next on my list
Here's my config
Thanks in advance for the assistance!
But the issue I'm having is with my DDNS service.
Example I'm current working with is Sonarr. So I have Sonarr running on my PC, I'm accessing Sonarr from my PC. address is http://192.168.1.2/sonarr works great. Now if I try to access via DDNS using myhostname.asuscomm.com/sonarr I get the following error: This site can’t be reached myhostname.asuscomm.com refused to connect. I also tried a second DDNS provider: myhostname.duckdns.org/sonarr and I get the same error.
Before anyone says anything, SSL is next on my list
Here's my config
Code:
server {
listen 80;
server_name myhostname.duckdns.org 127.0.0.1;
#charset koi8-r;
#access_log logs/host.access.log main;
location /sabnzbd {
proxy_pass http://127.0.0.1:38081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /sonarr {
proxy_pass http://127.0.0.1:38082;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /radarr {
proxy_pass http://127.0.0.1:38083;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /nzbhydra {
proxy_pass http://127.0.0.1:38084;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header Scheme $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_redirect off;
}