We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tailscaleAuth
1 parent 698ca79 commit 0886019Copy full SHA for 0886019
hosts/spore/services/default.nix
@@ -26,4 +26,5 @@
26
27
services.openssh.enable = true;
28
services.tailscale.enable = true;
29
+ services.tailscaleAuth.enable = true;
30
}
hosts/spore/services/web/virtual-hosts.nix
@@ -5,6 +5,11 @@
5
lib,
6
...
7
}: {
8
+ services.nginx.tailscaleAuth = {
9
+ enable = true;
10
+ expectedTailnet = "rove-duck.ts.net";
11
+ virtualHosts = ["test.zx.dev"];
12
+ };
13
services.nginx.virtualHosts = {
14
"rey.foo" = {
15
# forceSSL = true;
@@ -60,5 +65,10 @@
60
65
enableAutheliaAuth = true;
61
66
locations."/".proxyPass = "http://127.0.0.1:8082";
62
67
};
68
+ "test.zx.dev" = {
69
+ forceSSL = true;
70
+ useACMEHost = "zx.dev";
71
+ locations."/".proxyPass = "http://127.0.0.1:3001";
72
63
73
64
74
0 commit comments