summaryrefslogtreecommitdiffstats
path: root/sites
diff options
context:
space:
mode:
authorAlex Pott2015-10-17 16:45:04 (GMT)
committerAlex Pott2015-10-17 16:45:04 (GMT)
commit238a2397bcbeb3ab6909bc9e5a969a7b6dc3bfdb (patch)
tree0cad08e3bdd06b38f26e272c6dabdcb62b5e4c23 /sites
parenta2c96ec5f4f83798e2e0c891b66dd5765a85808a (diff)
Issue #313145 by ghoti, t0xicCode, znerol, pwolanin, thedavidmeister, seanr, neclimdul, Damien Tournoud: Support X-Forwarded-* HTTP headers alternates
Diffstat (limited to 'sites')
-rw-r--r--sites/default/default.settings.php26
1 files changed, 25 insertions, 1 deletions
diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
index 376c577..b1f95e2 100644
--- a/sites/default/default.settings.php
+++ b/sites/default/default.settings.php
@@ -369,7 +369,31 @@ $settings['update_free_access'] = FALSE;
* Set this value if your proxy server sends the client IP in a header
* other than X-Forwarded-For.
*/
-# $settings['reverse_proxy_header'] = 'HTTP_X_CLUSTER_CLIENT_IP';
+# $settings['reverse_proxy_header'] = 'X_CLUSTER_CLIENT_IP';
+
+/**
+ * Set this value if your proxy server sends the client protocol in a header
+ * other than X-Forwarded-Proto.
+ */
+# $settings['reverse_proxy_proto_header'] = 'X_FORWARDED_PROTO';
+
+/**
+ * Set this value if your proxy server sends the client protocol in a header
+ * other than X-Forwarded-Host.
+ */
+# $settings['reverse_proxy_host_header'] = 'X_FORWARDED_HOST';
+
+/**
+ * Set this value if your proxy server sends the client protocol in a header
+ * other than X-Forwarded-Port.
+ */
+# $settings['reverse_proxy_port_header'] = 'X_FORWARDED_PORT';
+
+/**
+ * Set this value if your proxy server sends the client protocol in a header
+ * other than Forwarded.
+ */
+# $settings['reverse_proxy_forwarded_header'] = 'FORWARDED';
/**
* Page caching: