mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
Error Fix for latest version
Fixes error with combination of nginx and starlette
This commit is contained in:
parent
7bc28020f9
commit
2f978e5683
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