Reverse Proxy Ghost blog on Subpath breaking jquery

Please upgrade to v2.4.6, there’s plenty of important fixes.

A path matcher of / will only match requests to exactly / and nothing else.

I think what you want is this:

:3000 {
	handle_path /blog* {
		reverse_proxy localhost:2368
	}

	handle {
		reverse_proxy localhost:2000
	}
}

But proxying to a subpath often doesn’t work depending on the paths the upstream app tries to load. See this article which explains in depth:

1 Like