18 lines
No EOL
362 B
Caddyfile
18 lines
No EOL
362 B
Caddyfile
http:// {
|
|
header /* {
|
|
Cache-Control: no-cache, no-store, must-revalidate
|
|
}
|
|
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
|
|
}
|
|
} |