Hi all, I actually needed to test openwrt clients. Tested it today and they
can register and get configurations even if they were outside
openwisp2_admin_allowed_network.
Right now I'm using the following.
location /admin {
error_page 403 = 204;
try_files /opt/openwisp2/public_html/maintenance.html $uri @uwsgi;
allow {{ openwisp2_admin_allowed_network }};
deny all;
}
I added the line error_page 403 = 204 since I don't like to show the
forbidden page.
Thanks for the instructions I will follow it soon.
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.