build-valuecurve/Caddyfile.local

18 lines
497 B
Text
Raw Permalink Normal View History

# Local Caddyfile for build.valuecurve.co testing
# Run with: caddy run --config Caddyfile.local
localhost:8080 {
root * "/Users/sarfaraz.mulla/01-context-lab/SkillBox-Learning/deeplearning.ai tutorials/build-valuecurve/dist"
# Proxy API calls to backend (mirrors production)
handle /api/* {
reverse_proxy localhost:8000
}
# Serve static files with SPA fallback
handle {
try_files {path} {path}/ {path}/index.html /index.html
file_server
}
}