解决跨域问题 - niuben/niuben.github.io GitHub Wiki
配置nginx
location /submit { proxy_pass http://bgc_api_pool/submit; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr; # proxy_set_header LBS-Cloud-API-Client-IP $remote_addr; }
配置nginx
location /submit { proxy_pass http://bgc_api_pool/submit; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr; # proxy_set_header LBS-Cloud-API-Client-IP $remote_addr; }