With strip_path true - the default - Kong removes the matched prefix before proxying. The upstream sees a path it may not route, and a 404 from your service looks identical to a 404 from Kong.
Run this yourself in the Online Java Compiler, spin up a live REST API in the API Sandbox, or practise with Java interview questions.
Published 2026-08-25