Hello, we have a new spa running on netlify, and with this one we decided to create a proxy redirect to hide our api and for CORS. The site and the redirect work mostly great, but we have had a few 502 errors returned from api calls to the proxy rewrite randomly. Can anyone check out what might be happening?
x-nf-request-id on a 503 response captured with Logrocket:
Redirect rule in netlify.toml (placeholder is replaced with a custom build command):
[[redirects]] from = "/api/*" to = "API_URL_PLACEHOLDER/:splat" force = true status = 200