Re: How to run nginx unit tests?

2015-07-27 Thread Thiago Farina
On Wed, Jul 22, 2015 at 3:53 PM, rms wrote: > Thanks Maxim. So from end user's perspective is there something I can do to > test the validity of build/install? > Not sure what kind of confirmation you want, but you can try starting the service perphaps? Does that work? You can also test the conf

Re: upstart conf for managing nginx

2015-07-27 Thread Thiago Farina
Besides everything Francis said, there is also a typo in the 'expect' line. s/deamon/daemon -- Thiago Farina ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx response with persistence session and backend server failure

2015-07-27 Thread Vladimir Homutov
On Mon, Jul 27, 2015 at 12:40:04PM +0530, Bhuvan Gupta wrote: > Hello all, > > I was reading Nginx documentation > > on > persistence session using cookie and below is from documentati

Re: Is SSL and Compression never secure in nginx?

2015-07-27 Thread B.R.
CRIME has been superseeded by BREACH, and it is in no way related to any specific Web server, but to the more general concepts of TLS-encrypted (gzip-?)compressed HTTP content (SPDY is fine). On the following website you will get all the details as well as a cheat-sheet list of ideas to mitigate i

Re: Is SSL and Compression never secure in nginx?

2015-07-27 Thread Maxim Dounin
Hello! On Mon, Jul 27, 2015 at 05:24:21PM +0200, Robert Krüger wrote: > Hi, > > I am working in a project where a password-protected extranet application > is behind an nginx proxy using ssl. > > Now I asked the admin to enable server-side http-compression because we > tend to have rather lengt

Re: Nginx response with persistence session and backend server failure

2015-07-27 Thread B.R.
On Mon, Jul 27, 2015 at 9:10 AM, Bhuvan Gupta wrote: > Hello all, > > I was reading Nginx documentation > > on > persistence session using cookie and below is from documentation > >

Re: GeoIP data in access_log Nginx

2015-07-27 Thread Maxim Dounin
Hello! On Mon, Jul 27, 2015 at 05:10:22AM -0400, Jugurtha wrote: > Hello World, > > I would like to know if is possible to put GeoIP data (country for exemple) > in my log access (nginx) > I enabled the GeoIP module in my nginx (configure) and i would like to use > the "$geoip_country_name" and

Is SSL and Compression never secure in nginx?

2015-07-27 Thread Robert Krüger
Hi, I am working in a project where a password-protected extranet application is behind an nginx proxy using ssl. Now I asked the admin to enable server-side http-compression because we tend to have rather lengthy json responses from our REST api and they compress very well and the performance ga

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

GeoIP data in access_log Nginx

2015-07-27 Thread Jugurtha
Hello World, I would like to know if is possible to put GeoIP data (country for exemple) in my log access (nginx) I enabled the GeoIP module in my nginx (configure) and i would like to use the "$geoip_country_name" and "$geoip_city" in my accesslog I tried to add the two variables in my log format

Nginx response with persistence session and backend server failure

2015-07-27 Thread Bhuvan Gupta
Hello all, I was reading Nginx documentation on persistence session using cookie and below is from documentation A request that comes from a client not yet bound to a particular serv