1
Fork 0

Attempt to use cloudflare tunnel through nginx

This commit is contained in:
prescientmoon 2024-05-10 19:43:00 +02:00
parent ff95e830d1
commit ebcfef4bd3
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
3 changed files with 44 additions and 39 deletions
modules/nixos

View file

@ -14,9 +14,9 @@ in
};
};
config.satellite.cloudflared.proxy = from: port: {
config.satellite.cloudflared.proxy = from: {
${cfg.tunnel} = {
ingress.${from} = "http://localhost:${toString port}";
ingress.${from} = "http://localhost:443";
};
};
}