This commit is contained in:
parent
1351a2de1a
commit
6e29d5e8fa
2 changed files with 11 additions and 0 deletions
9
config/http/captiveportal.nix
Normal file
9
config/http/captiveportal.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{config, ...}: let
|
||||
domain = config.customOps.domain;
|
||||
in {
|
||||
services.nginx.virtualHosts."cpcheck.${domain}" = {
|
||||
locations."/".return = 204;
|
||||
forceSSL = false;
|
||||
enableACME = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue