Open pierrecorsini opened 8 months ago
assuming you have caddy in front of RC that runs on port 3000 adapt this kind of configuration In cas you run localhost replace [IP] with 127.0.0.1 or the (local) IP of your service. Caddyfile:
your.domain {
reverse_proxy [IP]:3000
header Access-Control-Allow-Methods "POST, GET, OPTIONS"
header Access-Control-Allow-Headers "*"
}
The headers are for omni channel widgets on other domain websites.
Scenario:
Expected:
No error. This is from https://docs.rocket.chat/deploy/deploy-rocket.chat/deploy-with-snaps#deploy-rocket.chat-with-snaps.
Actual: