feat: migrate runtime backend to node server
This commit is contained in:
21
tools/Caddyfile.dev
Normal file
21
tools/Caddyfile.dev
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
auto_https off
|
||||
}
|
||||
|
||||
:8080 {
|
||||
root * {$CADDY_SITE_ROOT}
|
||||
|
||||
handle /api/* {
|
||||
reverse_proxy {$CADDY_API_UPSTREAM}
|
||||
}
|
||||
|
||||
handle /healthz {
|
||||
respond "ok" 200
|
||||
}
|
||||
|
||||
handle {
|
||||
encode gzip zstd
|
||||
try_files {path} /index.html
|
||||
file_server
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user