Assuming:
- Nginx is already installed and working (http://wiki.codemongers.com/NginxGettingStarted)
- You have a basic unix skills and understanding of nginx configuration files
- SABnzbd+ bound to 127.0.0.1 on port 9005
Code: Select all
location /sabnzbd {
satisfy_any on;
allow 192.168.0.0/24;
deny all;
auth_basic "SABnzbd+ Authentication Required";
auth_basic_user_file /opt/sabnzbdplus/access_list;
proxy_pass http://127.0.0.1:9005/sabnzbd;
}
Create password file:
Code: Select all
htpasswd -c /opt/sabnzbdplus/access_list username