Attempt to use cloudflare tunnel through nginx
This commit is contained in:
parent
ff95e830d1
commit
ebcfef4bd3
3 changed files with 44 additions and 39 deletions
modules/nixos
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue