i think im retarded

This commit is contained in:
Sakooooo 2025-01-01 02:19:31 +04:00
parent 9ac97f5daf
commit ce8b06e8ac
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -74,29 +74,28 @@ in {
format = "text";
level = "info";
};
services.nginx.virtualHosts."headscale.sako.lol" = {
forceSSL = true;
enableACME = true;
http3 = true;
locations = {
"/" = {
proxyPass =
"http://localhost:${toString config.services.headscale.port}";
proxyWebsockets = true;
};
};
extraConfig = ''
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
'';
};
security.acme.certs."headscale.sako.lol" = { };
systemd.services = { tailscaled.after = [ "headscale.service" ]; };
};
};
services.nginx.virtualHosts."headscale.sako.lol" = {
forceSSL = true;
enableACME = true;
http3 = true;
locations = {
"/" = {
proxyPass =
"http://localhost:${toString config.services.headscale.port}";
proxyWebsockets = true;
};
};
extraConfig = ''
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
'';
};
security.acme.certs."headscale.sako.lol" = { };
systemd.services = { tailscaled.after = [ "headscale.service" ]; };
};
}