404
Gitea Actions Demo / build_and_push (push) Successful in 54s
Details
Gitea Actions Demo / build_and_push (push) Successful in 54s
Details
This commit is contained in:
parent
6e4f53caac
commit
e2a4c54358
|
|
@ -54,6 +54,13 @@ http {
|
||||||
try_files $uri /index.html;
|
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)
|
# Catch-all → SSR proxy (unknown paths get a 404 from SSR)
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:3001;
|
proxy_pass http://127.0.0.1:3001;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue