With the amount of friends and family coming through the house, some of asked to be able to add TV shows to SickRage. I’ve found it annoying to explain the URL to go to, then the password for basic authentication to get to Sab or SickRage.
After some brief googling, I found this site: https://www.digitalocean.com/community/questions/remove-htpasswd-password-protection-nginx
Although it didn’t address my desire exactly, it pointed me in the right direction.
- SSH into openflixr
- change directory into the nginx web dir
cd /etc/nginx/sites-enabled/
- edit the reverse file with your choice of text editor
sudo nano reverse
- put in your pw
hunter2
- scroll down to the sub directory you’d like the password removed from
location /sabnzbd { proxy_pass http://127.0.0.1:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }
- add a new line and add in “auth_basic off;”
location /sabnzbd { auth_basic off; proxy_pass http://127.0.0.1:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }
- Restart nginx
sudo service nginx restart
- Reload your page, now without a password prompt!