From e630721e0122b7c70170aee0a944f937ba2d9d79 Mon Sep 17 00:00:00 2001 From: VC Date: Fri, 5 Jul 2024 11:53:41 +0200 Subject: [PATCH] feat: add IPv6 from Azay-sur-Cher --- roles/nginx/templates/vhosts/btf.mateu.be.conf.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/nginx/templates/vhosts/btf.mateu.be.conf.j2 b/roles/nginx/templates/vhosts/btf.mateu.be.conf.j2 index 8682ec7..80549d6 100644 --- a/roles/nginx/templates/vhosts/btf.mateu.be.conf.j2 +++ b/roles/nginx/templates/vhosts/btf.mateu.be.conf.j2 @@ -1,10 +1,11 @@ -{% set allowed_ips=['10.233.212.64/27', '163.172.112.19', '2a01:e0a:9bd:2811::/64', '2a01:e0a:9bd:2810::/64', '130.180.219.188', '2a01:e0a:fc:ebc0::/64'] -%} +{% set allowed_ips=['10.233.212.64/27', '163.172.112.19', '2a01:e0a:9bd:2811::/64', '2a01:e0a:9bd:2810::/64', '130.180.219.188', '2a01:e0a:fc:ebc0::/64', '2a01:cb00:8a0a:b700::/64'] -%} server { {% include './templates/header.conf.j2' %} location / { root /net/; - autoindex on; + fancyindex on; + fancyindex_exact_size off; {% for allowed_ip in allowed_ips -%} allow {{ allowed_ip }}; {% endfor -%}