Closed angrycuban13 closed 5 years ago
The following block will allow you to bypass Org auth for use with nzb360
Credits to: HalianElf
location ^~ /qbt/api { auth_request off; #resolver 127.0.0.11 valid=30s; set $upstream_qbt 192.168.1.4; rewrite /qbt(.*) $1 break; proxy_pass http://$upstream_qbt:38086; } location ^~ /qbt/command { auth_request off; #resolver 127.0.0.11 valid=30s; set $upstream_qbt 127.0.0.1; rewrite /qbt(.*) $1 break; proxy_pass http://$upstream_qbt:8080; } location ^~ /qbt/query { auth_request off; #resolver 127.0.0.11 valid=30s; set $upstream_qbt 127.0.0.1; rewrite /qbt(.*) $1 break; proxy_pass http://$upstream_qbt:8080; } location ^~ /qbt/login { auth_request off; #resolver 127.0.0.11 valid=30s; set $upstream_qbt 127.0.0.1; rewrite /qbt(.*) $1 break; proxy_pass http://$upstream_qbt:8080; } location ^~ /qbt/sync { auth_request off; #resolver 127.0.0.11 valid=30s; set $upstream_qbt 127.0.0.1; rewrite /qbt(.*) $1 break; proxy_pass http://$upstream_qbt:8080; }
Make a pull request and I’ll merge to master
I can do that
Pull request created. If I somehow fucked it up Halian will submit a correct PR lol
The following block will allow you to bypass Org auth for use with nzb360
Credits to: HalianElf