Fix setting adguardhome port
This commit is contained in:
parent
97fea3d88a
commit
a36f263fce
|
@ -2,9 +2,10 @@
|
||||||
{
|
{
|
||||||
services.adguardhome = {
|
services.adguardhome = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
port = 3200;
|
||||||
mutableSettings = false;
|
mutableSettings = false;
|
||||||
|
openFirewall = true;
|
||||||
settings = rec {
|
settings = rec {
|
||||||
http.address = "0.0.0.0:3200";
|
|
||||||
dns = {
|
dns = {
|
||||||
bind_hosts = [
|
bind_hosts = [
|
||||||
"127.0.0.1"
|
"127.0.0.1"
|
||||||
|
@ -39,7 +40,6 @@
|
||||||
inherit (querylog) ignored;
|
inherit (querylog) ignored;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
openFirewall = true;
|
|
||||||
};
|
};
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 53 ];
|
allowedTCPPorts = [ 53 ];
|
||||||
|
|
Loading…
Reference in a new issue