nquest/Caddyfile

18 lines
362 B
Text
Raw Normal View History

2024-05-05 22:26:52 +03:00
http:// {
header /* {
Cache-Control: no-cache, no-store, must-revalidate
}
2024-05-05 22:26:52 +03:00
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
}
}