captive portal check
All checks were successful
/ deploy (push) Successful in 33s

This commit is contained in:
toufic ar 2026-01-15 00:03:18 +02:00
parent 1351a2de1a
commit 6e29d5e8fa
Signed by: toufic ar
SSH key fingerprint: SHA256:/NaO5I1nG3gYKzrzSiTYIdRyaIYxDWfr1U+d+yfJ/4k
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,9 @@
{config, ...}: let
domain = config.customOps.domain;
in {
services.nginx.virtualHosts."cpcheck.${domain}" = {
locations."/".return = 204;
forceSSL = false;
enableACME = true;
};
}