From 8f63d7db9c77bfac596d825b41fbdfcfbc68f790 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Sun, 16 Jan 2022 16:28:31 -0600 Subject: [PATCH] Set up subdomains for exopages --- ta180m.conf => pages.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename ta180m.conf => pages.conf (77%) diff --git a/ta180m.conf b/pages.conf similarity index 77% rename from ta180m.conf rename to pages.conf index 248f745..a61c21f 100644 --- a/ta180m.conf +++ b/pages.conf @@ -1,11 +1,11 @@ server { listen 443 ssl http2; listen [::]:443 ssl http2; - server_name ta180m.exozy.me; + server_name ~^(?.+)\.exozy\.me; include conf.d/ssl; - root /srv/http/ta180m/public; + root /srv/http/pages/$user; index index.html; error_page 404 /404.html;