Set up subdomains for exopages

This commit is contained in:
Anthony Wang 2022-01-16 16:28:31 -06:00
parent a996da955a
commit 8f63d7db9c
Signed by untrusted user: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -1,11 +1,11 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ta180m.exozy.me;
server_name ~^(?<user>.+)\.exozy\.me;
include conf.d/ssl;
root /srv/http/ta180m/public;
root /srv/http/pages/$user;
index index.html;
error_page 404 /404.html;