Files
pruefwerk/docs/nginx.conf
T
Sharang ParnerkarandClaude Fable 5.1 9550effa34
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 5m56s
docs: serve the site under /docs/ (VitePress base + nginx)
On the platform cluster the docs are an orca route (/docs/*) on the
dashboard host, prefix not stripped. Build with base /docs/, copy the
dist to html/docs, redirect / → /docs/.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-11 18:10:25 +02:00

23 lines
612 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# The VitePress build uses base /docs/ and is copied to html/docs, so the
# site answers on /docs/… both standalone and behind the orca route
# pruefwerk-<env>.breakpilot.com/docs/* (prefix not stripped).
location = / {
return 302 /docs/;
}
location /docs/ {
try_files $uri $uri/ $uri.html /docs/index.html;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
}