debugging ssl and php-fpm

Francis Daly francis at
Sun Nov 24 14:43:14 UTC 2013

On Sun, Nov 24, 2013 at 07:54:56AM -0500, Ian Evans wrote:

Hi there,

> location ^~ /rather/ {
> fastcgi_intercept_errors on;
> fastcgi_pass;
> fastcgi_param HTTPS on;

Does it work if you remove that line? It looks unnecessary to me. And
it breaks your config.

> fastcgi_index index.shtml;
> auth_basic "DHENEWS";
> auth_basic_user_file .htpasswd;
> }

> And most works on the old server so why am I pulling my 
> hair out? ;-)

What does "diff" say about the config on the old server and the config
on the new server?

> Is there something I'm missing in regards to ssl and 
> php-fpm? Here's the fastcgi_params:

fastcgi_params is included at server level, not within /rather/. Only
some parts of its contents are inherited into /rather/.

Francis Daly        francis at

More information about the nginx mailing list