Finally I found the issue thank you @cs35 thank you @rkaussow
- The environment variables OWNCLOUD_TRUSTED_PROXIES was missing
- The apache proxy configuration was incorrect. Here is my current working configuration
DocumentRoot /var/www/html
ServerName owncloud.objclt.ca
ErrorLog /var/www/objclt.ca/logs/owncloud.error.log
CustomLog /var/www/objclt.ca/logs/owncloud.access.log “combined”
<Directory “/var/www/html”>
allow from all
Options None
Require all granted
ProxyPreserveHost On
ProxyPass / http://10.1.1.100:8084/
ProxyPassReverse / http://10.1.1.100:8084/
RequestHeader set X-Forwarded-Port “443”
RequestHeader set X-Forwarded-Proto “https”
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/owncloud.objclt.ca/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/owncloud.objclt.ca/privkey.pem
LogLevel info