mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-07 13:31:32 -07:00
Merge pull request #287 from blackerking/patch-1
Error Fix for latest version of youtube-dl
This commit is contained in:
commit
8a58f8cc09
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ location ^~ /youtube-dl/ {
|
||||||
|
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header Referer '';
|
proxy_set_header Referer '';
|
||||||
proxy_set_header Host $upstream_app:8080;
|
# next line doesn't work with the latest version of: https://github.com/nbr23/youtube-dl-server
|
||||||
|
# proxy_set_header Host $upstream_app:8080;
|
||||||
rewrite /youtube-dl(.*) $1 break;
|
rewrite /youtube-dl(.*) $1 break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue