mpd: server stream + remote clients over tunnel
This commit is contained in:
1 parent
73a0527a33
commit
0ff70fc78c
3 files changed
+93
-35
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{
|
||||
den.quirks.tunnel.description = "cloudflared ingress: { subdomain, port }";
|
||||
den.quirks.tunnel.description = "cloudflared ingress: { subdomain, port, scheme ? \"http\" }";
|
||||
|
||||
# per host: den.hosts.<sys>.<host>.cloudflared = { uuid = "..."; protocol = "http2"; # optional };
|
||||
den.aspects.services.cloudflared = {
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
ingress = lib.listToAttrs (map (t: {
|
||||
name = "${t.subdomain}.${domain}";
|
||||
value = "http://127.0.0.1:${toString t.port}";
|
||||
value = "${t.scheme or "http"}://127.0.0.1:${toString t.port}";
|
||||
}) tunnel);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user