How can I configure my WMS and WFS to be in different port of my GeoServer admin?

The idea is to have a GeoServer admin internal which provides public services. In other words the idea is to configure my server application allowing internal access to GeoServer admin and public access to WMS/WFS services.

How can I do this? This is something that I have to set on tomcat( server.xml ) or I may change this configuration directly on GeoServer admin?

I think that this could be done by using "Proxy Base URL" on Global Settings for OGC Services. Am I following the right way?

  • You probably want to proxy using Apache http server.
    – nmtoken
    Feb 23, 2017 at 20:12

1 Answer 1


The best way to do this is with a Reverse Proxy in front of GeoServer.

You can do it with Nginx.

Here's an example: https://gist.github.com/thanhleviet/3040490

The 'proxy base URL' setting in GeoServer allows you to tell GeoServer that it is behind one of these proxies, and adjusts all it's WMS Capabilities URLs and such (from my understanding).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.