@if ($server->isFunctional()) @if (data_get($server, 'proxy.type'))
@if ($selectedProxy === 'TRAEFIK_V2')

Proxy

Save @if ($server->proxy->status === 'exited') Switch Proxy @endif
Traefik v2
@if ( $server->proxy->last_applied_settings && $server->proxy->last_saved_settings !== $server->proxy->last_applied_settings)
Configuration out of sync. Restart the proxy to apply the new configurations.
@endif
@if ($proxy_settings)
Reset configuration to default
@endif
@elseif($selectedProxy === 'NONE')

Proxy

Switch Proxy
None
@else

Proxy

Switch Proxy
@endif @else

Proxy

Select a proxy you would like to use on this server.
Custom (None) Traefik v2 Nginx Caddy
@endif @else
Server is not validated. Validate first.
@endif