richdocumentscode
richdocumentscode copied to clipboard
App does not respect nextcloud's overwrite.cli.url in config.php
The app needs to work with nextcloud's overwrite.cli.url setting for situations where there is an internal hostname and an external hostname.
Had to make this change in proxy.php to get it to work.
//$proxyURL .= $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'] . '?req='; $proxyURL .= "my external hostname" . $_SERVER['SCRIPT_NAME'] . '?req=';