Reloading nginx configuration: nginx: unknown "php_https" variable

Hi,

I’m trying to run dokuwiki with https.

On the nginx-wiki there is a doku about this:

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?

Thanks allot
Chris

On 2 Ago 2011 17h59 WEST, [email protected] wrote:

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