fixed allow directive for nginx services
This commit is contained in:
parent
163d5f6db2
commit
62326b6c99
@ -14,7 +14,7 @@ in {
|
||||
proxyPass = "http://localhost:6767";
|
||||
extraConfig = ''
|
||||
allow 10.0.0.0/24;
|
||||
allow ${lib.concatStringsSep " " network.gdevices-wg};
|
||||
${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg}
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
|
@ -22,7 +22,7 @@ in {
|
||||
extraConfig = ''
|
||||
allow 127.0.0.1;
|
||||
allow 10.0.0.0/24;
|
||||
allow ${lib.concatStringsSep " " network.gdevices-wg};
|
||||
${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg}
|
||||
allow 10.4.0.0/24;
|
||||
deny all;
|
||||
'';
|
||||
|
@ -14,7 +14,7 @@ in {
|
||||
proxyPass = "http://localhost:9000";
|
||||
extraConfig = ''
|
||||
allow 10.0.0.0/24;
|
||||
allow ${lib.concatStringsSep " " network.gdevices-wg};
|
||||
${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg}
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
|
@ -14,7 +14,7 @@ in {
|
||||
proxyPass = "http://localhost:6789";
|
||||
extraConfig = ''
|
||||
allow 10.0.0.0/24;
|
||||
allow ${lib.concatStringsSep " " network.gdevices-wg};
|
||||
${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg}
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
|
@ -14,7 +14,7 @@ in {
|
||||
proxyPass = "http://localhost:9696";
|
||||
extraConfig = ''
|
||||
allow 10.0.0.0/24;
|
||||
allow ${lib.concatStringsSep " " network.gdevices-wg};
|
||||
${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg}
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
|
@ -14,7 +14,7 @@ in {
|
||||
proxyPass = "http://localhost:7878";
|
||||
extraConfig = ''
|
||||
allow 10.0.0.0/24;
|
||||
allow ${lib.concatStringsSep " " network.gdevices-wg};
|
||||
${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg}
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
|
@ -14,7 +14,7 @@ in {
|
||||
proxyPass = "http://localhost:8989";
|
||||
extraConfig = ''
|
||||
allow 10.0.0.0/24;
|
||||
allow ${lib.concatStringsSep " " network.gdevices-wg};
|
||||
${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg}
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
|
@ -27,7 +27,7 @@ in {
|
||||
proxyPass = "http://localhost:9091";
|
||||
extraConfig = ''
|
||||
allow 10.0.0.0/24;
|
||||
allow ${lib.concatStringsSep " " network.gdevices-wg};
|
||||
${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg}
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user