diff options
| author | toufic ar <contact@toufy.me> | 2026-04-22 14:25:15 +0300 |
|---|---|---|
| committer | toufic ar <contact@toufy.me> | 2026-04-22 14:25:15 +0300 |
| commit | 69f6d02c63e941c230ff8f172c9a8af73a40dc52 (patch) | |
| tree | 3ec66ac00523adc94ea9a4a10b56ce8b8c90397b /aphrodite/http | |
| parent | c7349e466fef7ecff5a46b1d0c819975a6bdcb8c (diff) | |
| download | servers-main.tar.gz servers-main.zip | |
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; + }; +} |
