Prevent external IPs from accessing the admin interface


Hi all

Is there any way to block access to the main admin page on an external IP ?


You can tweak the nginx conf and add allow / deny instructions from nginx to block IPs outside local network.

1 Like

So after reading a bit more on this (And thanks for the advice) I basilcy need to deny rule say for example for ip .... In the locantion section of the Conf for that applcations.

So my admin Site I need to amend


in the location section something like this

location /yunohost/admin {
deny ...;

or should be somethimg else ?