@if ($server->proxyType())
@if ($selectedProxy !== 'NONE')

Configuration

@if ($server->proxy->status === 'exited' || $server->proxy->status === 'removing') Switch Proxy @else Switch Proxy @endif Save
Before switching proxies, please read this.
@if ($server->proxyType() === 'TRAEFIK_V2')

Traefik

@elseif ($server->proxyType() === 'CADDY')

Caddy

@endif @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 Caddy (experimental) Nginx
@endif