[模块文档]
Nginx 反向代理配置教程
检测服务器是否可以访问接口curl https://api.xxx.com/ 设置反向代理 Nginx 配置location /xxx/ { proxy_pass https://api.xxx.com/; proxy_set_header Host api.xxx.com; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_ssl_server_name on;}