Closed emilienbtn closed 6 years ago
After looking deeper into the setup I found the solution:
If you set https with this image you need to update set_configuration.sh like this:
Modify the command docker exec -u www-data nextcloud php occ --no-warnings config:system:set onlyoffice StorageUrl --value="http://nginx-server/"
by docker exec -u www-data app-data php occ --no-warnings config:system:set onlyoffice StorageUrl --value="https://server_name/"
where server_name is the one you set in Nginx server block (if you set one otherwise you can still use nginx-server)
Furthermore, you need to execute the command docker exec -u www-data app-data php occ --no-warnings config:system:set overwriteprotocol --value="https"
This ensures that everything will go through https otherwise you cloud get missing icons in the UI
Hi, I deployed the latest image (with NextCloud) and modified the setup to get HTTPS but since then the documents cannot be saved. Not really sure what can cause this but I think it's my Nginx configuration as follows: `user www-data; worker_processes 1;
error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid;
events { worker_connections 1024; }
http {
} ` Furthermore here the logs I'm getting when opening and closing an OnlyOffice document. Regarding the fact I'm getting some 301 code I think it's, even more, a lead towards Nginx dockers.log
Any advice is more than welcome.
Thanks a lot in advance