google search index
All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 57s

This commit is contained in:
john kevin asprec
2026-09-03 21:40:55 +08:00
parent 2eb6eed16a
commit 3150e16248
23 changed files with 406 additions and 29 deletions

View File

@@ -10,7 +10,26 @@ server {
return 200 'ok';
}
location / {
location = /robots.txt {
try_files /robots.txt =404;
}
location = /sitemap.xml {
default_type application/xml;
try_files /sitemap.xml =404;
}
location ~ ^/(docs|contribute|community)/?$ {
try_files $uri $uri/ /index.html;
}
error_page 404 =404 /404.html;
location = /404.html {
internal;
}
location / {
try_files $uri $uri/ =404;
}
}