This commit is contained in:
Sandro - 2023-03-25 16:04:23 +01:00
parent ffa71115d5
commit f042fd77be
1 changed files with 1 additions and 7 deletions

View File

@ -28,11 +28,9 @@ in
"www.c3d2.de".keyType = "rsa4096";
};
# Web server
services.nginx = {
enable = true;
virtualHosts = {
# c3d2
"www.c3d2.de" = {
default = true;
serverAliases = [
@ -67,7 +65,6 @@ in
};
};
# datenspuren
"datenspuren.de" = {
serverAliases = [
"www.datenspuren.de"
@ -84,7 +81,6 @@ in
locations."/.well-known/webfinger".return = "301 https://c3d2.social/.well-known/webfinger?resource=acct%3adatenspuren%40c3d2.social";
};
# autotopia
"autotopia.c3d2.de" = {
enableACME = true;
forceSSL = true;
@ -103,9 +99,7 @@ in
];
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
return 301 https://datenspuren.de;
'';
locations."/".return = "301 https://datenspuren.de";
};
};
};