safespring-community / nextcloud

installation project for Sunet nextcloud project
0 stars 2 forks source link

WebDAV-link shows http, not https after login #11

Closed sunetfreitag closed 4 years ago

sunetfreitag commented 4 years ago

Logging in with a regular user shows the WebDAV-link as http, not https. WebDAV works, but only after changing it to https. Example for link copied from UI:

http://nx1.dev.nextcloud.safedc.services/remote.php/dav/files/nx1user2/

jakubkrzywda commented 4 years ago

From reading the Nextcloud user manual, I conclude that the user is expected to adapt the URL according to the software is use. For example, on Linux Nautilus I have to change the protocol to davs://.

jakubkrzywda commented 4 years ago

Fixed by setting an environment variable OVERWRITEPROTOCOL=https. Screenshot from 2020-09-14 16-30-47

This is related to the load balancer configuration so might not be required in production.