Open kenjenkins opened 6 months ago
Apologies for not responding to this sooner. Yes, more examples and information in general would be helpful.
Side note: the pgAdmin 4 link 404s. Is this config example along the lines of what you mean?
Though this might not be a good example, if their documentation site frequently breaks existing URLs.
After discussion in DocsSync last week, I've decided we should add an admonition at the top of this page. I'll add a new issue to create a guide on configuring an upstream service to respond to path rewrites.
Page: https://www.pomerium.com/docs/reference/routes/path-rewriting
What's incorrect or missing
We've had a couple recent issue reports that path rewriting does not behave as users expect:
As well as a similar Slack thread last month:
What's the resolution?
I think it would be good to add some note or callout on this page to mention that just rewriting a path prefix in Pomerium is often not enough to serve a particular upstream service under a path prefix. Many upstream services will also need to be configured appropriately, so that they add this path prefix to any link URLs, HTTP redirects, etc.
We could even add a few examples of relevant configuration options, to help users get a sense of what to look for when they search the documentation for the service they are using. For example: