Set FastCGI param if exists header

Oleksandr V. Typlyns'kyi wangsamp at gmail.com
Thu May 17 17:31:33 UTC 2012


Today May 17, 2012 at 12:33 Tio Oscar wrote:

> there is some form of define REMOTE_ADDR as $http_x_cluster_client_ip if
> exists and $remote_addr else?

  You can use realip module:
  http://nginx.org/en/docs/http/ngx_http_realip_module.html

-- 
WNGS-RIPE



More information about the nginx mailing list