Springboot配置ssl和http跳转https后 发送一个http请求重定向https 但是post请求会变成get怎么办
跳转的时候变的?这里不能设置请求方式吗?
nginx里的配置改下,肯定是做了http强制跳转https的情况,301(永久重定向)改成307(临时重定向)
server {
listen 80;
server_name *.xxx.com;
#return 301 https://$host$request_uri;
return 307 https://$host$request_uri;
}
```