包含本地/远程部署脚本、AI Agent 服务、Dashboard 与 QA 验证。 Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
501 B
Nginx Configuration File
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/;
|
|
}
|
|
}
|