Reverse Proxy Configurations¶
The following parameters are used in the instance that Proxies are being used within the network.
Parameter | Format | Description |
Overwrite Host | “overwritehost” => “”, | By default, ownCloud attempts to detect what outside host can access the instance (www.example.com) for generating URLs. However, due to some reverse proxies, the automatically detected value may be incorrect (www.example.com:88) which would lead to incorrect URLs being generated. Use this field to enter the proper URL. If set as follows: “overwritehost” => “http://www.example.com:88”, When logging into ownCloud, the browser will point to port 88. |
Overwrite Protocol | “overwriteprotocol” => “”, | When generating URLs, ownCloud attempts to detect whether the server is accessed via https or http. However, if ownCloud is behind a proxy and the proxy handles the https calls, thereby leaving ownCloud running without SSL, ownCloud would not realize that ssl is in use which would result in incorrect URLs being generated. Valid values are “http” and “https”. If set as follows: “overwriteprotocol” => “https”, ownCloud will generate all URLs as HTTPS rather than HTTP. |
Overwrite Web Root | “overwritewebroot” => “”, | As with the host and protocol, ownCloud attempts to detect the webroot for generating URLs automatically. The webroot is the path used to access ownCloud relative to the domain, for instance, if www.example.com/owncloud is the URL pointing to the ownCloud instance, the webroot would be /owncloud. When proxies are in use, it may be difficult for ownCloud to detect this parameter resulting in invalid URLs. |
Overwrite Cond Addr | “overwritecondaddr” => “”, | |
Proxy | “proxy” => “”, | In the instance where a proxy is required to access the internet, the proxy should be configured in this parameter. ownCloud requires access to the internet for several functions, and thus needs to have the proxy information configured to access the internet. |
Proxy User Password | “proxyuserpwd” => “username:password”, | In the event that a proxy is configured and requires authentication, the username and password would be configured in this parameter. |