Caddy reverse proxy for neo4j

1. The problem I’m having:

is there a configuration to support neo4j bolt port (7687). caddy works fine for neo4j port 7474 but I cannot find document on how to do the port 7687 too

2. Error messages and/or full log output:

just timeout on connection

3. Caddy version:


4. How I installed and ran Caddy:

a. System environment:

linux binary download on ubuntu 22.04

b. Command:

caddy run

c. Service/unit/compose file:


d. My complete Caddy config:

	https_port 8443
	http_port 8687
:8687 {
	reverse_proxy {
:8443 {
 tls internal {
	reverse_proxy {
		transport http  {
			read_buffer 4096 

5. Links to relevant resources:

Caddy is an HTTP proxy. Are you sure that Neo4j is using HTTP?

Turn on the debug global option. What do you see in your logs?

You might be better served by GitHub - mholt/caddy-l4: Layer 4 (TCP/UDP) app for Caddy for TCP proxying instead.

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