From 6e6efc7d2994f9e39ad4060abe05e1ce25c721cc Mon Sep 17 00:00:00 2001 From: Darkham <6454197+Darkham42@users.noreply.github.com> Date: Wed, 27 Oct 2021 21:53:39 +0200 Subject: doc: add doc for AdGuard Home --- docs/customservices.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'docs') diff --git a/docs/customservices.md b/docs/customservices.md index 3b3320d..ab2b015 100644 --- a/docs/customservices.md +++ b/docs/customservices.md @@ -113,3 +113,24 @@ For Prometheus you need to set the type to Prometheus and provide a url. url: "http://192.168.0.151/" # subtitle: "Monitor data server" ``` + +## AdGuard Home +For AdGuard Home you need to set the type to AdGuard, if you have somes issues as 403 responses on requests you need to provide authentification in headers for locations needed as below. +In `config.yml` +```yaml +- name: "Adguard" + logo: "assets/tools/adguardhome.png" + url: "https://adguard.exemple.com" + target: "_blank" + type: "AdGuardHome" +``` +In your conf files for your AdGuard Home instance +``` +location /control/stats { + proxy_set_header Authorization "Basic [admin:password in Base64]"; +} + +location /control/status { + proxy_set_header Authorization "Basic [admin:password in Base64]"; +} +``` \ No newline at end of file -- cgit v1.2.3 From b2a41400540b5003431bd83f6859b74991f195c5 Mon Sep 17 00:00:00 2001 From: Darkham <6454197+Darkham42@users.noreply.github.com> Date: Thu, 7 Apr 2022 22:06:26 +0200 Subject: Improve with @bastienwirtz comments --- docs/customservices.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'docs') diff --git a/docs/customservices.md b/docs/customservices.md index ab2b015..3fbd695 100644 --- a/docs/customservices.md +++ b/docs/customservices.md @@ -116,7 +116,7 @@ For Prometheus you need to set the type to Prometheus and provide a url. ## AdGuard Home For AdGuard Home you need to set the type to AdGuard, if you have somes issues as 403 responses on requests you need to provide authentification in headers for locations needed as below. -In `config.yml` + ```yaml - name: "Adguard" logo: "assets/tools/adguardhome.png" @@ -124,13 +124,3 @@ In `config.yml` target: "_blank" type: "AdGuardHome" ``` -In your conf files for your AdGuard Home instance -``` -location /control/stats { - proxy_set_header Authorization "Basic [admin:password in Base64]"; -} - -location /control/status { - proxy_set_header Authorization "Basic [admin:password in Base64]"; -} -``` \ No newline at end of file -- cgit v1.2.3