[mapserver-users] Mapserver behind proxyserver

Kler, Tijs de t.de.kler at amsterdam.nl
Wed Oct 9 03:40:50 PDT 2019


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/0b381d17/attachment.html>


More information about the mapserver-users mailing list