First draft of using Caddy as the reverse proxy
This commit is contained in:
13
caddy-docker-proxy/Caddyfile
Normal file
13
caddy-docker-proxy/Caddyfile
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user