summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
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"''; }; }; };