Files
LexAI/packages/website/nginx.conf
john kevin asprec 3150e16248
All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 57s
google search index
2026-09-03 21:40:55 +08:00

36 lines
585 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location = /healthz {
access_log off;
add_header Content-Type text/plain;
return 200 'ok';
}
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;
}
}