Julierme,

GeoServer does not know the externally visible URL of your reverse proxy. Please set the GeoServer Proxy Base URL:
http://docs.geoserver.org/latest/en/user/configuration/globalsettings.html#proxy-base-url

In your case this should be:

http://geoservicos.gov.eu/geoserver

I have not tested it, but this should cause OpenLayers URLs to be rewritten to use the reverse proxy URL.

Kind regards,
Ben.

On 04/05/18 12:43, Julierme Pinheiro wrote:
Hi All,

I have geoserver running in http://geoservicos.gov.eu/geoserver/web/ and
when I open a layer with openlayers it links to server IP

http://XXX.XX.X.XXX:8080/geoserver/sisprenav/wms?service=WMS&version=1.1.0&request=GetMap&layers=sisprenav:s1a-iw-grd-vv-20180331t093902-20180331t093927-021257-024901-001&styles=&bbox=-60.77304528595049,-3.7230154653153935,-58.20325915923362,-1.7216958113707623&width=768&height=598&srs=EPSG:4326&format=application/openlayers

How I could redirect the IP in the server to  geoservicos.gov.eu (IP =
XXX.XX.X.XXX = geoservicos.gov.eu)?


Thank you for your time in advance

Kind regards

Julierme



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to