Can't login with reverse proxy. Owncloud Server 10.0.3.3


#1

Simple owncloud server and a reverse proxy. Cannot login.
I've tried over and over, and followed these steps
https://doc.owncloud.com/server/10.0/admin_manual/configuration/server/reverse_proxy_configuration.html?highlight=reverse%20proxy

CONFIG.PHP
<?php
$CONFIG = array (
'instanceid' => 'oc5fiolnle69',
'passwordsalt' => 'REDACTED',
'secret' => 'REDACTED',
'trusted_domains' =>
array (
0 => 'tools.example.com',
),
'datadirectory' => '/var/www/owncloud/data',
'dbtype' => 'pgsql',
'version' => '10.0.3.3',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'owncloud',
'dbpassword' => 'REDACTED',
'logtimezone' => 'UTC',
'installed' => true,
'ldapIgnoreNamingRules' => false,
'mail_from_address' => 'owncloud-donotreply',
'mail_smtpmode' => 'php',
'mail_domain' => 'example.com',
'loglevel' => 0,
'trusted_proxies' => ['192.168.2.25'],
// 'overwritehost' => 'tools.example.com',
// 'overwriteprotocol' => 'http',
// 'overwritewebroot' => '/owncloud',
// 'overwritecondaddr' => '^192.168.2.25$',
);

DEBUG LOG
/var/www/owncloud/data/owncloud.log
{"reqId":"jsh3FBOrA8u01dBfov0N","level":0,"time":"2017-11-20T18:38:38+00:00","remoteAddr":"172.16.4.145","user":"--","app":"no app in context","method":"GET","url":"\/owncloud\/index.php\/apps\/files\/","message":"Current user is not logged in"}

(RELEVANT) APACHE CONFIG
ProxyPass /owncloud http://communitystorage.servers.example.com/owncloud
ProxyPassReverse /owncloud http://communitystorage.servers.exampmle.com/owncloud

APACHE WEBSERVER LOG
192.168.2.25 - - [20/Nov/2017:14:21:53 -0600] "POST /owncloud/index.php/login?redirect_url=%252Fowncloud%252Findex.php%252Fapps%252Ffiles%252F HTTP/1.1" 303 851 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36"
192.168.2.25 - - [20/Nov/2017:14:21:53 -0600] "GET /owncloud/index.php/apps/files/ HTTP/1.1" 303 804 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36"
192.168.2.25 - - [20/Nov/2017:14:21:53 -0600] "GET /owncloud/index.php/login?redirect_url=%252Fowncloud%252Findex.php%252Fapps%252Ffiles%252F HTTP/1.1" 200 2793 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36"
192.168.2.25 - - [20/Nov/2017:14:21:53 -0600] "GET /owncloud/index.php/core/js/oc.js?v=d1cfc5a0ffbb0369681b3439030e922f HTTP/1.1" 200 3402 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36"
192.168.2.25 - - [20/Nov/2017:14:21:53 -0600] "GET /owncloud/core/vendor/browser-update/browser-update.js?=1511209313786 HTTP/1.1" 200 11415 "-" "Mozilla/5.0 (X11; Linux x8664) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36"