mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-24 07:05:38 -07:00
Update youtube-dl-server.subdomain.conf.sample
fixed to work with the latest version - subfolder is now required
This commit is contained in:
parent
0b4c128f1e
commit
b9169ba5e6
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue