Re: Clean-URL rewrite rule with nested "location" and alias directive

2013-11-24 Thread Ben Johnson
On 11/23/2013 12:36 PM, Ben Johnson wrote: > location ^~ /stage/ { >> root /var/www/example.com/private/stage/web/; >> # The files are read from >> /var/www/example.com/private/stage/web/stage/ >> index index.php index.html index.htm; >> try_files $uri $uri/

access_log both compressed and uncompressed

2013-11-24 Thread Lorenzo Raffio
In my "vhost" declaration I have: access_log /WEBSITE_DIR/logs/access.log.gz combined gzip; Problem is I get 2 files, an access.log.gz and an access.log Why? I want just the .log.gz one..___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mai

Re: Clean-URL rewrite rule with nested "location" and alias directive

2013-11-24 Thread Ben Johnson
On 11/23/2013 3:47 PM, Francis Daly wrote: > On Sat, Nov 23, 2013 at 01:11:46PM -0500, Ben Johnson wrote: >> On 11/23/2013 12:36 PM, Ben Johnson wrote: > > Hi there, > >>> It's bizarre. At some point while meddling with the configuration, >>> requests for /stage/ began causing the browser to do

Re: debugging ssl and php-fpm

2013-11-24 Thread Francis Daly
On Sun, Nov 24, 2013 at 03:51:21PM +0100, B.R. wrote: > On Sun, Nov 24, 2013 at 3:43 PM, Francis Daly wrote: > > On Sun, Nov 24, 2013 at 07:54:56AM -0500, Ian Evans wrote: Hi there, > > > location ^~ /rather/ { > > > fastcgi_intercept_errors on; > > > fastcgi_pass 127.0.0.1:9000; > > > fastcgi_p

Re: debugging ssl and php-fpm

2013-11-24 Thread Ian Evans
On 24/11/2013 9:43 AM, Francis Daly wrote: What does "diff" say about the config on the old server and the config on the new server? As I moved to a new server, I split everytng from one file to the whole sites-available format so I'd have to recombine everything. However... fastcgi_params

Re: debugging ssl and php-fpm

2013-11-24 Thread B.R.
Hello, On Sun, Nov 24, 2013 at 3:43 PM, Francis Daly wrote: > On Sun, Nov 24, 2013 at 07:54:56AM -0500, Ian Evans wrote: > > Hi there, > > > location ^~ /rather/ { > > fastcgi_intercept_errors on; > > fastcgi_pass 127.0.0.1:9000; > > fastcgi_param HTTPS on; > > Does it work if you remove that li

Re: debugging ssl and php-fpm

2013-11-24 Thread Francis Daly
On Sun, Nov 24, 2013 at 07:54:56AM -0500, Ian Evans wrote: Hi there, > location ^~ /rather/ { > fastcgi_intercept_errors on; > fastcgi_pass 127.0.0.1:9000; > fastcgi_param HTTPS on; Does it work if you remove that line? It looks unnecessary to me. And it breaks your config. > fastcgi_index inde

debugging ssl and php-fpm

2013-11-24 Thread Ian Evans
Okay, so rule #1 is to never think a server migration will go easy. As I've said in another thread, I've been running nginx and php-fpm for years on my site. But I'm moving from a CentOS to an Ubuntu server and things aren't going as smooth as they should be. I've got the non-ssl server worki