Polygant / OpenCEX

OpenCEX free open-source cryptocurrency exchange engine. Industry standard.
https://polygant.net/opencex
Apache License 2.0
77 stars 74 forks source link

Error on caddy proxy for rabbitmq #7

Open joequant opened 1 year ago

joequant commented 1 year ago

I am getting errors

opencex-caddy-1 | {"level":"info","ts":1681687764.4009528,"logger":"docker-proxy","msg":"Process Caddyfile","logs":"[ERROR] Removing invalid block: Caddyfile:2: unrecognized global option: reverse_proxy\n{\n\treverse_proxy http://172.18.0.6:15672\n}\n\n"}

The result for this error is that RMQDOMAIN is not set in the config script causing the label block for rabbitmq to read....

labels: caddy: caddy.reverse_proxy: "{{upstreams http 15672}}"

Not sure what is the right item to put here.