[MapProxy] WMTSCapabilities.xml serving ResourceUrl as http for https server when using another port

Matt Walker 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
for details.

Kind regards,


On Mon, 22 Mar 2021, 14:42 Andrew Mansfield, <haymansfield at gmail.com> wrote:

> Hi,
> 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,
> Regards,
> haymansfield
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20210322/721b51c7/attachment.html>

More information about the MapProxy mailing list