Another option would be to modify the metadata that tells the client where the getlegend service is located, and then do some query rewriting in the reverse proxy.
Is it possible to modify the info about the URL of the Legend service? On Mon, Nov 02, 2020 at 01:57:21PM +0000, Eduardo Suárez wrote: > We have deployed a geoserver instance behind a reverse proxy, redirecting the > path 'gwc/service' to our geoserver backend. It works fine to publish wmts and > getfeatureinfo. > > However, the legend cannot be found under the gwc/service path. > > Is there a way to publish the legend url as: > > http://my.server/geoserver/gwc/service/ows?service=WMS&request=GetLegendGraphic > ... > > instead of: > > http://my.server/geoserver/ows?service=WMS&request=GetLegendGraphic ... > > ? > > Thanks in advance. _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
