404
Gitea Actions Demo / build_and_push (push) Successful in 54s Details

This commit is contained in:
artem 2026-09-19 20:43:18 +03:00
parent 6e4f53caac
commit e2a4c54358
1 changed files with 7 additions and 0 deletions

View File

@ -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;