-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
when I use axios-ie in node env, do a post request to nginx, it's Ok, but when I use axios do the same things, nginx will change the POST request to GET request, why?
the nginx is as follow:
server {
listen 80;
server_name xx.xx.com;
rewrite ^(.*) https://$server_name$1 permanent;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
server {
listen 80;
server_name 127.0.0.1;
rewrite ^(.*) http://xx.xx.com$1 permanent;
}
now I'm very anxious, please help me!thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels