diff options
author | herbrechtsmeier <stefan@herbrechtsmeier.net> | 2013-01-06 12:24:40 +0100 |
---|---|---|
committer | herbrechtsmeier <stefan@herbrechtsmeier.net> | 2013-01-31 18:43:30 +0100 |
commit | 7747f49263bb45674228318a81bb0f2bd214df34 (patch) | |
tree | f899205b411749bc9605cb515733df1cf027f387 /config | |
parent | ab2b79cda682a697baba2128a21d3a9b5e90853c (diff) | |
download | nextcloud-server-7747f49263bb45674228318a81bb0f2bd214df34.tar.gz nextcloud-server-7747f49263bb45674228318a81bb0f2bd214df34.zip |
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.php | 3 |
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" => "", |