google search index
All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 57s
All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 57s
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user