Re: Alias regex use causing core dump as of nginx 1.7.1

2015-07-27 Thread Per Hansson
Thanks Maxim, you are correct about not making the /mail location a regex, it solves the problem. As for the core dump I compiled v1.9.3 with your patch and can confirm it no longer crashes with the original config. But as you suspected the config anyway does not work without removing the regex for

Re: Alias regex use causing core dump as of nginx 1.7.1

2015-07-26 Thread Maxim Dounin
Hello! On Sun, Jul 26, 2015 at 10:25:19AM -0400, Per Hansson wrote: > Hi, after upgrading from the v1.6.3 to v1.8.0 stable branch an alias I used > for Roundcubemail no longer works. > I traced the issue back to a probable change made in nginx v1.7.1: > "Bugfix: the "alias" directive used inside

Alias regex use causing core dump as of nginx 1.7.1

2015-07-26 Thread Per Hansson
Hi, after upgrading from the v1.6.3 to v1.8.0 stable branch an alias I used for Roundcubemail no longer works. I traced the issue back to a probable change made in nginx v1.7.1: "Bugfix: the "alias" directive used inside a location given by a regular expression worked incorrectly if the "if" or "li