fix: Split wildcard and root domains for ACME (#98)

Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/98
This commit is contained in:
Inex Code
2024-09-07 00:57:25 +03:00
parent 30e4f0a2cc
commit 46bb08581b
2 changed files with 6 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ in
'';
virtualHosts = {
"${domain}" = {
useACMEHost = domain;
useACMEHost = "root-${domain}";
forceSSL = true;
extraConfig = ''
add_header Strict-Transport-Security $hsts_header;