Determine the Caddy config file based on the `ENABLE_SUBPATH_BASED_ACCESS` environment variable.
16 lines
161 B
Caddyfile
16 lines
161 B
Caddyfile
:3000 {
|
|
try_files {path} /
|
|
root * /site/selfhost-web
|
|
file_server
|
|
}
|
|
|
|
:3100 {
|
|
try_files {path} /
|
|
root * /site/sh-admin
|
|
file_server
|
|
}
|
|
|
|
:8080 {
|
|
respond 404
|
|
}
|