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

@ -96,8 +96,8 @@
extraConfig = {
commit.gpgSign = true;
user.name = "Philipp Hochkamp";
user.email = "git@phochkamp.de";
user.name = "xyno (Philipp Hochkamp)";
user.email = "git@xyno.systems";
user.signingKey = "DA5D9235BD5BD4BD6F4C2EA868066BFF4EA525F1";
# Set default "git pull" behaviour so it doesn't try to default to

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 {