Files
recipe-app/flutter/Caddyfile
T

17 lines
363 B
Caddyfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:{$PORT:5000} {
root * /usr/share/caddy
# Proxy API calls to backend service on the internal Docker network.
handle /api/* {
reverse_proxy recipe-api:8080
}
# SPA-routing returnera alltid index.html för okända paths
handle {
try_files {path} /index.html
file_server
}
encode gzip
}