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?



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
   ProxyPass retry=0

Apply the changes:

signal-event nethserver-collabora-update