I have just performed a clean install of Nextcloud 15 on a Ubuntu Server 18.04 VM with NGINX as the webserver. I use a pfsense firewall, and am using the HAProxy to handle traffic to and from the VM. The SSL certificates are installed on the HAProxy, not the nginx server. I am able to access the web interface and webdav without issues, however when I attempt to login with any of the clients (I have tried Windows, ios, and Android) it will not login. I get the screen that asks to connect your account by logging in, from there I can use my credentials, and it logins and asks to authorize the device.
But it just goes back to the original login page.
The above happens no matter what client I try and use. This is my config for nginx (Note: I have replaced sensitive info with the word ommitted):
And my config.php file looks like this (Note: I have replaced sensitive info with the word ommitted):
<?php $CONFIG = array ( 'instanceid' => 'ommitted', 'passwordsalt' => 'ommitted', 'secret' => 'ommitted', 'trusted_domains' => array ( 0 => 'ommitted', ), 'datadirectory' => '/usr/share/nginx/nextcloud/data', 'dbtype' => 'mysql', 'version' => '188.8.131.52', 'dbname' => 'nextcloud', 'dbhost' => 'ommitted', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'nextcloud', 'dbpassword' => 'ommitted', 'installed' => true, 'memcache.local' => '\\OC\\Memcache\\APCu', 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => 'ssl', 'mail_sendmailmode' => 'smtp', 'mail_from_address' => 'nextcloud', 'mail_domain' => 'ommitted', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, 'mail_smtphost' => 'ommitted', 'mail_smtpport' => '465', 'mail_smtpname' => 'ommitted', 'mail_smtppassword' => 'ommitted', );
I feel it is worth noting that I previously had a Nextcloud 13 instance configured in the exact same manner, including the same HAProxy setup and nginx config. There is also nothing in the logs about this. Does anyone know what is going on and how I can fix it? I really need this working ASAP as I use it for classes in college.