Score:1

nginx replace last part of dynamic URL

fr flag

I want requests coming for the URL

https://my-domain.com/api/data/app/public/customers/<id>/wrong/

redirecting to

https://my-domain.com/api/data/app/public/customers/<id>/correct/

where <id> is a number in the range 1 to 10000.

Everything else should just be passed. Should I use a regex rewrite rule for this or is there a simpler possibility?

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.