Upstream content not being preserved


I’m front-ending several endpoints with kong as an api gateway.

One of my upstream URLs is a fastAPI server, which works fine. However, for giggles, I go to the auto-generated “docs” page and I get an error for it being unable to grab the /opanapi.json file.

I’ve noticed this with other endpoints as well, images, css files, essentially all static content does not get delivered to the client using the api gateway URLs.

Is this always expected behavior or is there some type of config I’m missing?

Still not sure about this question. Is it expected behavior?

I figured this out. We are front-ending AWX with kong and the static content is all served via “/static/” so I created that as an endpoint, pointing to the same backend as my new endpoint and the images/css all seem to load correctly now.