summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-11-23 12:48:54 +0100
committerFrank Karlitschek <frank@owncloud.org>2012-11-23 12:48:54 +0100
commitf359c2a716d69144c15fe9af856d8d985def8416 (patch)
tree6d04aeb8b95a5f4d406ab16a7e9967a180402d90 /config
parent3e20032a322f4f97931eca7fbad3416d4b5fb6c4 (diff)
downloadnextcloud-server-f359c2a716d69144c15fe9af856d8d985def8416.tar.gz
nextcloud-server-f359c2a716d69144c15fe9af856d8d985def8416.zip
backport pullrequest #554
better reverse proxy support
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 09eb6053c24..aec9c45bc69 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" => "",
+
/* Theme to use for ownCloud */
"theme" => "",
@@ -104,4 +110,4 @@ $CONFIG = array(
'writable' => true,
),
),
-); \ No newline at end of file
+);