27 lines
685 B
Nix
27 lines
685 B
Nix
{ pkgs, lib, config, ... }:
|
|
{
|
|
services.typo3.instances."lena-schilling.at" = {
|
|
acmeRoot = "/var/lib/acme/acme-challenge";
|
|
authorizedKeys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK1l7DmXwheeQT6F7rf1IgUnHyOaz/NIt4BFyEIwtvOX"
|
|
];
|
|
phpPackage = pkgs.php83;
|
|
};
|
|
|
|
services.nginx.virtualHosts."www.lena-schilling.at" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
acmeRoot = "/var/lib/acme/acme-challenge";
|
|
locations."/" = {
|
|
return = "301 https://lena-schilling.at$request_uri";
|
|
};
|
|
serverAliases = [
|
|
"lena-schilling.com"
|
|
"lena-schilling.eu"
|
|
"lenaschilling.at"
|
|
"lenaschilling.com"
|
|
"lenaschilling.eu"
|
|
];
|
|
};
|
|
}
|