9 lines
233 B
Caddyfile
9 lines
233 B
Caddyfile
|
|
# Caddy serves the SPA on :8080. Coolify's reverse proxy handles TLS + the
|
||
|
|
# public FQDN; this container just serves static files with SPA fallback.
|
||
|
|
:8080 {
|
||
|
|
root * /srv
|
||
|
|
encode gzip zstd
|
||
|
|
try_files {path} /index.html
|
||
|
|
file_server
|
||
|
|
}
|