Add JDownloader2 and JDownloader-Bridge configurations with proxy settings

This commit is contained in:
Nik Afiq 2026-01-14 12:34:50 +09:00
parent 81f7b74b1f
commit 5ecd12c18b

View File

@ -101,4 +101,28 @@ server {
proxy_redirect / /qbt/;
}
# ---- JDownloader2 at /jd2/ ----
location = /jd2 { return 302 /jd2/; }
location /jd2/ {
proxy_pass http://127.0.0.1:5800/;
include snippets/proxy-common.conf;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Prefix /jd2;
}
# ---- JDownloader-Bridge at /jd-bridge/ ----
location = /jd-bridge { return 302 /jd-bridge/; }
location /jd-bridge/ {
proxy_pass http://127.0.0.1:8088/;
include snippets/proxy-common.conf;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Prefix /jd-bridge;
}
}