From 116995274c49da63a9e18ec6a85423071e175280 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 19 Jul 2022 12:26:53 +0200 Subject: Adding apache2 reverse-proxy configuration. Signed-off-by: Daniel Baumann --- debian/local/apache2/ttyd.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debian/local/apache2/ttyd.conf (limited to 'debian/local/apache2/ttyd.conf') diff --git a/debian/local/apache2/ttyd.conf b/debian/local/apache2/ttyd.conf new file mode 100644 index 0000000..d30fab8 --- /dev/null +++ b/debian/local/apache2/ttyd.conf @@ -0,0 +1,18 @@ +# /etc/apache2/conf-available/ttyd.conf + + + ProxyRequests Off + ProxyPreserveHost On + + ProxyPass /ttyd/ws ws://localhost:7681/ws + ProxyPassReverse /ttyd/ws ws://localhost:7681/ws + + ProxyPass /ttyd/ http://localhost:7681/ keepalive=on + ProxyPassReverse /ttyd/ http://localhost:7681/ + + + + Include /etc/ttyd/apache2-auth.conf + + + -- cgit v1.2.3