Add configurable terminal port support and update translations

- Updated nginx configuration to use a placeholder for terminal port.
- Modified run.sh to read terminal port from options file and start ttyd on the specified port.
- Added terminal port configuration option in English, Bulgarian, German, and Spanish translations.
This commit is contained in:
techartdev
2026-02-05 09:57:41 +02:00
parent e6d6f62da6
commit 9e4987d25f
6 changed files with 32 additions and 7 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ http {
# Proxy everything under /terminal/ (including websocket /terminal/ws)
location ^~ /terminal/ {
# IMPORTANT: no trailing slash in proxy_pass so nginx preserves the full URI
proxy_pass http://127.0.0.1:7681;
proxy_pass http://127.0.0.1:__TERMINAL_PORT__;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";