GeoServer-devel,
I would like to propose a community module that would allow administrators to use incoming service requests as the basis for backlink generation. Configurable transformations would be along the lines of …/geoserver/ogc/stac/v1 → stac.host.org/v1 …/geoserver/ogc/features/v1 → features.host.org/v1 and …/geoserver/wms → wms.host.org
The module would be for backlink generation only (not proxying) using URLMangler. Unlike the existing Proxy Base URL configuration in the Global Settings, this module would work against both the path and base URL at the same time. Also, unlike Proxy Base URL, variables would not need to be enumerated. Instead the admin would use regular expressions to match headers to ${…}" tokens.
Admins will have the option to configure using a table based GUI or with the REST API.
Thanks,
Joe Miller