tailscale/nginx: fix
This commit is contained in:
parent
258c7939c0
commit
aaf9651ef2
4 changed files with 8 additions and 6 deletions
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
|
package = lib.mkForce (pkgs.nginxQuic.override {
|
||||||
|
withKTLS = true;
|
||||||
|
withImageFilter = true;
|
||||||
|
});
|
||||||
|
|
||||||
additionalModules = with pkgs.nginxModules; [
|
additionalModules = with pkgs.nginxModules; [
|
||||||
vod
|
vod
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
services.tailscale.extraUpFlags = [
|
services.tailscale.extraUpFlags = [
|
||||||
"--accept-dns"
|
"--accept-dns=false"
|
||||||
"false"
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
useRoutingFeatures = "server";
|
useRoutingFeatures = "server";
|
||||||
|
|
||||||
extraUpFlags = [
|
extraUpFlags = [
|
||||||
"--advertise-routes"
|
"--advertise-routes=10.0.0.0/24"
|
||||||
"10.0.0.0/24"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,8 +11,7 @@ in
|
||||||
authKeyFile = config.age.secrets.tailscale-authkey.path;
|
authKeyFile = config.age.secrets.tailscale-authkey.path;
|
||||||
|
|
||||||
extraUpFlags = [
|
extraUpFlags = [
|
||||||
"--login-server"
|
"--login-server=${headscale}"
|
||||||
headscale
|
|
||||||
"--stateful-filtering"
|
"--stateful-filtering"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue