This commit is contained in:
Lukas Wurzinger 2025-03-30 15:05:55 +00:00
parent a83edc4042
commit e3ad641917
No known key found for this signature in database

View file

@ -5,8 +5,8 @@ in {
enable = true;
address = "127.0.0.1";
port = 8010;
server_url = "https://${virtualHostName}";
settings = {
server_url = "https://${virtualHostName}";
logtail.enabled = false;
};
};
@ -15,7 +15,10 @@ in {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:${builtins.toString config.services.headscale.port}";
proxyPass = let
host = config.services.headscale.address;
port = builtins.toString config.services.headscale.port;
in "http://${host}:${port}";
proxyWebsockets = true;
};
};