{
	auto_https off
	admin off
	servers {
		protocols h1 h2
	}
}

http://localhost {
	handle /health {
		reverse_proxy api-server:9101
	}

	handle /ws* {
		reverse_proxy api-server:9101
	}

	handle /api/* {
		reverse_proxy api-server:9101
	}

	handle {
		respond 404
	}
}

https://localhost {
	tls internal

	handle /health {
		reverse_proxy api-server:9101
	}

	handle /ws* {
		reverse_proxy api-server:9101
	}

	handle /api/* {
		reverse_proxy api-server:9101
	}

	handle {
		respond 404
	}
}
