Hi guys.
After many research iām still blocked, I know they are so many topic about this problem, but I donāt find the solutionā¦ Everytime I want to open a files with Collabora, I got āaccess forbidenāā¦
I followed this doc to install my nextcloud and collabora :
Nextcloud : https://www.unixmen.com/install-and-configure-nextcloud-on-ubuntu-16-04-with-apache/
Collabora : https://nextcloud.com/collaboraonline/
Here my configuration.
OS version : Ubuntu 16.04
Nextcloud version : 11.0.1
Domain : exploit.enterprise.com
Host : nextcloud.exploit.enterprise.com
/etc/apache2/sites-enabled/nextcloud.conf
<VirtualHost *:80>
ServerName nextcloud.exploit.enterprise.com
Redirect / https://nextcloud.exploit.enterprise.com/
</VirtualHost>
<VirtualHost *:443>
ServerName nextcloud.exploit.enterprise.com
DocumentRoot /var/www/nextcloud
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/certif/nextcloud.crt
SSLCertificateKeyFile /etc/apache2/certif/nextcloud.key
</VirtualHost>
/etc/apache2/sites-enabled/office.conf
<VirtualHost *:443>
ServerName office.exploit.enterprise.com:443
SSLEngine on
SSLCertificateFile /etc/apache2/certif/office.crt
SSLCertificateKeyFile /etc/apache2/certif/office.key
# Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode
# Container uses a unique non-signed certificate
SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off
# keep the host
ProxyPreserveHost On
# static html, js, images, etc. served from loolwsd
# loleaflet is the client part of LibreOffice Online
ProxyPass /loleaflet https://127.0.0.1:9980/loleaflet retry=0
ProxyPassReverse /loleaflet https://127.0.0.1:9980/loleaflet
# WOPI discovery URL
ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery
# Main websocket
ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon
# Admin Console websocket
ProxyPass /lool/adminws wss://127.0.0.1:9980/lool/adminws
# Download as, Fullscreen presentation and Image upload operations
ProxyPass /lool https://127.0.0.1:9980/lool
ProxyPassReverse /lool https://127.0.0.1:9980/lool
</VirtualHost>
Collabora run :
docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=nextcloud\\.exploit\\.enterprise\\.com' --restart always --cap-add MKNOD collabora/code
I got nothing in log files. Nextcloud and Collabora are host on the same machine.
In Collabora iāve try localhost, 127.0.01, office.exploit.enterprise.com with every port possible
I really need this application in my enterpriseā¦ Iām desesperate
I guess itās a stupid problem, but i really donāt know how i can solve thisā¦
Thank a lot ! And have a good week-end.