Reloading nginx configuration: nginx: [emerg] unknown "php_https" variable

António P. P. Almeida appa at perusio.net
Tue Aug 2 17:26:51 UTC 2011


On 2 Ago 2011 17h59 WEST, christian.freisen at googlemail.com wrote:

> Hi,
>
> I'm trying to run dokuwiki with https.
>
> On the nginx-wiki there is a doku about this:
> http://wiki.nginx.org/Dokuwiki
>
> Problem: When including "fastcgi_param HTTPS $php_https; there is
> this error while reloading nginx:
>
> Reloading nginx configuration: nginx: [emerg] unknown "php_https"
> variable
>
> Any idea, why this happend?

Probably because you've not defined it in a map directive like this at
the http level.

map $scheme $php_https {
   default off;
   https on;
}

--- appa



More information about the nginx mailing list