Add nginx to kernighan
This commit is contained in:
parent
8a583221de
commit
1de3ef1060
|
@ -4,8 +4,9 @@
|
|||
{
|
||||
imports =
|
||||
[
|
||||
../shared-configuration.nix
|
||||
./hardware.nix
|
||||
../shared/shared-configuration.nix
|
||||
./kernighan-hardware.nix
|
||||
./services/nginx.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
|
|
@ -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";
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
Loading…
Reference in New Issue