diff --git a/entrypoint.sh b/entrypoint.sh index 0c890b0..ee1ffb8 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -19,9 +19,17 @@ http:// { reverse_proxy ${BACKEND_URL} } + @assets path /assets/* /favicon.svg + handle @assets { + root * /www + header Cache-Control "public, max-age=31536000, immutable" + file_server + } + handle { root * /www try_files {path} /index.html + header Cache-Control "no-store, no-cache, must-revalidate" file_server }