1
0
Fork 0

tailscale/nginx: fix

This commit is contained in:
Daniel Kempkens 2024-05-31 11:54:56 +02:00
parent 258c7939c0
commit aaf9651ef2
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
4 changed files with 8 additions and 6 deletions

View file

@ -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
]; ];

View file

@ -1,6 +1,5 @@
{ {
services.tailscale.extraUpFlags = [ services.tailscale.extraUpFlags = [
"--accept-dns" "--accept-dns=false"
"false"
]; ];
} }

View file

@ -7,8 +7,7 @@
useRoutingFeatures = "server"; useRoutingFeatures = "server";
extraUpFlags = [ extraUpFlags = [
"--advertise-routes" "--advertise-routes=10.0.0.0/24"
"10.0.0.0/24"
]; ];
}; };
} }

View file

@ -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"
]; ];
}; };