Reverse Proxy to RabbitMQ

1. The problem I’m having:

I cannot get my ampqs/ampq connection to work with caddy (direct to ip/port works).

amqp.example.dev {
    reverse_proxy localhost:5672
}

2. Error messages and/or full log output:

“msg”:"net/http: HTTP/1.x transport connection broken: malformed HTTP response "AMQP\x00\x00\t\x01"

3. Caddy version:

latest

I don’t think AMQP is HTTP. Caddy is an HTTP server.

If you need to proxy TCP traffic, you’ll need to use something like GitHub - mholt/caddy-l4: Layer 4 (TCP/UDP) app for Caddy

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.