fix(nixin-web): keep local ip listeners
This commit is contained in:
parent
753400ea5f
commit
b6b61f41ef
1 changed files with 10 additions and 0 deletions
|
@ -36,6 +36,16 @@ in
|
||||||
config = {
|
config = {
|
||||||
services.nginx.virtualHosts."${config.nixin.web.domain}" = {
|
services.nginx.virtualHosts."${config.nixin.web.domain}" = {
|
||||||
listen = [
|
listen = [
|
||||||
|
{
|
||||||
|
addr = "127.0.0.1";
|
||||||
|
port = config.nixin.web.http-port;
|
||||||
|
ssl = false;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
addr = "[::1]";
|
||||||
|
port = config.nixin.web.http-port;
|
||||||
|
ssl = false;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
addr = config.nixin.wg.client.ipv4;
|
addr = config.nixin.wg.client.ipv4;
|
||||||
port = config.nixin.web.http-port;
|
port = config.nixin.web.http-port;
|
||||||
|
|
Loading…
Reference in a new issue