Setting a proxy
Whether you are using GeoServer on Tomcat or you installed Jetty, it is not a good idea to expose it directly to your users, especially if they are on the Internet. A safer option is to use a more stable web server, such as Apache httpdβone of the most popular and widely used web servers across the Web. To expose GeoServer, or more generally, a Java application from the web server, you need to set a proxy on the web server. Users will point to an alias and their requests will be redirected to Tomcat, more safely deployed in a protected LAN.