This commit is contained in:
2026-05-18 13:57:31 +02:00
parent d02573112e
commit fd21326401
2 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
import snippets/*.caddy import snippets/*.caddy
(remote-ip) { (remote-ip) {
@internal remote_ip 10.10.10.0/24 172.16.0.0/12 127.0.0.1/8 192.168.100.0/24 @internal remote_ip 10.10.10.0/24 172.16.0.0/12 127.0.0.1/8 192.168.100.0/24
@external remote_ip 0.0.0.0/0 @external remote_ip 0.0.0.0/0
} }
(common-auth) { (common-auth) {
basicauth { basicauth {
@@ -49,7 +49,7 @@ pihole.home.{$DOMENESHOP_DNS} {
handle @internal { handle @internal {
redir / /admin redir / /admin
reverse_proxy 192.168.100.156:18080 reverse_proxy 192.168.100.156:18080
} }
handle { handle {
respond "Forbidden" 403 respond "Forbidden" 403
} }

View File

@@ -15,12 +15,12 @@ services:
networks: networks:
proxy_net: proxy_net:
ipv4_address: 172.19.0.254 ipv4_address: 172.19.0.254
proxy_swarm: # proxy_swarm:
networks: networks:
proxy_net: proxy_net:
external: true external: true
proxy_swarm: # proxy_swarm:
external: true # external: true
volumes: volumes:
caddy_data: caddy_data:
caddy_config: caddy_config: