diff options
| author | RATDAD <lambda@disroot.org> | 2025-12-17 19:53:38 -0500 |
|---|---|---|
| committer | RATDAD <lambda@disroot.org> | 2025-12-17 19:53:38 -0500 |
| commit | a50e5d21b0430a734929bc17017cc8c394b25524 (patch) | |
| tree | 8a61bac5b36ca8725f3fdf64d30073b081c7d643 /stacks/edge/Caddyfile.template | |
| download | rds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.tar.gz rds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.tar.bz2 rds-platform-a50e5d21b0430a734929bc17017cc8c394b25524.zip | |
Initial Commit
Diffstat (limited to 'stacks/edge/Caddyfile.template')
| -rw-r--r-- | stacks/edge/Caddyfile.template | 29 |
1 files changed, 29 insertions, 0 deletions
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} +} |
