I seem to be having an issue with my Banana Pi since I started using nginx. Basically everything works fine when I try to go to IP/service name but whenever I try to go to IP : port Maraschino, SickRage, and Headphones all fail while Couchpotato, Transmission, and SABnzbd+ work. Sickrage is the only one that actually gives me any error
The rest just simply give me a blank page (Not even a 404). I've actually had this problem since I started using nginx about a year ago but I didn't much care until SickRage moved over to using nzbToMedia instead of autoProcessTV. I can't get that to work and I'm pretty sure the reason is because it can't get to the SickRage interface. autoProcessTV on the other hand always worked flawlessly.
Here's my /etc/nginx/sites-available/reverse
In what is possibly another error Mylar absolutely refuses to work with nginx. If I go to IP:8005 it works but attempting to go to IP/mylar doesn't. I'm sure that used to work before but when I was writing this up, I noticed it isn't working now. Instead I get this error
Does anyone have an idea what I could try to fix things?
Code:
Traceback (most recent call last):
File "/opt/sickrage/tornado/web.py", line 1390, in _execute
File "/opt/sickrage/tornado/web.py", line 2103, in prepare
HTTPError: HTTP 404: Not Found
The rest just simply give me a blank page (Not even a 404). I've actually had this problem since I started using nginx about a year ago but I didn't much care until SickRage moved over to using nzbToMedia instead of autoProcessTV. I can't get that to work and I'm pretty sure the reason is because it can't get to the SickRage interface. autoProcessTV on the other hand always worked flawlessly.
Here's my /etc/nginx/sites-available/reverse
Code:
server {
listen 80;
server_name <REDACTED>.chickenkiller.com, 192.168.2.6;
location /maraschino {
proxy_pass http://127.0.0.1:8000;
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 /sickrage {
proxy_pass http://127.0.0.1:8002;
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 /couchpotato {
proxy_pass http://127.0.0.1:8003;
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 /headphones {
proxy_pass http://127.0.0.1:8004;
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 /mylar {
proxy_pass http://127.0.0.1:8005;
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 /transmission {
proxy_pass http://127.0.0.1:8011;
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 /sabnzbd {
proxy_pass http://127.0.0.1:8012;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
In what is possibly another error Mylar absolutely refuses to work with nginx. If I go to IP:8005 it works but attempting to go to IP/mylar doesn't. I'm sure that used to work before but when I was writing this up, I noticed it isn't working now. Instead I get this error
Code:
404 Not Found
The path '/mylar' was not found.
Traceback (most recent call last):
File "/opt/Mylar/cherrypy/_cprequest.py", line 645, in respond
response.body = self.handler()
File "/opt/Mylar/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/opt/Mylar/cherrypy/_cperror.py", line 387, in __call__
raise self
NotFound: (404, u"The path '/mylar' was not found.")
Powered by [url=http://www.cherrypy.org]CherryPy 3.2.0[/url]
Does anyone have an idea what I could try to fix things?