From 585abb4cb47976a9b95e3d480a5bb52bd49e820d Mon Sep 17 00:00:00 2001 From: ahmaddxb <43728586+ahmaddxb@users.noreply.github.com> Date: Wed, 26 Oct 2022 10:20:14 +0400 Subject: [PATCH] Fix for NBZGet bypass for use with NZB360 Use https://www.base64encode.org/ to encode an nzbget_key in the form of user:password, the same one you use to log into nbzget Then in NBZ360 use the url https://user:password@nzbget.mydomain.com as your primary connection address. This should now bypass auth. This could also be done for qbittorrent or other apps that don't support api natively. --- docker-compose-t2.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker-compose-t2.yml b/docker-compose-t2.yml index 8d1e1f9..c2b66df 100755 --- a/docker-compose-t2.yml +++ b/docker-compose-t2.yml @@ -650,8 +650,7 @@ services: ## HTTP Routers Auth Bypass - "traefik.http.routers.nzbget-rtr-bypass.entrypoints=https" # BYPASS IS NOT WORKING YET. NEED TO FIGURE THIS OUT. - - "traefik.http.routers.nzbget-rtr-bypass.rule=Host(`nzbget.$DOMAINNAME_CLOUD_SERVER`)" - #- "traefik.http.routers.nzbget-rtr-bypass.rule=Host(`nzbget.$DOMAINNAME_CLOUD_SERVER`) && Query(`apikey`, `$NZBGET_API_KEY`)" + - "traefik.http.routers.nzbget-rtr-bypass.rule=Host(`nzbget.$DOMAINNAME_CLOUD_SERVER`) && (Headers(`authorization`, `Basic $NZBGET_KEY`))" - "traefik.http.routers.nzbget-rtr-bypass.priority=100" ## HTTP Routers Auth - "traefik.http.routers.nzbget-rtr.entrypoints=https"