BBlack has submitted this change and it was merged.
Change subject: tlsproxy: also set XCIP to same value as XRIP
......................................................................
tlsproxy: also set XCIP to same value as XRIP
Change-Id: Ic865a974317b424be087b0b20091d60c604dbeca
---
M modules/tlsproxy/templates/localssl.erb
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
BBlack: Verified; Looks good to me, approved
diff --git a/modules/tlsproxy/templates/localssl.erb
b/modules/tlsproxy/templates/localssl.erb
index a52b4df..1b1c810 100644
--- a/modules/tlsproxy/templates/localssl.erb
+++ b/modules/tlsproxy/templates/localssl.erb
@@ -31,6 +31,7 @@
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Client-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Connection-Properties "SPDY=$spdy_version;
SSR=$session_reused; SSL=$ssl_protocol; C=$ssl_cipher;";
--
To view, visit https://gerrit.wikimedia.org/r/258137
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic865a974317b424be087b0b20091d60c604dbeca
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits