# /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