Chatwoot Production Error and Nginx Configuration

TLDR thomazrdamasceno experiences a Chatwoot error in the browser console with production environment using nginx. sojan_official shares a reference for assistance.

Photo of thomazrdamasceno
thomazrdamasceno
Wed, 17 May 2023 12:45:32 UTC

Hello everyone, I'm new with chatwoot, I'm using own hosting and it's working ok, but consulting the browser console I noticed the following error: I believe it is related to the chat, can anyone help me with this?

Photo of thomazrdamasceno
thomazrdamasceno
Wed, 17 May 2023 12:52:55 UTC

When I go up to localhost:3000 it works perfectly, but it doesn't work in production. Note, I'm using nginx with the following configuration:

Photo of sojan_official
sojan_official
Fri, 19 May 2023 13:49:42 UTC

ref: https://discord.com/channels/647412545203994635/1108463256969945159/1109112938796695612