#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 -%}