2024-05-05 22:26:52 +03:00
|
|
|
http:// {
|
2024-05-09 15:58:19 +03:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|