Add JDownloader2 and JDownloader-Bridge configurations with proxy settings
This commit is contained in:
parent
81f7b74b1f
commit
5ecd12c18b
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user