KasmVNC/Opera Apache Reverse Proxy

Hi,

i’m hosting linuxserver/opera in my docker LAN
im exposing 3000(http) and 3001(https). Everything is working fine if I access from inside my LAN.

now I’m planning to exposed to public via my Apache using Reverse Proxy
but getting this error

here’s my reverse proxy config

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

can someone help me to make it work?
i’m ok if subdomain is not possible (need to use subpath)

We do not provide support for reverse proxies outside of our own, swag. Best-effort community support may be sought in #other-support on our discord server, though im not sure if very many people actually use apache anymore.