Skip to content

Commit

Permalink
adguard: bypass auth for api calls
Browse files Browse the repository at this point in the history
  • Loading branch information
aptalca committed Jun 20, 2020
1 parent 0e8efae commit 34b1bd7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions adguard.subdomain.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
}

0 comments on commit 34b1bd7

Please sign in to comment.