From ac0679258446109c6d3dd97f31c3c1847f496c50 Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 6 Feb 2024 00:09:05 +0100 Subject: [PATCH] Fix ipv 6 not connecting --- nginx/x-generic.basic.local.loken.nl | 6 +++--- nginx/x-generic.symfony.local.loken.nl | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/nginx/x-generic.basic.local.loken.nl b/nginx/x-generic.basic.local.loken.nl index 4fed3c2..1d5dc61 100644 --- a/nginx/x-generic.basic.local.loken.nl +++ b/nginx/x-generic.basic.local.loken.nl @@ -19,13 +19,13 @@ # Default server configuration # server { - listen 80; - listen [::]:80; + listen 80; + listen [::]:80; root /home/tim/projects/$sub; # Add index.php to the list if you are using PHP - index index.html index.htm index.php; + index index.html index.htm index.php; server_name "~^(?.+)\.basic\.local\.loken\.nl$"; diff --git a/nginx/x-generic.symfony.local.loken.nl b/nginx/x-generic.symfony.local.loken.nl index b35d93a..e2bf11e 100644 --- a/nginx/x-generic.symfony.local.loken.nl +++ b/nginx/x-generic.symfony.local.loken.nl @@ -1,4 +1,6 @@ server { + listen 80; + listen [::]:80; #server_name *.local.loken.nl; #server_name ~^(.+)\.local\.loken\.nl$; server_name "~^(?.+)\.local\.loken\.nl$";