summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-21 05:14:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-21 05:14:12 +0000
commit32df41dfc17967684a53e95c3187545aaae52367 (patch)
treefe52124fe317ba977a8ac621c71b7ebb951433ab
parentCorrecting typo of ProxyPassReverse directive name in apache2 config. (diff)
downloadttyd-32df41dfc17967684a53e95c3187545aaae52367.tar.xz
ttyd-32df41dfc17967684a53e95c3187545aaae52367.zip
Using 127.0.0.1 instead of localhost in apache2 config to work on ipv6-only systems too.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/local/apache2/ttyd.conf8
1 files 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
<IfFile /etc/ttyd/apache2-auth.conf>
<Location /ttyd>