Fix nekomesh nginx config

This commit is contained in:
fi 2025-11-02 23:00:55 +01:00
commit 4e7f683b61

View file

@ -13,14 +13,19 @@
}
{
addr = "0.0.0.0";
port = 443;
port = 8443;
ssl = true;
extraParameters = [ "proxy_protocol" ];
}
];
locations."/" = {
proxyPass = "http://unix:/run/anubis/anubis-nekomesh.sock";
proxyWebsockets = true;
};
extraConfig = ''
set_real_ip_from 10.202.41.100;
real_ip_header proxy_protocol;
'';
};
};
};