Update WebSocket URL in terminal.blade.php to include /ws for consistency with the server configuration.

This commit is contained in:
Andras Bacsai
2024-09-13 16:58:16 +02:00
parent cddf8476de
commit dcf91cc034
4 changed files with 15 additions and 15 deletions

View File

@@ -310,7 +310,7 @@ respond 404
0 => 'http',
],
'service' => 'coolify-terminal',
'rule' => "Host(`{$host}`) && PathPrefix(`/terminal`)",
'rule' => "Host(`{$host}`) && PathPrefix(`/terminal/ws`)",
],
],
'services' => [
@@ -375,7 +375,7 @@ respond 404
0 => 'https',
],
'service' => 'coolify-terminal',
'rule' => "Host(`{$host}`) && PathPrefix(`/terminal`)",
'rule' => "Host(`{$host}`) && PathPrefix(`/terminal/ws`)",
'tls' => [
'certresolver' => 'letsencrypt',
],
@@ -413,7 +413,7 @@ $schema://$host {
handle /app/* {
reverse_proxy coolify-realtime:6001
}
handle /terminal/* {
handle /terminal/ws/* {
reverse_proxy coolify-realtime:6002
}
reverse_proxy coolify:80