🐦‍⬛Documentation

Subfolder Proxy

Configure subfolder proxying in Caddy

If you wish you reverse proxy a subfolder, for example JFA-GO under /accounts. You will need to add an extra handle within your config. In this example:

  • EVERYTHING will reverse proxy to 8096
  • Subfolder prefixed /accounts will reverse proxy to 8056 (My JFA-Go port)
domain.com {
	reverse_proxy 100.64.0.1:8096

	handle {
		reverse_proxy /accounts* 100.64.0.1:8056
	}

... File continued ...