X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/9f4108f00bbf23094f1607566dba2dccda5df314..2c43a39d8b64cbc09f4c5a56f519bbf5462ca9c6:/cookbooks/imagery/templates/default/nginx_imagery.conf.erb diff --git a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb index a078c42a0..94b570768 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb @@ -1,5 +1,5 @@ server { - listen 80; + listen [::]:80; server_name <%= @name %> a.<%= @name %> b.<%= @name %> c.<%= @name %><% @aliases.each do |alias_name| %> <%= alias_name %> a.<%= alias_name %> b.<%= alias_name %> c.<%= alias_name %><%- end -%>; root "/srv/<%= @name %>";