[MapProxy] WMTSCapabilities.xml serving ResourceUrl as http for https server when using another port
walkermatt at longwayaround.org.uk
Mon Mar 22 11:58:49 PDT 2021
Try setting the X-Forwarded-Proto header before forwarding the request onto
MapProxy. See https://mapproxy.org/docs/nightly/deployment.html#http-proxy
On Mon, 22 Mar 2021, 14:42 Andrew Mansfield, <haymansfield at gmail.com> wrote:
> I am serving an wmts layer from an https url using the awesome mapproxy.
> This works absolutely fine when served from port 443. However when I serve
> this from port 8443 the Resource url in the WMTSCapabilities.xml document
> is returning as http (which then cannot be served.)
> Is there any way I can enforce that the resource url should be https?
> Any assistance would be greatly appreciated,
> MapProxy mailing list
> MapProxy at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MapProxy