Incorrect Documentation

This is an issue with the documentation posted here:

It posts that the config.php file should amended as such:

$CONFIG = array (
  "trusted_proxies"   => [''],
  "overwritehost"     => "ssl-proxy.tld",
  "overwriteprotocol" => "https",
  "overwritewebroot"  => "/domain.tld/nextcloud",
  "overwritecondaddr" => "^10\.0\.0\.1$",

The quotes cause issues, it should be single quote ’ instead. But also this configuration results in an error of “Too Many Redirects”. I have setup my config.php as:

'trusted_proxies'   => ['IP_OF_REVERSEPROXY'],
'overwrite.cli.url' => '',
'overwritehost'     => '',
'overwriteprotocol' => 'https',

File an issue or make a pull request on

Version 9 (your link) is outdated and no longer supported.