diff options
-rw-r--r-- | static.nix | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/static.nix b/static.nix index f50fb5e..1a44bd6 100644 --- a/static.nix +++ b/static.nix @@ -54,15 +54,24 @@ in { nginx = { enable = true; + enableReload = true; recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; - virtualHosts.${domain} = { - enableACME = true; - forceSSL = true; - locations."/".index = "index.xhtml"; - root = "/var/lib/www/${domain}"; + virtualHosts = { + ${domain} = { + enableACME = true; + forceSSL = true; + locations."/".index = "index.xhtml"; + root = "/var/lib/www/${domain}"; + }; + + "owocean.${domain}" = { + enableACME = true; + forceSSL = true; + root = "/var/lib/www/owocean.${domain}"; + }; }; }; }; |