nginx api接口代理配置细节
server { listen 80; server_name localhost:80; location / { # proxy_set_header Host $host:$server_port; # proxy_set_header X-Real-Ip $remote_addr; # proxy_set_header X-Forwarded-For $proxy_add_x_f.