Re: Matching multiple endpoints in location of nginx.conf

2014-11-23 Thread Igor Sysoev
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

Matching multiple endpoints in location of nginx.conf

2014-11-23 Thread keeyong
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))/ {

Re: How to extract multiple values of a header for logging

2014-11-23 Thread keeyong
Good to know. I don't have the module installed though. But I will keep that in mind. Thanks! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254961,255056#msg-255056 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/list