Add nginx to kernighan

This commit is contained in:
Trevor Vallender 2023-07-07 08:22:46 +01:00
parent 8a583221de
commit 1de3ef1060
2 changed files with 22 additions and 2 deletions

View File

@ -4,8 +4,9 @@
{
imports =
[
../shared-configuration.nix
./hardware.nix
../shared/shared-configuration.nix
./kernighan-hardware.nix
./services/nginx.nix
];
networking = {

View File

@ -0,0 +1,19 @@
{ 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";
# };
# };
}