项目需要调用第三方支付接口并使用nginx解决跨域问题,但是支付接口是https协议,前端的域名是http协议。结果,发送了POST请求,并且重定向成为GET请求。我该如何解决? ?
nginx配置:
浏览器展示:
相关问题
- How can I prevent my Shiny App from disconnecting
- Can't configure nginx as a proxy for tomcat wi
- How to set Nginx URI to fix empty URI in redirect
- why does connect domain to “Shopify” ask for eithe
- Nginx with Daphne gives 502 Bad Gateway
自问自答,把反向代理的Url最后一个 / 去掉就可以了