• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Web Client TeaWeb (docker) with apache proxy

UncleSam

New member
Hi there,

I want to make TeaWeb available on my own webpage. As I am using a control panel with an Apache2 webserver I cannot redirect port 80 and 443 as they are alread in use.
So I made a subdomain and configured Apache2 to proxypass the traffic to my internal TeaWeb (which runs with docker).

But something is not working:
1628839571486.png
Failed to invoke main function - Exception 0x805e0006 line 1 data: no

To test if this is a redirection error I opened the docker port 443 to another port and using that it is working. But then everyone needs to enter the address, provides a valid port and have to accept a self signed cert - would love to avoid that.

So is there anyone who can help me getting this to work using apache2 as reverse proxy?

My current configuration of apache2:
Code:
# to accept all kind of certs without testing it (without the redirect is not going to work)
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off

# 172.20.43.2 is the internal ip of the TeaWeb docker container
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port 443
ProxyPreserveHost On
ProxyPassMatch "^/((?!(?:errors|\.well-known)/acme-challenge/).*)" "https://172.20.43.2/$1" retry=30 timeout=7200
ProxyPassReverse "/" "https://172.20.43.2/"
 

Attachments