summaryrefslogtreecommitdiffstats
path: root/roles/media/templates/nginx-include
diff options
context:
space:
mode:
Diffstat (limited to 'roles/media/templates/nginx-include')
-rw-r--r--roles/media/templates/nginx-include2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/media/templates/nginx-include b/roles/media/templates/nginx-include
index 416e1ca..b42cacd 100644
--- a/roles/media/templates/nginx-include
+++ b/roles/media/templates/nginx-include
@@ -19,7 +19,7 @@ location /{{ emacsconf_year }}/backstage {
auth_basic off;
}
{% endfor %}
-{% if media_protect_root == 'true' %}
+{% if media_protect_root %}
location /{{ emacsconf_year }} {
# TODO: Figure out how to make this properly controlled by the variable
auth_basic_user_file /etc/nginx/sites-available/{{ media_server_name }}-{{ emacsconf_year }}-htpasswd;