mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-20 21:33:45 -07:00
remove dupe config that errors in nginx 1.20
This commit is contained in:
parent
47e0494f49
commit
c9ee2b7a26
8 changed files with 10 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2021/05/18
|
||||
## Version 2021/07/08
|
||||
# Works with this youtube-dl Fork: https://github.com/nbr23/youtube-dl-server
|
||||
|
||||
location /youtube-dl {
|
||||
|
@ -21,7 +21,6 @@ location ^~ /youtube-dl/ {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_redirect off;
|
||||
proxy_set_header Referer '';
|
||||
# next line doesn't work with the latest version of: https://github.com/nbr23/youtube-dl-server
|
||||
# proxy_set_header Host $upstream_app:8080;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue