From e2a4c543585583f46e4e28bf3c465f3f9ccc627d Mon Sep 17 00:00:00 2001 From: artem Date: Sat, 19 Sep 2026 20:43:18 +0300 Subject: [PATCH] 404 --- nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nginx.conf b/nginx.conf index 4770b92..5be342a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -54,6 +54,13 @@ http { try_files $uri /index.html; } + # Static public files (favicon, images, manifest, fonts) + location ~* \.(png|jpe?g|gif|ico|svg|webp|avif|webmanifest|eot|ttf|woff2?|otf)$ { + root /usr/share/nginx/html; + expires 7d; + add_header Cache-Control "public"; + } + # Catch-all → SSR proxy (unknown paths get a 404 from SSR) location / { proxy_pass http://127.0.0.1:3001;