Hi, António that is exactly wath is was trying to accomplish id didn't know i had to use the "~" at the beginning of the map key.
Thank you
>Do you mean that the request URI can contain both /pep and /sub?Like
> this:
> http://example.com/sub/pep/other-stuff-if-any
> If so then your matching must be done with a regex:
> map $uri $variable1 {
> default 11;
> ~/sub 7;
> }
> map $uri $variable2 {
> default 78;
> ~/pep 23;
> }