From acefb9083f52bf7381c99794674c488a1d21aebb Mon Sep 17 00:00:00 2001 From: VC Date: Sat, 26 Oct 2019 09:11:17 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d=E2=80=99un=20partage=20HTTP=20pour=20?= =?UTF-8?q?Kodi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/nginx/templates/vhosts/btf.mateu.be.conf.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/nginx/templates/vhosts/btf.mateu.be.conf.j2 b/roles/nginx/templates/vhosts/btf.mateu.be.conf.j2 index 51e55cd..77b1cbd 100644 --- a/roles/nginx/templates/vhosts/btf.mateu.be.conf.j2 +++ b/roles/nginx/templates/vhosts/btf.mateu.be.conf.j2 @@ -3,6 +3,7 @@ server { location / { root /var/lib/transmission-daemon/downloads/; autoindex on; + allow 10.233.212.64/27; allow 2a01:cb0c:8516:7f00::/64; allow 83.167.52.81; allow 2001:1b48:2:103::/64; @@ -10,3 +11,14 @@ server { deny all; } } + +server { + listen *:80; + server_name nfs.mateu.be; + location / { + root /var/lib/transmission-daemon/downloads/; + autoindex on; + allow 10.233.212.64/27; + } +} +