about summary refs log tree commit diff
path: root/Caddyfile
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2025-10-06 18:02:52 +0200
committerRobert Günzler <r@gnzler.io>2025-10-23 15:37:32 +0200
commita3b036b2b78fb244a9280431c193f183ae7f292c (patch)
tree2eaecc43e03648c184677fd39a114ecb5d2a1246 /Caddyfile
parent3aa8ecd9ac930792ffbf683b3450cca9b49bd3e1 (diff)
downloadsite-a3b036b2b78fb244a9280431c193f183ae7f292c.tar.gz
allow changing caddy host via env var
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile
index 9a64dff..b2997b4 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -3,6 +3,7 @@
 	admin off
 	auto_https off
 	http_port {$CADDY_HTTP_PORT:1414}
+	default_bind {$CADDY_HOST:0.0.0.0}
 }
 
 http:// {