Hi,
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 {
allow 192.168.0.0/24;
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 yunohots