I’m experiencing an issue with a GeoServer 2.7.2 instance which is accessed using a reverse proxy.
We set Proxy Base URL in Global Settings to make sure links served by Capabilities documents, layer previews, etc. are coorect.
However, GWC does not seem to respect this variable. When accessing a cached layer via GWC as follows:
<proxy_base_url>/gwc/service/kml/.png.kml where proxy_base_url is https://<proxy_host>/geoserver
The network links returned are formed as such:
http://<request_host>/geoserver/gwc/service/kml/auto/x0y0z0.png.kml
If I access GeoServer directly (instead of through proxy), everything works fine. Is it possible that the GWC service just uses the request URL to generate the link, and skips lookup of proxy base URL?
Thank you.
···
Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
jason@anonymised.com