Also, is there any variable in Nginx that will hold the original URL (including anchors, like /foo/bar/#get/this/that)? Thanksby kamlou - Nginx Mailing List - English
Thanks Maxim. Any other way I can accomplish this using the map above? Thanksby kamlou - Nginx Mailing List - English
Hey guys, I have been trying to use the nginx map module to do some rewrites in bulk, basically my map looks something like this: map $request_body $var { default no; ~.+.string1 dorw; ~.+.string2 dorw; ... } in a location i have the following if ($var = dorw){ rewrite ^ /home last; } I also have a log_format which logs the variable state (and it reports correct), howevby kamlou - Nginx Mailing List - English