update pay function

This commit is contained in:
2025-11-22 10:28:37 +08:00
parent 71f3834b79
commit 40b57c1a81
6 changed files with 230 additions and 50 deletions

View File

@@ -224,6 +224,21 @@ server {
proxy_read_timeout 86400s;
}
# AI Chat 应用 (Next.js) - MCP 集成
# AI Chat 静态资源图片、CSS、JS
location ~ ^/ai-chat/(images|_next/static|_next/image|favicon.ico) {
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# 缓存设置
expires 30d;
add_header Cache-Control "public, immutable";
}
# AI Chat 主应用
location /ai-chat {
proxy_pass http://127.0.0.1:3000/ai-chat;
proxy_http_version 1.1;