Hi Henrique,

glad to know you made it, could you send a pull request to ansible-openwisp2
<https://github.com/openwisp/ansible-openwisp2> when you are ready?

It would be an awesome contribution for being the first one!

Federico


On Mon, Jul 17, 2017 at 9:21 PM henriqsc <[email protected]> wrote:

> 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.
>

-- 
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.

Reply via email to