diff options
Diffstat (limited to 'aphrodite/http')
| -rw-r--r-- | aphrodite/http/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/aphrodite/http/default.nix b/aphrodite/http/default.nix new file mode 100644 index 0000000..22a39b2 --- /dev/null +++ b/aphrodite/http/default.nix @@ -0,0 +1,9 @@ +{config, ...}: let + customDomain = config.customOps.domain.fqdn; +in { + services.nginx.virtualHosts.${customDomain} = { + root = "/var/www/${customDomain}"; + forceSSL = true; + enableACME = true; + }; +} |
