mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-02-05 03:13:27 +08:00
adguard: bypass auth for api calls
This commit is contained in:
parent
0e8efae275
commit
34b1bd7bcd
@ -36,4 +36,14 @@ server {
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
|
||||
location /control {
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app adguard;
|
||||
set $upstream_port 80;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user