@php use App\Enums\ProxyTypes; @endphp
@if ($server->settings->is_usable) @if ($server->proxy->type)
@if ($selectedProxy->value === '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
@endif @else

Proxy

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