Skip to content

Commit

Permalink
Add missing default
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Nov 18, 2024
1 parent 1e5da34 commit 1925ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/nginx/templates/nginx_site_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ server {
include snippets/nginx_security_headers.conf;
}

{% if nginx.alternative_hostnames %}
{% if nginx.alternative_hostnames | default("") %}
# Redirect from alternative hostnames to primary hostname
server {
listen 443 ssl;
Expand Down

0 comments on commit 1925ebd

Please sign in to comment.