On 23 Nov 2014, at 23:51, keeyong wrote:
> I can't really test this easily so I am asking instead. I have this location
> statement in my nginx.conf:
>
>location ~* ^/(api/abcd)/ {
>...
>}
>
> Now I want to match against "api/efgh". Then the regex should be something
I can't really test this easily so I am asking instead. I have this location
statement in my nginx.conf:
location ~* ^/(api/abcd)/ {
...
}
Now I want to match against "api/efgh". Then the regex should be something
like this?
location ~* ^/(api/(abcd|efgh))/ {