From b9169ba5e6f951a441d49577030318072306dac9 Mon Sep 17 00:00:00 2001 From: onvrb <23731360+onvrb@users.noreply.github.com> Date: Tue, 9 Nov 2021 12:16:36 +0000 Subject: [PATCH] Update youtube-dl-server.subdomain.conf.sample fixed to work with the latest version - subfolder is now required --- youtube-dl-server.subdomain.conf.sample | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/youtube-dl-server.subdomain.conf.sample b/youtube-dl-server.subdomain.conf.sample index db00028..6e1457e 100644 --- a/youtube-dl-server.subdomain.conf.sample +++ b/youtube-dl-server.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2021/11/09 # make sure that your dns has a cname set for youtube-dl-server and that your youtube-dl-server container is not using a base url server { @@ -18,6 +18,10 @@ server { #include /config/nginx/authelia-server.conf; location / { + return 301 $scheme://$host/youtube-dl; + } + + location ^~ /youtube-dl { # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd;