nixos-config/modules/services/gokapi.nix

19 lines
331 B
Nix
Raw Permalink Normal View History

2025-05-23 03:09:40 +02:00
{
lib,
config,
pkgs,
...
}:
{
2024-09-26 13:19:05 +02:00
services = {
nginx.virtualHosts."share.liv.town" = {
forceSSL = true;
2025-05-23 03:09:40 +02:00
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
2024-09-26 13:19:05 +02:00
locations."/" = {
proxyPass = "http://localhost:53842";
};
};
};
}