mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-14 12:26:21 +02:00
Update youtube-dl.subfolder.conf
changed the freespace between lines
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
location /youtube-dl {
|
||||
return 301 $scheme://$host/youtube-dl/;
|
||||
}
|
||||
|
||||
location ^~ /youtube-dl/ {
|
||||
# enable the next two lines for http auth
|
||||
#auth_basic "Restricted";
|
||||
@@ -18,10 +19,10 @@ location ^~ /youtube-dl/ {
|
||||
set $upstream_port 8080;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
proxy_redirect off;
|
||||
proxy_redirect off;
|
||||
|
||||
rewrite /youtube-dl(.*) $1 break;
|
||||
rewrite /youtube-dl(.*) $1 break;
|
||||
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Referer '';
|
||||
proxy_set_header Host $upstream_app:8080;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user