Engine

{#if e?.state === "stopped"}

Visitors may not reach any host. Switching to {other} is the quickest way back.

{:else}

{#if e?.since}Since {whenInline(e.since, app.now)}. {/if} {#if running === "pingora"} {#if notReady}Caddy is not ready: its settings have not been built yet.{:else if differs > 0}Caddy was built {whenInline(fr?.built_at, app.now)} with the same routes, but {differs} of {fr?.compared} {fr?.compared === 1 ? "host" : "hosts"} {differs === 1 ? "behaves" : "behave"} differently on it.{:else}Caddy is ready with the same routes: built {whenInline(fr?.built_at, app.now)}{fr?.compared ? (fr.compared === 1 ? ", and the host behaves the same" : `, and all ${fr.compared} hosts behave the same`) : ""}.{/if} {#if !notReady && !fr?.current} It is rebuilt from the current routes when you switch.{/if} {:else}Pingora is ready with the same routes.{/if}

{#if running === "pingora" && !notReady && fr?.differences.length}
{/if} {/if}

What happens

  • {name} stops and {other} starts. New visits reach {other} in about 2 seconds.
  • Open connections close; videos and uploads in progress restart.
  • Hosts and certificates stay the same.
  • {#if running === "pingora"}
  • Share links stop working while Caddy serves: visitors with a link get the normal sign-in. They work again when you switch back.{#if activeLinks}{" "}{activeLinks === 1 ? "1 share link is" : `${activeLinks} share links are`} active.{/if}
  • Changes keep working: Ianitor tries each one on Caddy and undoes it if a host stops answering.
  • {:else}
  • Share links work again.
  • {/if}
  • This page may lose contact for a few seconds.
{#if switching}

Switching to {other}

{/if} {#if problem}{#snippet title()}{problem}{/snippet}{/if} {#if disabledReason}

{disabledReason}

{/if} {#snippet footer()} {/snippet}