From 32df41dfc17967684a53e95c3187545aaae52367 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 21 Jul 2022 07:14:12 +0200 Subject: Using 127.0.0.1 instead of localhost in apache2 config to work on ipv6-only systems too. Signed-off-by: Daniel Baumann --- debian/local/apache2/ttyd.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/local/apache2/ttyd.conf b/debian/local/apache2/ttyd.conf index 2035f57..f096811 100644 --- a/debian/local/apache2/ttyd.conf +++ b/debian/local/apache2/ttyd.conf @@ -4,11 +4,11 @@ ProxyRequests Off ProxyPreserveHost On - ProxyPass /ttyd/ws ws://localhost:7681/ws - ProxyPassReverse /ttyd/ws ws://localhost:7681/ws + ProxyPass /ttyd/ws ws://127.0.0.1:7681/ws + ProxyPassReverse /ttyd/ws ws://127.0.0.1:7681/ws - ProxyPass /ttyd http://localhost:7681 keepalive=on - ProxyPassReverse /ttyd http://localhost:768 + ProxyPass /ttyd http://127.0.0.1:7681 keepalive=on + ProxyPassReverse /ttyd http://127.0.0.1:768 -- cgit v1.2.3