Update youtube-dl.subfolder.conf

changed the freespace between lines
This commit is contained in:
blackerking 2020-06-23 21:08:47 +02:00 committed by GitHub
parent 26bb5cfd1f
commit 0544a8b7f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@
location /youtube-dl { location /youtube-dl {
return 301 $scheme://$host/youtube-dl/; return 301 $scheme://$host/youtube-dl/;
} }
location ^~ /youtube-dl/ { location ^~ /youtube-dl/ {
# enable the next two lines for http auth # enable the next two lines for http auth
#auth_basic "Restricted"; #auth_basic "Restricted";
@ -18,10 +19,10 @@ location ^~ /youtube-dl/ {
set $upstream_port 8080; set $upstream_port 8080;
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; 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; proxy_set_header Host $upstream_app:8080;
} }