Https proxy login disabled

I have nextcloud 13.0.0 newly installed on Ubuntu 16.04 with apache 2.4 frontend and all works well on host http://omv.example.com/nextcloud on my internal network.

My web facing server is apache with SSL enabled and secured with a LetsEncrypt certificate.

I have added these lines to my front end apache config:

   ProxyPass         /nextcloud http://omv.example.com/nextcloud
   ProxyPassReverse  /nextcloud http://omv.example.com/nextcloud
   ProxyPassReverseCookiePath /nextcloud /nextcloud

and I have added these lines to my nextcloud config.php:

  'overwritehost' => 'www.example.com',
  'overwriteprotocol' => 'https',
  'overwrite.cli.url' => 'https://www.example.com/nextcloud',

Now when I access https://www.example.com/nextcloud, I see the login page, but the submit button is disabled:

<input type="submit" id="submit" class="login primary" title="" value="Log in" disabled="disabled">

What am I missing?

Bump - is this thing on?

One thing you could try is to add the proxy as trusted in the nextcloud config.php:

‘trusted_proxies’ =>
array (
0 => ‘your.pro.xy.ip’,
),

Emi,

Thanks for your response.

I actually do have ‘trusted_proxies’ configured and I’ve verified the IP address from the apache logs.