- Add docs-site workspace (VitePress 1.5.0) with Android/iOS/RN/Vue3/HarmonyOS/Server docs - Update Dockerfile to build and serve docs under /docs/ - Add /docs/ location block to Nginx config - Add docs-site to yarn workspaces Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 行
408 B
Plaintext
22 行
408 B
Plaintext
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
root /usr/share/nginx/html/tenant;
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location /ops/ {
|
|
alias /usr/share/nginx/html/ops/;
|
|
try_files $uri $uri/ /ops/index.html;
|
|
}
|
|
|
|
location /docs/ {
|
|
alias /usr/share/nginx/html/docs/;
|
|
try_files $uri $uri/ /docs/index.html;
|
|
}
|
|
}
|