問題描述
與業務方對接,業務方調用下單接口,支付成功之後,我方回調業務方。問題是業務方在nginx中配置了http強轉成https。其傳入的回調地址是http的。我方調用其回調接口時報301的錯誤。錯誤如下:
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
處理方法
將鏈接直接替換成https的