summaryrefslogtreecommitdiffstats
path: root/config/config.sample.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-11-22 19:22:00 +0100
committerFrank Karlitschek <frank@owncloud.org>2012-11-22 19:22:00 +0100
commit6cb377470607f6e4e62fb6ca931ab63fb6938390 (patch)
treea199f86eac10cedcdc3203e0452beb8cc9edb693 /config/config.sample.php
parentc773d071ee947a9065c492a356367ebbd78bc169 (diff)
downloadnextcloud-server-6cb377470607f6e4e62fb6ca931ab63fb6938390.tar.gz
nextcloud-server-6cb377470607f6e4e62fb6ca931ab63fb6938390.zip
make it possible to manually override the hostname and protocol if the automatic detection from ownCloud fails. This can happen in reverse proxy situations or with loadbalancers setups.
Diffstat (limited to 'config/config.sample.php')
-rw-r--r--config/config.sample.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 3d0a70db1d8..0ef90a04699 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -30,6 +30,12 @@ $CONFIG = array(
/* Force use of HTTPS connection (true = use HTTPS) */
"forcessl" => false,
+/* The automatic hostname detection of ownCloud can fail in certain reverse proxy situations. This option allows to manually override the automatic detection. You can also add a port. For example "www.example.com:88" */
+"overwritehost" => "",
+
+/* The automatic protocol detection of ownCloud can fail in certain reverse proxy situations. This option allows to manually override the protocol detection. For example "https" */
+"overwriteprotocol" => "",
+
/* Enhanced auth forces users to enter their password again when performing potential sensitive actions like creating or deleting users */
"enhancedauth" => true,