nquest/Caddyfile

19 lines
296 B
Text
Raw Normal View History

2024-05-05 22:26:52 +03:00
{
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
}
}