server {listen 443; # 为安全起见,要求您的域名为https协议server_name www.example.com; # 请将server_name替换为您已备案的完整域名location ~ ^/cgi-bin/ { # 请求企微代理proxy_pass https://qyapi.weixin.qq.com;proxy_http_version 1.1;proxy_set_header Connection "close";proxy_buffering off;proxy_read_timeout 600s;proxy_send_timeout 600s;}location ~ ^/online/channel/callback/ {proxy_pass https://adp.tencentcloud.com; # 代理到腾讯云智能体平台回调接口proxy_http_version 1.1;proxy_set_header Connection "close";proxy_buffering off;proxy_read_timeout 600s;proxy_send_timeout 600s;}}










文档反馈