Status
Host
Sends traffic to
More
{#each sorted as h (h.hostname)}
{@const [k, w] = kind(h)}
{@const s = sub(h)}
{h.hostname}
{#each chips(h) as c (c)}{c}{/each}
{w}{phoneDetail(h) ? ` · ${phoneDetail(h)}` : ""}
{h.upstreams[0] ?? ""}{#if h.upstreams.length > 1}{" "}+{h.upstreams.length - 1} more{/if}
{running.includes(h.hostname) ? "Changing now · " : ""}{s.text}
{#if h.certificate.state === "pending"}Waiting for Let's Encrypt to issue the certificate.{/if}
{#if h.certificate.state === "failed"}
Let's Encrypt could not confirm {h.hostname}. The name must point to this server, and port 80 must be open from the internet.
{/if}
onshare(h.hostname) },
{ label: "Edit host", icon: "pencil", reason: blocked, run: () => onedit(h.hostname) },
{ label: "Show in history", icon: "history", run: () => onhistory(h.hostname) },
{ label: "Remove host", icon: "trash", danger: true, divider: true, reason: blocked, run: () => onremove(h.hostname) },
]} />
{/each}