First draft of using Caddy as the reverse proxy

This commit is contained in:
2024-09-18 11:58:12 +02:00
parent 5ce1ddec1a
commit 203e51c576
2 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# https://caddyserver.com/docs/metrics
:9000 {
metrics
}
subdomain.domain.tld {
reverse_proxy ${local_ip}:${port}
# https://caddyserver.com/docs/caddyfile/directives/basic_auth
basic_auth {
Username hashed_password
}
log
}