From 2f978e56838db6ed2c2a0212668d1b81de90cc54 Mon Sep 17 00:00:00 2001 From: blackerking <2019363+blackerking@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:52:32 +0100 Subject: [PATCH] Error Fix for latest version Fixes error with combination of nginx and starlette --- youtube-dl.subfolder.conf.sample | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube-dl.subfolder.conf.sample b/youtube-dl.subfolder.conf.sample index c7962fa..d353778 100644 --- a/youtube-dl.subfolder.conf.sample +++ b/youtube-dl.subfolder.conf.sample @@ -23,6 +23,7 @@ location ^~ /youtube-dl/ { proxy_redirect off; 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; }