Error Fix for latest version

Fixes error with combination of nginx and starlette
This commit is contained in:
blackerking 2021-02-09 19:52:32 +01:00 committed by GitHub
parent 7bc28020f9
commit 2f978e5683
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }