Files
stubbfelnix/services/sks.nix
2018-01-20 16:33:50 +01:00

13 lines
259 B
Nix

{ config, pkgs, ... }:
{
services.nginx.virtualHosts."keys.stubbe.rocks" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:${toString config.services.sks.hkpPort}";
};
services.sks.enable = true;
}