News for hackers. Stuff that matters.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by rnhmjoj on Monday February 13, 2017 @08:46PM (#13640540)
On a side note: in NixOS ACME has been integrated into the nginx configuration. To set up a server with TLS you just do

  security.acme.certs = {
    "example.com".email = "[email protected]";
  };

  services.nginx = {
    enable = true;
    virtualHosts."example.com" = {
      enableSSL  = true;
      enableACME = true;
    };
  };
This fetches the certificates and set up a service and a timer to periodically renew them.
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by schoen on Monday February 13, 2017 @08:50PM (#13640553)
Wow, is their nginx support portable to other OSes? Do you know who has implemented it?
Re:Hosting Multiple HTTPS Domains from the Same Server with ... by rnhmjoj on Monday February 13, 2017 @09:21PM (#13640674)
NixOS modules are built around Nix and systemd so theoretically you could write a port for a different GNU/Linux distribution if you have those available. I'm not aware of any though. There is however a variant for Darwin based on launchd: https://github.com/LnL7/nix-darwin

You can find the implementation of the nginx service here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/s...

Re:Hosting Multiple HTTPS Domains from the Same Server with ... by schoen on Monday February 13, 2017 @09:41PM (#13640748)
Thanks, I'd like the people working on nginx integration for certbot to see this!