about summary refs log tree commit diff
path: root/configuration.nix
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-09-13 20:00:27 +0000
committerMel <einebeere@gmail.com>2024-09-13 20:00:27 +0000
commited248959c1df59bf93edc755549a00c070525f7b (patch)
tree71528ec9eec94df763a72b16083fb9ff4845b693 /configuration.nix
parent4f565c1984b6018bc824a1398eee3fc5becf0189 (diff)
downloadrnrd-ed248959c1df59bf93edc755549a00c070525f7b.tar.zst
rnrd-ed248959c1df59bf93edc755549a00c070525f7b.zip
Enable SSL for default server name domain
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/configuration.nix b/configuration.nix
index a240857..fafa7b5 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -106,7 +106,11 @@ in
 
   services.nginx.virtualHosts = {
     default = { default = true; };
-    "${me.name}.rnrd.eu" = { root = "/var/www/html"; };
+    "${me.name}.rnrd.eu" = {
+      root = "/var/www/html";
+      forceSSL = true;
+      enableACME = true;
+    };
   };