config adguard

This commit is contained in:
mathieu 2024-07-03 16:58:27 +02:00
parent ebce3a6a2a
commit 9be4f95762
4 changed files with 21 additions and 15 deletions

View File

@ -10,7 +10,6 @@ services:
- 853:853/tcp - 853:853/tcp
- 3999:3000/tcp - 3999:3000/tcp
- 8089:80/tcp - 8089:80/tcp
volumes: volumes:
- adguardhome-workdir:/opt/adguardhome/work - adguardhome-workdir:/opt/adguardhome/work
- adguardhome-confdir:/opt/adguardhome/conf - adguardhome-confdir:/opt/adguardhome/conf

View File

@ -13,6 +13,7 @@ services:
# The HTTP port # The HTTP port
- "1080:80" - "1080:80"
- "1443:443" - "1443:443"
- "853:853"
# The Web UI (enabled by --api.insecure=true) # The Web UI (enabled by --api.insecure=true)
- "8088:8080" - "8088:8080"
volumes: volumes:

View File

@ -82,9 +82,16 @@ http:
tls: tls:
certResolver: myresolver certResolver: myresolver
router-adguardhome: router-adguardhome:
rule: "Host(`adguardhome.huguette.ovh`)" rule: "Host(`dns.huguette.ovh`)"
service: "service-adguardhome" service: "service-adguardhome"
tls: tls:
entrypoints: websecure
certResolver: myresolver
router-adguardhome=tls:
rule: "HostSNI(`dns.huguette.ovh`)"
service: "service-adguardhome=tls"
tls:
entrypoints: dot
certResolver: myresolver certResolver: myresolver
services: services:
@ -163,6 +170,11 @@ http:
passHostHeader: true passHostHeader: true
servers: servers:
- url: "http://192.168.1.100:8089" - url: "http://192.168.1.100:8089"
service-adguardhome-tls:
loadBalancer:
passHostHeader: true
servers:
- url: "http://192.168.1.100:53"
middlewares: middlewares:
replacepathregex-nas: replacepathregex-nas:

View File

@ -2,23 +2,17 @@
entryPoints: entryPoints:
web: web:
address: ":80" address: ":80"
#asDefault: truxe http:
redirections:
# websecure: entryPoint:
# address: ":443" to: websecure
# http: scheme: https
# redirections:
# entryPoint:
# to: websecure
# scheme: https
# permanent: true
websecure: websecure:
address: ":443" address: ":443"
# http:
# tls:
# certresolver: myresolver
dot:
address: ":853"
certificatesResolvers: certificatesResolvers:
myresolver: myresolver: