new domain

This commit is contained in:
Philipp Hochkamp 2023-05-15 17:01:00 +02:00
parent 2efadc1c9e
commit 13cd2a8ca5
2 changed files with 7 additions and 2 deletions

View file

@ -51,6 +51,11 @@
forceSSL = true;
locations."/".proxyPass = "http://[::1]${config.services.xynoblog.listen}";
};
services.nginx.virtualHosts."xyno.systems" = {
enableACME = true;
forceSSL = true;
locations."/".return = "307 https://xyno.space$request_uri";
};
services.nginx.appendHttpConfig = ''
map $remote_addr $ip_anonym1 {