seo update
This commit is contained in:
@@ -23,7 +23,17 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
# Known SPA routes — serve index.html
|
||||
location = / {
|
||||
try_files /index.html =404;
|
||||
}
|
||||
}
|
||||
|
||||
location ~ ^/(write|history|settings)(/|$) {
|
||||
try_files /index.html =404;
|
||||
}
|
||||
|
||||
# Static assets — serve directly, 404 if missing
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user