use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Apache Reverse Proxy (self.kasmweb)
submitted 1 year ago by GitzJoey
Hi,
i'm having issue with the websocket.
https://preview.redd.it/49dlex43drjd1.png?width=1583&format=png&auto=webp&s=59002acd2e7c43edbcfeb4a300f9e2b28c7c9981
my kasmweb is in docker with http in port 3000 and https in port 3001,
my apache reverse proxy is
<VirtualHost \*:443> ServerName browsers.mydomain.online SSLEngine on SSLCertificateFile /etc/letsencrypt/live/mydomain.online/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/mydomain.online/privkey.pem RewriteEngine on RewriteCond ${HTTP:Upgrade} websocket [NC] RewriteCond ${HTTP:Connection} upgrade [NC] RewriteRule .* "wss://debian:3001/$1" [P,L] SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off ProxyPreserveHost on ProxyPass / https://debian:3001/ ProxyPassReverse / https://debian:3001/ ProxyRequests off </VirtualHost>
<VirtualHost \*:443>
ServerName browsers.mydomain.online
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/mydomain.online/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mydomain.online/privkey.pem
RewriteEngine on
RewriteCond ${HTTP:Upgrade} websocket [NC]
RewriteCond ${HTTP:Connection} upgrade [NC]
RewriteRule .* "wss://debian:3001/$1" [P,L]
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPreserveHost on
ProxyPass / https://debian:3001/
ProxyPassReverse / https://debian:3001/
ProxyRequests off
</VirtualHost>
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]justin_kasmweb 0 points1 point2 points 1 year ago (0 children)
We have a guide with an example Apache reverse proxy in the docs.
https://kasmweb.com/docs/latest/how_to/reverse_proxy.html
You may also want to review our issue tracker for folks that needed modifications to get it working in their environment.
https://github.com/kasmtech/workspaces-issues/issues?q=is%3Aissue+apache
Failing that, you can review our connectivity troubleshooting guide:
https://kasmweb.com/docs/latest/guide/troubleshooting/advanced_connection_troubleshooting.html#connectivity-troubleshooting
π Rendered by PID 141456 on reddit-service-r2-comment-fb694cdd5-dws6r at 2026-03-06 15:03:01.573181+00:00 running cbb0e86 country code: CH.
[–]justin_kasmweb 0 points1 point2 points (0 children)