nquest/Caddyfile

19 lines
No EOL
296 B
Caddyfile

{
debug
}
http:// {
handle_path /file/* {
root * /app/store
file_server
}
handle /api* {
reverse_proxy http://app:8000
}
handle {
root * /app/frontend/dist
file_server
try_files {path} /index.html
encode gzip zstd
}
}