Nix-Config/system/kernighan/services/nginx.nix

20 lines
350 B
Nix

{ config, pkgs, inputs, ... }:
{
services.nginx = {
enable = true;
virtualHosts."test.tsvallender.co.uk" = {
#forceSSL = true;
#enableACME = true;
root = "/var/www/tsvallender.co.uk";
};
};
# security.acme = {
# acceptTerms = true;
# defaults = {
# email = "t+acme@tsvallender.co.uk";
# };
# };
}