pvv-nixos-config/hosts/bicep/services/nginx/default.nix
h7x4 36b7087a3f
Some checks failed
Eval nix flake / evals (push) Failing after 1m49s
base.nix: hotfix for hotfix for nginx on bicep (3352e48f)
Turns out the settings were in biceps local nginx config
2024-04-11 20:41:02 +02:00

16 lines
255 B
Nix

{ config, values, ... }:
{
services.nginx = {
enable = true;
enableReload = true;
defaultListenAddresses = [
values.hosts.bicep.ipv4
"[${values.hosts.bicep.ipv6}]"
"127.0.0.1"
"127.0.0.2"
"[::1]"
];
};
}