From 00e18b7e428fa96cc7567316223dcc1bc4cf33b6 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 12 Jan 2011 03:13:40 -0500
Subject: [PATCH] - Add description of 'use_https' option in main.inc.php.dist file

---
 CHANGELOG                |    1 +
 config/main.inc.php.dist |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index bd31a8a..9abcab0 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -11,6 +11,7 @@
 - Add handling of multifolder METADATA/ANNOTATION responses
 - Fix handling of INBOX when personal namespace prefix is non-empty (#1487657)
 - Fix handling square brackets in links (#1487672)
+- Add description of 'use_https' option in main.inc.php.dist file
 
 RELEASE 0.5-RC
 --------------
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index e2f9aea..144ca77 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -181,6 +181,11 @@
 // set the port for the ssl connection as value of this option if it differs from the default 443
 $rcmail_config['force_https'] = false;
 
+// tell PHP that it should work as under secure connection
+// even if it doesn't recognize it as secure ($_SERVER['HTTPS'] is not set)
+// e.g. when you're running Roundcube behind a https proxy
+$rcmail_config['use_https'] = false;
+
 // Allow browser-autocompletion on login form.
 // 0 - disabled, 1 - username and host only, 2 - username, host, password
 $rcmail_config['login_autocomplete'] = 0;

--
Gitblit v1.9.1