We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow multiple openwisp2_admin_allowed_network in nginx site-conf.j2 template
openwisp2_admin_allowed_network
ansible-openwisp2/templates/nginx/site-conf.j2
Line 68 in dcdcd21
{% if openwisp2_admin_allowed_network %} location /admin/ { try_files {{ openwisp2_path }}/public_html/maintenance.html $uri @uwsgi; {% for network in openwisp2_admin_allowed_network %} allow {{ network }}; {% endfor %} deny all; } {% endif %}
ansible-openwisp2/defaults/main.yml
openwisp2_admin_allowed_network: []
IE:
openwisp2_admin_allowed_network: - "192.168.1.0/24" - "10.0.0.1"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Allow multiple
openwisp2_admin_allowed_network
in nginx site-conf.j2 templateansible-openwisp2/templates/nginx/site-conf.j2
Line 68 in dcdcd21
ansible-openwisp2/defaults/main.yml
Line 68 in dcdcd21
IE:
The text was updated successfully, but these errors were encountered: