From 74d1bafc0fc47f845ef969085f760cc8b1543087 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 5 Jan 2014 02:52:08 +0000 Subject: [PATCH] tilecache: nginx pass client IP --- cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb index 63d5e14f4..f45032263 100644 --- a/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb +++ b/cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb @@ -11,6 +11,6 @@ server { ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; - location / { proxy_pass http://127.0.0.1; } + location / { proxy_pass http://127.0.0.1; proxy_set_header X-Forwarded-For $remote_addr; } } -- 2.43.2