nginx重定向导致post的body丢失
http重定向https, 用rewrite导致post的body丢失, 换成return 3.7就可以了
server {
listen 80;
server_name www.aa.com;
#rewrite ^(.*)$ https://$host$1 permanent;
return 307 https://www.aa.com$request_uri;
location / {
index index.html index.htm;
}
}
参考文章: https://1991421.cn/2017/07/18/15b3f3fd/