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

Using dynamic access_log, automatically create parent directory

2015-07-26 Thread justink101
We use a dynamic value for access logs: access_log /var/log/nginx/domains/$host/access.log main; However, if the $host directory does not exist in /var/log/nginx/domains nginx fails with an error creating the access log. Is there a way to have nginx create the $host directory automatically in

Re: Optimzing hard drive IO for proxy_pass

2015-07-26 Thread highclass99
Sorry everyone about the multiple posts with the same content... My own posts weren't coming to me at all through email... I just checked http://mailman.nginx.org/pipermail/nginx/2015-July/thread.html and found out all my posts were posted. Again I apologize for the inconvenience. :( It was sinc

Optimzing hard drive IO for proxy_pass

2015-07-26 Thread highclass99
I have server A with a large HDD at IDC 1 (TB hdd) I have server B with cheap bandwidth at IDC 2 (very small virtual server 20 GB hdd) I send all image requests to server B, and it caches from A. My problem is that on server IO is really high Server B iostat Device: rrqm/s wrqm/s r/s

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