dlink
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user