i have this URI /orls/myservice/f?p=4550
and the following location
location ~ "^/(.+)/myservice/f?p=(.+)$" {
.....
}
nginx is returning a 404 not found. the problem might come from the ? so i tried \?
buit i'm still getting the same error. Can anyone help ?
Best Answer
The location match does not consider the query string:
http://nginx.org/en/docs/http/request_processing.html