13 lines
236 B
Text
13 lines
236 B
Text
#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 -%}
|