update pay function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user