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

Configuration

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')

Configuration

Switch Proxy
Custom (None) Proxy Selected
@else

Configuration

Switch Proxy
@endif @else

Configuration

Select a proxy you would like to use on this server.
Custom (None) Traefik v2 Nginx Caddy
@endif