summary refs log tree commit diff
path: root/host/Rory-nginx/services/email/nginx.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-nginx/services/email/nginx.nix')
-rw-r--r--host/Rory-nginx/services/email/nginx.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/email/nginx.nix b/host/Rory-nginx/services/email/nginx.nix
index a55a65a..44a99fb 100644
--- a/host/Rory-nginx/services/email/nginx.nix
+++ b/host/Rory-nginx/services/email/nginx.nix
@@ -17,5 +17,12 @@
         };
       };
     };
+    "mail.rory.gay" = {
+      enableACME = true;
+      forceSSL = true;
+      locations = {
+        "/".return = "200 'OK'";
+      };
+    };
   };
 }