mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-07 05:21:31 -07:00
Update youtube-dl.subfolder.conf
changed the freespace between lines
This commit is contained in:
parent
26bb5cfd1f
commit
0544a8b7f4
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue