Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorherbrechtsmeier <stefan@herbrechtsmeier.net>2013-01-06 15:24:40 +0400
committerherbrechtsmeier <stefan@herbrechtsmeier.net>2013-01-31 21:43:30 +0400
commit7747f49263bb45674228318a81bb0f2bd214df34 (patch)
treef899205b411749bc9605cb515733df1cf027f387 /config
parentab2b79cda682a697baba2128a21d3a9b5e90853c (diff)
add SSL proxy support
Add support for a reverse proxy that only forwards SSL connections unencrypted to the web server. This patch allows to detect the reverse proxy via regular expression for the remote IP address and conditional overwrite the host name, protocol and web root.
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index ebe73fbec7b..5264e948200 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -41,6 +41,9 @@ $CONFIG = array(
/* The automatic webroot detection of ownCloud can fail in certain reverse proxy situations. This option allows to manually override the automatic detection. For example "/domain.tld/ownCloud" */
"overwritewebroot" => "",
+/* The automatic detection of ownCloud can fail in certain reverse proxy situations. This option allows to define a manually override condition as regular expression for the remote ip address. For example "^10\.0\.0\.[1-3]$" */
+"overwritecondaddr" => "",
+
/* A proxy to use to connect to the internet. For example "myproxy.org:88" */
"proxy" => "",