nixos-config/config/services/old-homepage.nix

13 lines
359 B
Nix
Raw Normal View History

2022-01-17 14:54:37 +00:00
{ ... }: {
services.nginx.virtualHosts."static.darkkirb.de" = {
2022-01-17 14:55:54 +00:00
addSSL = true;
2022-01-17 14:54:37 +00:00
http2 = true;
listenAddresses = [ "0.0.0.0" "[::]" ];
sslCertificate = "/var/lib/acme/darkkirb.de/cert.pem";
sslCertificateKey = "/var/lib/acme/darkkirb.de/key.pem";
locations."/" = {
proxyPass = "http://127.0.0.1:9000/darkkirb.de/";
2022-01-17 14:54:37 +00:00
};
};
}