Nginx configuration for only using WebDAV

Hello,

I’ve got an Owncloud instance running and I’m trying to find a way to only make the WebDAV service available over the internet. I’ve got a dedicated Nginx configuration for myself (on another port) so I can access the webinterface. The goal is to restrict the webinterface for end users and only allow them to use the desktop clients.

I setup a Nginx configuration that only allows access to remote.php and status.php. Is this enough for the clients or do I need to give access to other routes?

Thanks in advance!

Does anyone have an idea how to do this?

The clients need access to the OCS endpoints as well - ocs/v1.php and ocs/v2.php

1 Like