2023-01-22 17:36:58 +01:00
|
|
|
{ config, values, ... }:
|
2022-12-17 21:51:43 +01:00
|
|
|
{
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
2023-01-22 17:36:58 +01:00
|
|
|
enableReload = true;
|
|
|
|
defaultListenAddresses = [
|
|
|
|
values.hosts.ildkule.ipv4
|
|
|
|
"[${values.hosts.ildkule.ipv6}]"
|
|
|
|
|
|
|
|
"127.0.0.1"
|
|
|
|
"127.0.0.2"
|
|
|
|
"[::1]"
|
|
|
|
];
|
2022-12-17 21:51:43 +01:00
|
|
|
};
|
|
|
|
}
|