input body filer

2014-06-09 Thread spch2008
Now I want to do some security testing for input body, but I find nginx doesn't have the detection mechanism for input body. anyone who can tell me why? Thanks! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250752,250752#msg-250752 ___ nginx

Re: how to get response headers from internal-requests?

2014-06-09 Thread arteomp
Hello, http://wiki.nginx.org/HttpLuaModule#ngx.location.capture res.header holds all the response headers of the subrequest and it is a normal Lua table. For multi-value response headers, the value is a Lua (array) table that holds all the values in the order that they appear. For instance, if th

how to get response headers from internal-requests?

2014-06-09 Thread Amikam Snir
Hi all, Is there a way to get the response headers from internal-requests? p.s. I am using ngx.location.capture(uri) for the internal requests. Thanks in advance. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Accessing the location configuration of module 2 during post configuration processing of module 1 for a particular server

2014-06-09 Thread Rv Rv
How do we access the configuration of a an unrelated module in a given module. This may be required for example to check if the directives pertaining to module 2 were specified in location for a particular server that has directives for module 1 in its configuration. From what I understand, cod

Proxy_Pass to another vhost on same machine

2014-06-09 Thread paulg1981
Hello, I am attempting to use ca.mydomain.com with client certificate auth as a springboard for other sites on the same server. I am using client certs with my iphone (and other browsers) to skip the password auth and be more secure. The first two proxy_pass statements work fine (sickbeard and couc

Re: Default host is being ignored?

2014-06-09 Thread B.R.
1°) Ensure the config files are all included (starting with main nginx.conf files, then following all 'include' logic). The 'sites-available' logic is due to some distributions packaging and is not there in the official nginx one. Usually this is OK, but checking cannot hurt. :o) 2°) Ensure your c

CORS headers not being set for a 401 response from upstream.

2014-06-09 Thread Srirang Doddihal
Hi, I am trying to setup CORS headers in my nginx config. My config is here : http://pastie.org/private/eevpeyy6uwu25rl5qsgzyq The upstream is defined separately. It responds fine to OPTIONS request. It also adds the "Access-Control-Allow-Origin *" header to responses from the upstream (pm_puma_

Re: http_geo_module invalid option during compile !!

2014-06-09 Thread shahzaib shahzaib
./configure --help | grep geo --with-http_geoip_module enable ngx_http_geoip_module --without-http_geo_module disable ngx_http_geo_module Alright, its enabled by default. Thanks On Mon, Jun 9, 2014 at 12:30 PM, Francis Daly wrote: > On Mon, Jun 09, 2014 at 11:45:22AM +0

Re: http_geo_module invalid option during compile !!

2014-06-09 Thread Francis Daly
On Mon, Jun 09, 2014 at 11:45:22AM +0500, shahzaib shahzaib wrote: > Does nginx Geo module work on nginx ? I am getting the following error > during compiling nginx-1.4.7 with it : > > ./configure --with-http_mp4_module --with-http_flv_module > --with-http_geoip_module --with-http_geo_module --s