[mapserver-users] Mapserver behind proxyserver

Edward Mac Gillavry emacgillavry at hotmail.com
Wed Oct 9 07:13:32 PDT 2019


Hi Tijs,

That's mainly configurable the MAP metadata and LAYER metadata.

Best,

Edward
________________________________
From: mapserver-users <mapserver-users-bounces at lists.osgeo.org> on behalf of Kler, Tijs de <t.de.kler at amsterdam.nl>
Sent: Wednesday, October 9, 2019 12:40:50 PM
To: mapserver-users at lists.osgeo.org <mapserver-users at lists.osgeo.org>
Subject: [mapserver-users] Mapserver behind proxyserver


Hey All,



I am running a mapserver docker container on port 80 using the following docker image: https://github.com/PDOK/mapserver-wfs-postgis.



For deployment i have to run behind a proxyserver based on HAproxy that takes care of ssl encryption.

Accessing GetCapabilites (https://acc.dsr.maps.amsterdam.nl/mapserver/wfs?REQUEST=GetCapabilities&SERVICE=wfs) resolves and returns xml with the available layers.

The layers however contains url references to port 80:

> https://acc.dsr.maps.amsterdam.nl:80/mapserver?request=GetMetadata&layer=Invloedsgebied_Metro



How does mapserver build the layer urls?

Does it use the request header of the GetCapabilities request to construct it? Or serverside configuration?

And if yes, which header fields or environment/config variables are used to construct the layer URL?



Cheers,

Tijs


De gemeente Amsterdam streeft naar optimale dienstverlening en zorgvuldige afhandeling van e-mailverkeer. Als een e-mail niet voor u is bestemd, verzoekt de gemeente u vriendelijk ons van de juiste adressering op de hoogte te stellen en de e-mail te verwijderen zonder de informatie te gebruiken en te delen met anderen. Voor verdere informatie over de rechten op informatie, zie https://www.amsterdam.nl/proclaimer.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20191009/f1748e76/attachment.html>


More information about the mapserver-users mailing list