From 41514c3660b858b7b98769ee10cb76d664b67c28 Mon Sep 17 00:00:00 2001 From: PJ Date: Fri, 11 Sep 2020 11:21:39 +0200 Subject: [PATCH] Fix servername regex --- docker/nginx/conf.d/client.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index a5db3ca6..c1a78ee8 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -22,7 +22,7 @@ server { listen [::]:80 default_server; # parse subdomain (a base32 encoded Skylink) into custom variable - server_name ~^([a-z0-9]{55}).*?; + server_name "~^([a-z0-9]{55})\..*$"; set $subdomain $1; # ddos protection: closing slow connections