Disable access to /yunohost/admin/ from WAN


I have my yunohost on my LAN and open on WAN. Then : it’s great to have example.org/yunohost/sso or example.org/nextcloud on WAN : it’s clearly needed.

But I want to disable access on /yunohost/admin, i do it by

root@riva:~# cat /etc/nginx/conf.d/yunohost_admin.conf.inc 
location /yunohost/admin {
    deny    all;
    alias /usr/share/yunohost/admin/;
    default_type text/html;
    index index.html;
    # Short cache on handlebars templates
    location ~* \.(?:ms)$ {
      expires 5m;
      add_header Cache-Control "public";

I see topic about this part on forum, but think can be interesting.

Thanks to :heart: yunohots :heart: