[模块文档]
Nginx 反向代理配置教程
检测服务器是否可以访问接口curl https://api.example.com/ 设置反向代理 Nginx 配置location /xxx/ { proxy_pass https://api.example.com/; proxy_set_header Host api.example.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;} 配置反向代理http://<服务器IP>:<端口>/xxx