From f3b0f0822be71ce59a4a7c591243899bd844075f Mon Sep 17 00:00:00 2001 From: Andrew Buss Date: Mon, 4 May 2015 15:04:05 -0700 Subject: [PATCH] Exposed real remote address to django --- nginxconf/flashy.cards | 1 + 1 file changed, 1 insertion(+) diff --git a/nginxconf/flashy.cards b/nginxconf/flashy.cards index ab1b1a0..7ed6957 100644 --- a/nginxconf/flashy.cards +++ b/nginxconf/flashy.cards @@ -27,6 +27,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header REMOTE_ADDR $remote_addr; } location ^~ /jenkins { -- 1.9.1