Issue adding links from NZB Hydra to NZBGet with internal search
When adding from an internal search in NZBHydra or using NZB360, the following URL often gets "stuck" in NZBGet as:
http://my.domain.com:5075/nzbhydra/getnzb?apikey=########&searchresultid=######&downloader=NZBGet
However, if I manually copy and change the URL by making it "https://" and deleteing the ":5075" like so:
https://my.domain.com/nzbhydra/getnzb?apikey=########&searchresultid=######&downloader=NZBGet
the URL then works.
I am using NGINX as a reverse proxy. Here are my settings in NZB Hydra:
Host: 0.0.0.0
Port: 5075
URL base: /nzbhydra
External URL: https://my.domain.com/nzbhydra/
Use local address in API results: On
Use SSL: Off
NGINX settings:
location /nzbhydra {
proxy_pass http://192.168.1.2:5075;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
Any ideas?
Posted Sep 4, 2016, 1:53 AM UTC
52
When i was using Nginx i setup NZBHydra's location like so:
I used these headers in my server block:
I had other apps that required similar headers so just included them within the server block since they would be inherited below within the locations. Not all are needed for each app but saves having redundant code for each location block and shouldn't interfere with other apps that don't require them to work.
I think I just forgot the "/nzbhydra" on this line in nginx. Thanks!
Edit: Nevermind, still having the issue when adding from NZB 360