forked from exozyme/nginx
Set up subdomains for exopages
This commit is contained in:
parent
a996da955a
commit
8f63d7db9c
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
server_name ta180m.exozy.me;
|
server_name ~^(?<user>.+)\.exozy\.me;
|
||||||
|
|
||||||
include conf.d/ssl;
|
include conf.d/ssl;
|
||||||
|
|
||||||
root /srv/http/ta180m/public;
|
root /srv/http/pages/$user;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
error_page 404 /404.html;
|
error_page 404 /404.html;
|
Loading…
Reference in a new issue