service/webserver: migrate nginx to caddy

This commit is contained in:
Felix Buehler 2025-01-26 00:34:16 +01:00
parent 13470f55e4
commit 589714db4b
34 changed files with 347 additions and 688 deletions

View file

@ -53,17 +53,10 @@ in
# Proxy to Headscale
my.services = {
nginx.virtualHosts = [
webserver.virtualHosts = [
{
subdomain = "vpn";
inherit (cfg) port;
extraConfig = {
locations = {
"/" = {
proxyWebsockets = true;
};
};
};
}
];