]> git.openstreetmap.org Git - chef.git/commitdiff
community: fix IPv6 port 80 listen
authorGrant Slater <github@firefishy.com>
Wed, 5 Apr 2023 21:08:49 +0000 (22:08 +0100)
committerGrant Slater <github@firefishy.com>
Wed, 5 Apr 2023 21:09:58 +0000 (22:09 +0100)
cookbooks/community/templates/default/web_only.yml.erb

index 98edffcc927d44641738b2bd185826e439c86702..58d6868e48265262b643a093be3cf5d79dbae7bc 100644 (file)
@@ -110,6 +110,7 @@ hooks:
         from: /listen 80;/
         to: |
           listen 80;
+          listen [::]:80;
           rewrite ^/\.well-known/acme-challenge/(.*)$ http://acme.openstreetmap.org/.well-known/acme-challenge/$1 permanent;
 
     - replace: