Configure headscale on VPS
This commit is contained in:
parent
57042de338
commit
d6ac70abab
@ -25,6 +25,17 @@
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
};
|
||||
|
||||
services.headscale = {
|
||||
enable = true;
|
||||
address = "0.0.0.0";
|
||||
port = 8080;
|
||||
settings = {
|
||||
dns_config.base_domain= "johannes-rothe.de";
|
||||
server_url = "https://headscale.johannes-rothe.de";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
email = lib.strings.concatStrings ["mail" "@" "johannes-rothe.de"];
|
||||
@ -44,6 +55,9 @@
|
||||
"git.johannes-rothe.de".extraConfig = ''
|
||||
reverse_proxy base:3001
|
||||
'';
|
||||
#"headscale.johannes-rothe.de".extraConfig = ''
|
||||
# reverse_proxy base:5232
|
||||
#'';
|
||||
"radicale.johannes-rothe.de".extraConfig = ''
|
||||
reverse_proxy base:5232
|
||||
'';
|
||||
|
Loading…
x
Reference in New Issue
Block a user