sertifiseringfungerer

This commit is contained in:
2026-04-26 12:31:36 +02:00
parent ff7c79409a
commit a1d292a20c
2 changed files with 21 additions and 2 deletions

View File

@@ -26,6 +26,23 @@
}
respond @readonly 403
}
(dns-tls) {
tls {
dns domainnameshop {$DOMENESHOP_API_TOKEN} {$DOMENESHOP_API_SECRET}
propagation_delay 90s
}
}
test.home.{$DOMENESHOP_DNS} {
import dns-tls
@wg remote_ip 10.10.10.0/24 127.0.0.1/8
# handle @wg {
# respond "TLS fungerer"
# }
# handle {
# respond "Forbidden" 403
# }
respond "ok"
}
### TJENESTER ###
git.{$DOMENESHOP_DNS} {
import remote-ip
@@ -44,7 +61,7 @@ lms.home.{$DOMENESHOP_DNS} {
}
pihole.home.{$DOMENESHOP_DNS} {
tls internal
import dns-tls
import remote-ip
handle @internal {
redir / /admin