Proxy Startup Logs
@if ($server->id === 0)
Note: This is the localhost server where Coolify runs. During proxy restart, the connection may be temporarily lost. If logs stop updating, please refresh the browser after a few minutes.
@endif
@php $serverRouteParameters = ['server_uuid' => $server->uuid]; $serverMenuItems = [ [ 'label' => 'Configuration', 'route' => 'server.show', 'active' => request()->routeIs( 'server.show', 'server.advanced', 'server.private-key', 'server.cloud-provider-token', 'server.ca-certificate', 'server.cloudflare-tunnel', 'server.docker-cleanup', 'server.destinations', 'server.log-drains', 'server.metrics', 'server.swarm', 'server.delete', ), ], [ 'label' => 'Proxy', 'route' => 'server.proxy', 'active' => request()->routeIs('server.proxy', 'server.proxy.*'), 'visible' => ! $server->isSwarmWorker() && ! $server->settings->is_build_server, 'warning' => $this->hasTraefikOutdated, ], [ 'label' => 'Sentinel', 'route' => 'server.sentinel', 'active' => request()->routeIs('server.sentinel', 'server.sentinel.*'), 'visible' => $server->isFunctional() && ! $server->isSwarm() && ! $server->settings->is_build_server && auth()->user()?->can('viewSentinel', $server), 'warning' => $server->isSentinelEnabled() && ! $server->isSentinelLive(), ], [ 'label' => 'Resources', 'route' => 'server.resources', 'active' => request()->routeIs('server.resources'), ], [ 'label' => 'Terminal', 'route' => 'server.command', 'active' => $currentRoute === 'server.command', 'navigate' => false, 'visible' => auth()->user()?->can('canAccessTerminal'), ], [ 'label' => 'Security', 'route' => 'server.security.patches', 'active' => request()->routeIs('server.security.*'), 'visible' => auth()->user()?->can('update', $server), ], ]; $serverMenuItems = array_values(array_filter( $serverMenuItems, fn (array $item): bool => $item['visible'] ?? true, )); $activeServerMenuItem = collect($serverMenuItems)->firstWhere('active', true) ?? $serverMenuItems[0]; $activeServerMenuNavigation = ($activeServerMenuItem['navigate'] ?? true) ? 'navigate' : 'location'; $activeServerMenuValue = $activeServerMenuNavigation.'|'.route( $activeServerMenuItem['route'], $serverRouteParameters, ); $showSentinelStatus = $server->isFunctional() && $server->isSentinelEnabled(); $proxyCanBeStopped = in_array($proxyStatus, ['running', 'starting', 'restarting'], true); @endphp @teleport('#server-topbar-context')
/
@endteleport
{{-- Name lives in the desktop topbar (teleport) from lg up. Below that the mobile topbar has no resource context, so show the H1 through lg. --}}

{{ $server->name }}

{{-- Resource actions stay available below the desktop action HUD. Navigation lives in the sidebar. --}}
@if ($server->proxySet()) @can('manageProxy', $server)
@if ($proxyCanBeStopped) @if ($traefikDashboardAvailable) Traefik Dashboard @endif @else @endif
{{-- Programmatic open only (clicked from the Actions menu). Keep fully display:none so the modal shells never reserve a layout row. --}}
@endcan @endif
@foreach ($serverMenuItems as $menuItem) $menuItem['active'], ]) @if ($menuItem['active']) aria-current="page" @endif @if ($menuItem['navigate'] ?? true) {{ wireNavigate() }} @endif href="{{ route($menuItem['route'], $serverRouteParameters) }}"> {{ $menuItem['label'] }} @endforeach
@teleport('#resource-action-hud-slot')
@foreach ($serverMenuItems as $menuItem) $menuItem['active'], ]) @if ($menuItem['active']) aria-current="page" @endif @if ($menuItem['navigate'] ?? true) {{ wireNavigate() }} @endif href="{{ route($menuItem['route'], $serverRouteParameters) }}"> {{ $menuItem['label'] }} @if ($menuItem['warning'] ?? false) @endif @endforeach @if ($server->proxySet()) @can('manageProxy', $server)
@if ($proxyCanBeStopped) @else @endif
@if ($traefikDashboardAvailable) Traefik Dashboard @endif
@endcan @endif
@endteleport
@script @endscript