feat: 把估价智能体和部署配置提交到主分支

门户估价对话、会员与智能体账号,以及生产 Docker 部署一直停在工作区,远端主分支还没有这些改动。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-11-23 09:42:44 +08:00
1 parent 6519682885
commit 9c7c80e194
78 files changed
+16614 -345

No files matched your search

+91
View File
@@ -0,0 +1,91 @@
server_tokens off;
client_max_body_size 32m;
gzip on;
gzip_comp_level 5;
gzip_min_length 1024;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml image/svg+xml;
resolver 127.0.0.11 valid=10s ipv6=off;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 1d;
ssl_protocols TLSv1.2 TLSv1.3;
server {
listen 80;
server_name ${SITE_NAMES} ${FILES_DOMAIN};
location ^~ /.well-known/acme-challenge/ {
root /var/www/certbot;
default_type "text/plain";
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
server_name ${SITE_NAMES};
ssl_certificate ${CERT_FULL};
ssl_certificate_key ${CERT_KEY};
add_header Strict-Transport-Security "max-age=15552000" always;
add_header X-Content-Type-Options nosniff always;
add_header Referrer-Policy strict-origin-when-cross-origin always;
add_header X-Frame-Options SAMEORIGIN always;
location ~ ^/(docs|redoc|openapi\.json)$ {
return 404;
}
location /api/ {
set $api_backend server;
proxy_pass http://$api_backend:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 120s;
proxy_send_timeout 120s;
}
location = /admin {
return 301 /admin/;
}
location /admin/ {
alias /usr/share/nginx/html/admin/;
index index.html;
}
location / {
set $portal_backend portal;
proxy_pass http://$portal_backend: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 $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Connection "";
}
}
server {
listen 443 ssl;
server_name ${FILES_DOMAIN};
ssl_certificate ${CERT_FULL};
ssl_certificate_key ${CERT_KEY};
location / {
limit_except GET HEAD {
deny all;
}
set $minio_backend minio;
proxy_pass http://$minio_backend:9000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
}
}