Instead I've decided we can just use caddy to properly send posts to /api and then caddy redirects to the web api server.