stuff
This commit is contained in:
parent
a83edc4042
commit
e3ad641917
|
@ -5,8 +5,8 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
address = "127.0.0.1";
|
address = "127.0.0.1";
|
||||||
port = 8010;
|
port = 8010;
|
||||||
server_url = "https://${virtualHostName}";
|
|
||||||
settings = {
|
settings = {
|
||||||
|
server_url = "https://${virtualHostName}";
|
||||||
logtail.enabled = false;
|
logtail.enabled = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -15,7 +15,10 @@ in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
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;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue