2023-01-22 17:36:58 +01:00
|
|
|
{ config, values, ... }:
|
2021-10-17 11:00:52 +02:00
|
|
|
{
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
2023-01-22 17:36:58 +01:00
|
|
|
enableReload = true;
|
|
|
|
defaultListenAddresses = [
|
2023-05-07 10:20:32 +02:00
|
|
|
values.hosts.bicep.ipv4
|
|
|
|
"[${values.hosts.bicep.ipv6}]"
|
2023-01-22 17:36:58 +01:00
|
|
|
|
|
|
|
"127.0.0.1"
|
|
|
|
"127.0.0.2"
|
|
|
|
"[::1]"
|
|
|
|
];
|
2023-09-13 11:01:09 +02:00
|
|
|
};
|
2021-10-17 11:00:52 +02:00
|
|
|
}
|