Skip to content

Docker and websocket "cable" #7492

Discussion options

You must be logged in to vote

I found your post really helpful setting up my configuration, but the configuration here didn't quite work for me for a few reasons. I'm trying to setup a production instance of Chatwoot using apache as the reverse proxy. But I'm using HTTPS and certbot for the front end in addition to the standard docker setup.

Here's the configuration that worked for me, I deployed as a config file in /etc/apache2/conf-available/chatwoot-proxy.conf and then used a2enconf chatwoot-proxy.conf to enable.

<VirtualHost *:80>
    ServerName domain.tld

    ProxyPass /cable ws://127.0.0.1:3000/cable upgrade=websocket
    ProxyPassReverse /cable ws://127.0.0.1:3000/cable upgrade=websocket

    ProxyPass / http:…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sojan-official
Comment options

Answer selected by sojan-official
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants