I’m testing the preview of the new Windows Server with the Nextcloud VM and I have used all my settings I have with my other Windows 2016 Server and an old Nextcloud VM (using Ubuntu 16.04), but the Reverse Proxy is not working properly (IIS 10 with URL Rewrite and ARR). I can reach the login page from outside (using the reverse proxy), can login, but then the problems start: the file app says “lost connection” and the notification are not clickable and so on. Settings seems to work fine and the log just says some problems with redis:
PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/lib/php/20170718/redis.so (/usr/lib/php/20170718/redis.so: undefined symbol: igbinary_serialize), /usr/lib/php/20170718/redis.so.so (/usr/lib/php/20170718/redis.so.so: cannot open shared object file: No such file or directory)) at Unknown#0
But I think that is not the problem here, because when I don’t use the reverse proxy, instead I use the local IP, everything works just fine. So this is a rewrite problem. I have configured the config.php with
‘overwrite.cli.url’ => ‘https://mydomain.com/’,
‘overwritehost’ => ‘mydomain’,
‘overwriteprotocol’ => ‘https’,
‘htaccess.RewriteBase’ => ‘/’,
I have tested some configs with trusted proxy und http forward Headers but it didn’t work out. Maybe somebody has an idea where the problem could be
EDIT: I moved a copy of my old Nextcloud VM to the new server, and with this VM the reverse proxy is working fine. So in conclusion, I would say that some settings of my new VM are preventing this from working.