From a50e5d21b0430a734929bc17017cc8c394b25524 Mon Sep 17 00:00:00 2001 From: RATDAD Date: Wed, 17 Dec 2025 19:53:38 -0500 Subject: Initial Commit --- stacks/edge/Caddyfile.template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 stacks/edge/Caddyfile.template (limited to 'stacks/edge/Caddyfile.template') diff --git a/stacks/edge/Caddyfile.template b/stacks/edge/Caddyfile.template new file mode 100644 index 0000000..23a6498 --- /dev/null +++ b/stacks/edge/Caddyfile.template @@ -0,0 +1,29 @@ +# { +# debug +# auto_https off +# } + +# NOTE: EDIT THIS FILE EXPLICITLY. DO NOT AUTOMATE. + +{$DOMAIN}:80 { + root * {$DOCUMENT_ROOT} + encode + try_files {path} index.html + file_server +} + +{$SERVICE0_SUB}.{$DOMAIN}:80 { + reverse_proxy {$SERVICE0}:{$SERVICE0_PORT} +} + +{$SERVICE1_SUB}.{$DOMAIN}:80 { + reverse_proxy {$SERVICE1}:{$SERVICE1_PORT} +} + +{$SERVICE2_SUB}.{$DOMAIN}:80 { + reverse_proxy {$SERVICE2}:{$SERVICE2_PORT} +} + +{$SERVICE3_SUB}.{$DOMAIN}:80 { + reverse_proxy {$SERVICE3}:{$SERVICE3_PORT} +} -- cgit v1.2.3-70-g09d2