From 537fc97d53315835ac674249bfcd179c2f14c33f Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 7 Aug 2026 03:30:03 +0200 Subject: [PATCH] feat: Use Unix sockets for internal services (#1354) --- Dockerfile | 6 +++++- src/network.sh | 4 ---- src/server.sh | 16 ++++++++-------- web/conf/nginx.conf | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c4200a..c8d1623 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ ARG TARGETARCH ARG TARGETPLATFORM ARG VERSION_ARG="0.0" +ARG VERSION_WSD="0.4.2" ARG VERSION_CSTRUCT="4.7" ARG VERSION_PASST="2026_07_28" @@ -39,7 +40,6 @@ RUN <"$WSD_LOG" 2>&1 & diff --git a/web/conf/nginx.conf b/web/conf/nginx.conf index ee98c2a..1d3e6af 100644 --- a/web/conf/nginx.conf +++ b/web/conf/nginx.conf @@ -39,6 +39,6 @@ server { proxy_read_timeout 3600s; proxy_send_timeout 3600s; - proxy_pass http://127.0.0.1:8004/; - } + proxy_pass http://unix:/run/shm/status-ws.sock:/; + } }