2024-09-09 08:03:35 +00:00
|
|
|
{
|
2024-09-09 08:24:43 +00:00
|
|
|
email soporte@rodax-software.com
|
2024-09-09 08:34:28 +00:00
|
|
|
auto_https disable_redirects
|
2024-09-09 08:03:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2024-09-09 08:33:49 +00:00
|
|
|
https://presupuestos.uecko.com:13001 {
|
2024-09-09 08:24:43 +00:00
|
|
|
reverse_proxy backend:3001
|
2024-09-16 11:19:53 +00:00
|
|
|
encode gzip # Comprime las respuestas con gzip
|
|
|
|
|
}
|
2024-09-09 07:40:39 +00:00
|
|
|
|
2024-09-09 10:43:13 +00:00
|
|
|
:443 {
|
2024-11-05 09:05:57 +00:00
|
|
|
root * /srv
|
2026-10-13 16:20:06 +00:00
|
|
|
|
|
|
|
|
# Los bundles con hash son inmutables. Un bundle inexistente debe dar 404,
|
|
|
|
|
# nunca el HTML de la SPA (que no es un módulo JavaScript).
|
|
|
|
|
handle /assets/* {
|
|
|
|
|
@existing file
|
|
|
|
|
@missing not file
|
|
|
|
|
header @existing Cache-Control "public, max-age=31536000, immutable"
|
|
|
|
|
header @missing Cache-Control "no-cache"
|
|
|
|
|
file_server
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
handle /version.json {
|
|
|
|
|
header Cache-Control "no-store"
|
|
|
|
|
file_server
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
handle {
|
|
|
|
|
# También se aplica al HTML servido para /quotes, /login, etc.
|
|
|
|
|
header Cache-Control "no-cache"
|
|
|
|
|
try_files {path} /index.html
|
|
|
|
|
file_server
|
|
|
|
|
}
|
|
|
|
|
}
|