@php use App\Enums\ProxyTypes; @endphp
@if ($server->proxyType())
@if ($selectedProxy !== 'NONE')

Configuration

@if ($server->proxy->status === 'exited' || $server->proxy->status === 'removing') @can('update', $server) @endcan @else Switch Proxy @endif Save
Configure your proxy settings and advanced options.
@if ( $server->proxy->last_applied_settings && $server->proxy->last_saved_settings !== $server->proxy->last_applied_settings) The saved proxy configuration differs from the currently running configuration. Restart the proxy to apply your changes. @endif

Advanced

@if ($redirectEnabled) @endif
@php $proxyTitle = $server->proxyType() === ProxyTypes::TRAEFIK->value ? 'Traefik (Coolify Proxy)' : 'Caddy (Coolify Proxy)'; @endphp @if ($server->proxyType() === ProxyTypes::TRAEFIK->value || $server->proxyType() === 'CADDY')
proxyType() === ProxyTypes::TRAEFIK->value) x-data="{ traefikWarningsDismissed: localStorage.getItem('callout-dismissed-traefik-warnings-{{ $server->id }}') === 'true' }" @endif>

{{ $proxyTitle }}

@can('update', $server) @if ($proxySettings) @endif @endcan @if ($server->proxyType() === ProxyTypes::TRAEFIK->value) @endif
@if ($server->proxyType() === ProxyTypes::TRAEFIK->value)
@if ($server->detected_traefik_version === 'latest') Your proxy container is running the latest tag. While this ensures you always have the newest version, it may introduce unexpected breaking changes.

Recommendation: Pin to a specific version (e.g., traefik:{{ $this->latestTraefikVersion }}) to ensure stability and predictable updates.
@elseif($this->isTraefikOutdated) Your Traefik proxy container is running version v{{ $server->detected_traefik_version }}, but version {{ $this->latestTraefikVersion }} is available.

Recommendation: Update to the latest patch version for security fixes and bug fixes. Please test in a non-production environment first.
@endif @if ($this->newerTraefikBranchAvailable) A new minor version of Traefik is available: {{ $this->newerTraefikBranchAvailable }}

You are currently running v{{ $server->detected_traefik_version }}. Upgrading to {{ $this->newerTraefikBranchAvailable }} will give you access to new features and improvements.

Important: Before upgrading to a new minor version, please read the Traefik changelog to understand breaking changes and new features.

Recommendation: Test the upgrade in a non-production environment first.
@endif
@endif
@endif @if ($proxySettings)
@endif
@elseif($selectedProxy === 'NONE')

Configuration

@can('update', $server) Switch Proxy @endcan
Custom (None) Proxy Selected
@else

Configuration

@can('update', $server) Switch Proxy @endcan
@endif @else

Configuration

Select a proxy you would like to use on this server.
@can('update', $server)
Custom (None) Traefik Caddy {{-- Nginx --}}
@else You don't have permission to configure proxy settings for this server. @endcan
@endif