-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Traefik instead of HAProxy #229
base: main
Are you sure you want to change the base?
Conversation
Copyright (c) Meta Platforms, Inc. and affiliates.License found in the LICENSE file in the root directoryof this source tree.version: '3.3' services: |
I need to share my what's app image or file.but i Can't |
@GoOd91BoY you should use markdown code block if you want to share your compose.yml config.
and why not? |
Thanks for this! I'm a bit doubtful Meta will merge any time soon, but it's certainly a useful WhatsApp proxy with more minimal config. For others that think this sounds useful you can use it more easily on the author's branch here: https://github.com/ttimasdf/whatsapp-proxy/blob/with-traefik/traefik/README.md |
Do you need two separate servers for WhatsApp proxy and Traefik? Otherwise, the ports will conflict. |
Doesn't work |
if I run
|
This PR adds a full configuration to setup a WhatsApp proxy with Traefik, expose similar ports to existing haproxy configuration, but with a much simpler setup process and more versatile configurations.
The main advantages over HAProxy include:
docker compose up -d
is all we need.whatsapp-<host-ip>.traefik.me
but easy configurable, user can change towhatever-<host-ip>.other-wildcard-dns.provider
even their own domain names.The domain name is essentially the password for accessing the proxy, while others can only see an empty 404 page, which resolves How to minimise the detection factors? #16, also resolves Using domain/sub-domain instead of an IP #120. The only server fingerprint is the default TLS certificate which only indicate it being a traefik server but not whatsapp proxy server. and it can also be further anonymized easily
the server name setting can even be hot reloaded (a traefik feature😉)
traefik.toml
andwhatsapp_proxy.toml
. However the certificate is not very important because WhatsApp client does not verify this certificate, and medias are sent with TLS passthrough, the connection of which is already secure.I'd recommend Traefik to be the default option for average users, but let it be an alternative for now 😉