nginx: add more extensions to the static asset pattern

This commit is contained in:
Lucas Silva 2026-03-13 23:25:11 -03:00
parent ccb628f516
commit 54540f8faf

View file

@ -5,7 +5,7 @@ server {
root /usr/share/nginx/html;
index index.html;
location ~* \.(?:css|js|mjs|map|json|wasm|mp3|flac|png|jpg|jpeg|svg|webp|ico|gz|br)$ {
location ~* \.(?:css|js|mjs|map|json|wasm|mp3|flac|wav|ogg|png|jpg|jpeg|svg|webp|ico|gz|br|utf|ttf|woff2?)$ {
try_files $uri =404;
}