Skip to content

Commit

Permalink
fix ansible syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Dec 27, 2024
1 parent bc4b9fe commit 7814005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/redmine/templates/etc/nginx/sites-available/redmine.j2
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ server {

{% include 'templates/nginx_error_handler.inc.j2' with context %}

{% if not access_protection && instance.with_pghero is defined and instance.with_pghero %}
{% if not access_protection and instance.with_pghero is defined and instance.with_pghero %}
location /pghero {
# access protection
auth_basic "Restricted access only";
auth_basic_user_file {{ htpasswd_file }};
}
{% endif %}

{% if access_protection && instance.vhost_users is defined %}
{% if access_protection and instance.vhost_users is defined %}
# access protection
auth_basic "Restricted access only";
auth_basic_user_file {{ htpasswd_file }};
Expand Down

0 comments on commit 7814005

Please sign in to comment.