From 5ecd12c18b521f01ef5bf2bb90f90658d3d5d0d4 Mon Sep 17 00:00:00 2001 From: Nik Afiq Date: Wed, 14 Jan 2026 12:34:50 +0900 Subject: [PATCH] Add JDownloader2 and JDownloader-Bridge configurations with proxy settings --- nik4nao.home.arpa.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/nik4nao.home.arpa.conf b/nik4nao.home.arpa.conf index 5174f18..00de8d1 100644 --- a/nik4nao.home.arpa.conf +++ b/nik4nao.home.arpa.conf @@ -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; + } }