Configure headscale on VPS
This commit is contained in:
parent
57042de338
commit
d6ac70abab
@ -25,6 +25,17 @@
|
|||||||
trustedInterfaces = [ "tailscale0" ];
|
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 = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
email = lib.strings.concatStrings ["mail" "@" "johannes-rothe.de"];
|
email = lib.strings.concatStrings ["mail" "@" "johannes-rothe.de"];
|
||||||
@ -44,6 +55,9 @@
|
|||||||
"git.johannes-rothe.de".extraConfig = ''
|
"git.johannes-rothe.de".extraConfig = ''
|
||||||
reverse_proxy base:3001
|
reverse_proxy base:3001
|
||||||
'';
|
'';
|
||||||
|
#"headscale.johannes-rothe.de".extraConfig = ''
|
||||||
|
# reverse_proxy base:5232
|
||||||
|
#'';
|
||||||
"radicale.johannes-rothe.de".extraConfig = ''
|
"radicale.johannes-rothe.de".extraConfig = ''
|
||||||
reverse_proxy base:5232
|
reverse_proxy base:5232
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user