Files
carlandCursor 0136c15274 Initial commit: Plane 自部署与 gptproto AI 集成
包含本地/远程部署脚本、AI Agent 服务、Dashboard 与 QA 验证。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 11:37:41 +08:00

24 lines
501 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
location /dashboard/api/ {
rewrite ^/dashboard/api/(.*)$ /data/$1 break;
proxy_pass http://plane-ai:8100;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header Host $http_host;
proxy_read_timeout 60s;
}
location /dashboard/ {
try_files $uri $uri/ /dashboard/index.html;
}
location = / {
return 301 /dashboard/;
}
}