projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2fb32b
)
Server: Custom x-forward-for HTTP header
author
Darren
<darren@darrenwhitlen.com>
Wed, 7 Nov 2012 20:57:44 +0000
(20:57 +0000)
committer
Darren
<darren@darrenwhitlen.com>
Wed, 7 Nov 2012 20:57:44 +0000
(20:57 +0000)
config.js
patch
|
blob
|
blame
|
history
diff --git
a/config.js
b/config.js
index 68376411ae289f6aa4c627b4b89697f6f181a483..ebc83bc22e6ecd190c401456d7365c58dbdfa0b2 100644
(file)
--- a/
config.js
+++ b/
config.js
@@
-78,6
+78,9
@@
conf.reject_unauthorised_certificates = false;
// Whitelisted HTTP proxies
conf.http_proxies = ["127.0.0.1"];
+// Header that contains the real-ip from the HTTP proxy
+conf.http_proxy_ip_header = "x-forwarded-for";
+
// Enabled transports for the client to use
conf.transports = [
"websocket",