summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-01-01 13:30:17 -0600
committerAlejandro Soto <alejandro@34project.org>2025-01-01 13:30:17 -0600
commitb1b3a635db095a54c1863b01b7ecb290e539c152 (patch)
treed8ca4ec9e95f320c59be4c9eace5a08b683bbc84
parentac7b4f92d23363422a0c8761544532da2136a5e8 (diff)
sys/web: do not return 403 for ACME challenge requests
-rw-r--r--sys/web/nginx.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/web/nginx.nix b/sys/web/nginx.nix
index ab5ccde..e95bc3f 100644
--- a/sys/web/nginx.nix
+++ b/sys/web/nginx.nix
@@ -56,7 +56,7 @@ in
addSSL = true;
useACMEHost = cfg.defaultACMEHost;
- extraConfig = ''
+ locations."/".extraConfig = ''
return 403;
'';
};