Access for the admin page of Collabora Code only from the LAN

Hi Friends,

is this possible? And if so, which commands have to be made?

Regards

Uwe

It should work with a custom template.

Create the directory for the custom template fragment:

mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf.d/zz_collabora.conf

Create /etc/e-smith/templates-custom/etc/httpd/conf.d/zz_collabora.conf/10adminrequire with following content and edit the Require ip line to match your local network.

<Location /loleaflet/dist/admin>
   Require ip 192.168.1.0/24
   ProxyPass http://127.0.0.1:9980/loleaflet/dist/admin retry=0
   ProxyPassReverse http://127.0.0.1:9980/loleaflet/dist/admin
</Location>

Apply the changes:

signal-event nethserver-collabora-update