Score:0

nginx reverse proxy doesn't work with POST request returning 404 error

vn flag

nginx reverse proxy doesn't work with POST request returning 404 error

the rule is

location /mio-bff {
    rewrite ^/mio-bff(.*)$ $1/ break;
    proxy_pass http://mio-bff.cl-milugar:80;
    proxy_redirect off;
}

and when try the URL with a POST request

https://milocation/mio-bff/pingfed/token

the response is 404:

{
    "code": "ResourceNotFound",
    "message": "/pingfed/token/ does not exist"
}
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.