Add Caddyfile to serve Flutter web build output with SPA routing support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
123 B
Caddyfile
8 lines
123 B
Caddyfile
:8080 {
|
|
root * /app/public
|
|
file_server
|
|
encode gzip
|
|
|
|
# Handle SPA routing
|
|
try_files {path} /index.html
|
|
} |