diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-19 22:49:54 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-19 22:49:54 +0200 |
| commit | 7239c73699e0192e86a04b021acb7667c8cfa8cf (patch) | |
| tree | 6ae105610ce162fa1dbedaaf04434fafa29d8836 /modules/by-name/ng/nginx/module.nix | |
| parent | modules/monitoring/grafana/dashboards: Use better dashboards (diff) | |
| download | nixos-server-7239c73699e0192e86a04b021acb7667c8cfa8cf.zip | |
modules/nginx: Get rid of the `selfsign` parameter
Nowadays, all our tests also run with valid CA certificates.
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/ng/nginx/module.nix | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/by-name/ng/nginx/module.nix b/modules/by-name/ng/nginx/module.nix index 096c09a..1317d4d 100644 --- a/modules/by-name/ng/nginx/module.nix +++ b/modules/by-name/ng/nginx/module.nix @@ -18,15 +18,6 @@ in { a default nginx config. ''; - selfsign = lib.mkOption { - type = lib.types.bool; - default = false; - description = '' - Whether to selfsign the acme certificates. This should only - really be useful for tests. - ''; - }; - redirects = lib.mkOption { type = lib.types.attrsOf lib.types.str; default = {}; @@ -74,10 +65,6 @@ in { defaults = { email = "admin@vhack.eu"; webroot = "/var/lib/acme/acme-challenge"; - - # Avoid spamming the acme server, if we run in a test, and only really want self-signed - # certificates - server = lib.mkIf cfg.selfsign "https://127.0.0.1"; }; }; |
