Re: Content-Type header not proxied to downstream hosts

2014-12-11 Thread hyperion
Hi Francis Thanks again for your response. Using the info you provided I was able to debug and fix the issue. It's actually an issue in the client library I'm using to make the request to Nginx. Mik Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255412,255444#msg-255444 ___

Re: Regular expression length syntax not working?

2014-12-11 Thread hyperion
HI Francis The link to the doc was exactly what I was looking for. The regex works as expected now. Thanks Mik Posted at Nginx Forum: http://forum.nginx.org/read.php?2,255413,255442#msg-255442 ___ nginx mailing list nginx@nginx.org http://mailman.

Regular expression length syntax not working?

2014-12-10 Thread hyperion
Hi This is my second post. :-) I have a regular expression in my location directive to match on a URL. When I use: http { ... location ~ ^/event/[0-9,A-Z]{16}/info$ { proxy_pass http://localhost:; } } } I don't get a match. I have to manually repeat t

Content-Type header not proxied to downstream hosts

2014-12-10 Thread hyperion
Hi, I'm new to nginx so am probably making a simple mistake but, for the life of me, I can't see what. I want to proxy requests with all headers that the request had to a downstream server if it matches a regex. I also have an issue with the regex, but let's leave that for another post. The ngi