diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-19 11:32:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-19 11:32:38 +0000 |
commit | 0409e98822a933e551cbbbfa6ac9542cc24f3be6 (patch) | |
tree | 097218ff5e3cc0be95fa098f9f6a7b7e8f083e2f /debian/local/apache2/ttyd.conf | |
parent | Adding TODO file. (diff) | |
download | ttyd-tmp-apache2.tar.xz ttyd-tmp-apache2.zip |
Updating.tmp-apache2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local/apache2/ttyd.conf')
-rw-r--r-- | debian/local/apache2/ttyd.conf | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/debian/local/apache2/ttyd.conf b/debian/local/apache2/ttyd.conf index 3a1c927..66b1850 100644 --- a/debian/local/apache2/ttyd.conf +++ b/debian/local/apache2/ttyd.conf @@ -1,12 +1,25 @@ # /etc/apache2/conf-available/ttyd.conf -<IfModule mod_proxy.c> - ProxyRequests Off - ProxyPreserveHost On +<IfModule rewrite_module> + <IfModule proxy_http_module> + <IfModule proxy_wstunnel_module> + ProxyPreserveHost On + ProxyRequests Off - ProxyPass /ttyd/ws ws://localhost:7681/ws - ProxyPassReverse /ttyd/ws ws://localhost:7681/ws + ProxyPass /ttyd/token ws://localhost:7681/token + ProxyPassReverse /ttyd/token ws://localhost:7681/token - ProxyPass /ttyd/ http://localhost:7681/ keepalive=on - ProxyPassReverse /ttyd/ http://localhost:7681/ + ProxyPass /ttyd/ws ws://localhost:7681/ws + ProxyPassReverse /ttyd/ws ws://localhost:7681/ws + + ProxyPass /ttyd http://localhost:7681 + ProxyPassReverse /ttyd http://localhost:7681 + + <IfFile /etc/ttyd/apache2-auth.conf> + <Location /ttyd> + Include /etc/ttyd/apache2-auth.conf + </Location> + </IfFile> + </IfModule> + </IfModule> </IfModule> |