chore: dedicated Caddyfiles based on AIO container launch strategies

Determine the Caddy config file based on the `ENABLE_SUBPATH_BASED_ACCESS` environment variable.
This commit is contained in:
jamesgeorge007
2023-11-03 13:25:36 +05:30
parent aebcbac979
commit 79a9285f93
5 changed files with 52 additions and 49 deletions

View File

@@ -0,0 +1,15 @@
:3000 {
try_files {path} /
root * /site/selfhost-web
file_server
}
:3100 {
try_files {path} /
root * /site/sh-admin
file_server
}
:8080 {
respond 404
}