Client IP detection

How many reverse proxies sit in front of Minstrel. This decides which address is recorded for each sign-in on the Active sessions card, so getting it right is what makes an unfamiliar login visible.

{#if loadError}

Couldn't load network settings.

{:else if settings === null}

Loading…

{:else}
Your address right now
{settings.detected_client_ip || 'unknown'}
Direct connection from
{settings.remote_addr || 'unknown'}
Forwarded chain
{settings.forwarded_chain || '(none)'}
{#if suggested > 0 && settings.trusted_proxy_hops !== suggested}

This request arrived with {suggested} {suggested === 1 ? 'forwarded address' : 'forwarded addresses'}, which usually means {suggested} {suggested === 1 ? 'proxy' : 'proxies'} in front of Minstrel.

{/if}

{/if}