summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-10-15 12:09:10 +0000
committerRory& <root@rory.gay>2025-10-15 12:09:10 +0000
commitb649a67c3cf4320d743a1ddfa81cf52314244010 (patch)
tree0b0b77fb4a4f4a50467e4bb3b99b6ac0e8b63603 /host
parentUpdates (diff)
downloadRory-Open-Architecture-master.tar.xz
Server updates HEAD master
Diffstat (limited to 'host')
-rw-r--r--host/Rory-ovh/services/email/nginx.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/host/Rory-ovh/services/email/nginx.nix b/host/Rory-ovh/services/email/nginx.nix

index 5b04612..0553294 100644 --- a/host/Rory-ovh/services/email/nginx.nix +++ b/host/Rory-ovh/services/email/nginx.nix
@@ -1,4 +1,4 @@ -{ config, ... }: +{ config, lib, ... }: { services.nginx.virtualHosts = { "mta-sts.rory.gay" = { @@ -7,12 +7,11 @@ locations = { "/.well-known/mta-sts.txt" = { # age 604800 - return = '' + return = lib.replaceString "\n" "\\n" '' 200 "version: STSv1 - mode: enforce - max_age: 120 - mx: mail.rory.gay - "''; + mode: enforce + max_age: 120 + mx: mail.rory.gay"''; }; }; };