Re: nginx/1.9.9 with modsecurity/2.9.0 crashes with segfault and worker process exited on signal 11

2016-01-22 Thread Robert Paprocki
The modsec devel team is working hard on the new libmodsecurity. You may just be better off waiting for them to put the finishing touches on that project. Nginx + modsec 2.9 likely will get no dev attention moving forward, given that the whole system is being revamped now. Sent from my iPhone

Re: nginx/1.9.9 with modsecurity/2.9.0 crashes with segfault and worker process exited on signal 11

2016-01-22 Thread Lukas
Dear all > Lukas [2016-01-10 14:39]: > > Fascinated by nginx, I attempted to integrate it with modsecurity. > > Unfortunately, ever when modsecurity is enabled, nginx reports a > sefault in sysmessages. > I tried debugging the issue a bit further (from a user perspective) with common web-page an

Pages rewrite

2016-01-22 Thread blason
Hi Guys, I need a help on below topic and I wanted to achieve URL Rewrite like this We want to redirect our domain pages from source to destination one Source : Original Page www..com/index.php?id=news Destination : www.x.com/news.html Posted at Nginx Forum: https://forum.nginx.org/re

Re: Absolute rather than relative times in expires directives

2016-01-22 Thread rgrraj
HI Francis Thanks for the same. It works fine in 1.9.6. But on 1.9.2 with similar configruation its throwing "expires" directive invalid value in sites-enabled file. Any thoughts ? Thanks Govind Posted at Nginx Forum: https://forum.nginx.org/read.php?2,115406,264031#msg-264031

Re: Windows Nginx Network Sharing (Mapped Hard Drive) Issue

2016-01-22 Thread c0nw0nk
Maxim Dounin Wrote: --- > Hello! > > On Mon, Jan 18, 2016 at 08:54:42AM -0500, c0nw0nk wrote: > > > So i have two machines in different locations. > > > > Web server is C:/ > > > > Storage Server is Z:/ (This one is the external mapped hard dr

Re: limit_req off?

2016-01-22 Thread Fry-kun
Sure, except there are a few dozen identical config lines in these locations... If "limit_req off" was an option, that would be the only difference. B.R. Wrote: --- > You might wish to set up locations like that: > > location /outer-path { >

Re: directio sendfile aio

2016-01-22 Thread Valentin V. Bartenev
On Friday 22 January 2016 17:25:42 Anoop Alias wrote: > My use case is mixed mass hosting environment where some vhost may be > serving large files and some may be serving small files and where adding > something like location /video with directio enabled is not practical as I > being the webhost m

Re: directio sendfile aio

2016-01-22 Thread Anoop Alias
My use case is mixed mass hosting environment where some vhost may be serving large files and some may be serving small files and where adding something like location /video with directio enabled is not practical as I being the webhost may not be knowing if the vhost user is serving a video etc .

Re: directio sendfile aio

2016-01-22 Thread Valentin V. Bartenev
On Friday 22 January 2016 16:30:38 Anoop Alias wrote: > I think the weird issue I mentioned had something to do with ngx_pagespeed > with a memcached backed and memcached was not running . It is working fine > with memcached now running . > > Somehow the sendfile and directio setting was affecting

Re: directio sendfile aio

2016-01-22 Thread Anoop Alias
I think the weird issue I mentioned had something to do with ngx_pagespeed with a memcached backed and memcached was not running . It is working fine with memcached now running . Somehow the sendfile and directio setting was affecting that. as I mentioned the issue fixed with enabling either sendf

Re: directio sendfile aio

2016-01-22 Thread Valentin V. Bartenev
On Friday 22 January 2016 14:38:13 Anoop Alias wrote: > From an nginx book i read setting > What's the name of the book? > ### > http { > > sendfile on; > sendfile_max_chunk 512k; > aio threads=default; > directio 4m; > > > is good as it use (if i understand it correctly)

Re: directio sendfile aio

2016-01-22 Thread B.R.
You did not provide any configuration snippet for the thread pool you are using and only showing partial configuration bits. I hope the unshown is configured properly... --- *B. R.* On Fri, Jan 22, 2016 at 10:08 AM, Anoop Alias wrote: > From an nginx book i read setting > > ### > http {

directio sendfile aio

2016-01-22 Thread Anoop Alias
>From an nginx book i read setting ### http { sendfile on; sendfile_max_chunk 512k; aio threads=default; directio 4m; is good as it use (if i understand it correctly) sendfile for files less than 4m and directio for files larger than 4m But the above config is causing issu