NextCloud - forcing https when I want a share to use http only

NethServer Version: 7.3.1611 (final)
Module: Nextcloud

Hello,

I’ve noticed that Nextcloud app installed through nethserver forces https. I’m assuming this is due to the way my apache was setup when Nextcloud was installed through nethserver.

I have a folder I want to share with some workstations whereby I want to use a simple http connection. This folder I’m sharing has PDF documents in it and until I setup my wildcard cert I thought I would get this share out to our users through http for now on select view only workstations (these workstations only have a mouse so the users can open and read the PDF docs). Is anyone aware if I’m able to share a folder using http only? I don’t see the ability to change the share link that gets created in Nextcloud.

Perhaps this is a Nextcloud forum question but I thought I would start here in this forum first.

Thank you.

I don’t think you can directly in NextCloude.

The only way I see is disabling https redirection in NS.
You should create a template-custom to override this fragment:
/etc/e-smith/templates/etc/httpd/conf.d/default-virtualhost.inc/40nextcloud

(nethserver-nextcloud/root/etc/e-smith/templates/etc/httpd/conf.d/default-virtualhost.inc/40nextcloud at master · NethServer/nethserver-nextcloud · GitHub)

1 Like