salt/states/roles/maintain/glances/auth.conf
2017-08-07 13:25:01 -05:00

13 lines
236 B
Text
Executable file

#Authentication {{auth}}
{%- if auth == "none" %}
#No authentication
{%- elif auth == "simple" %}
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
{%- elif auth == "ldap" %}
#Not Implemented
{%- endif -%}