Web Server
GeoCat recommends use of NGINX or Apache HTTP Server to manage HTTP and HTTPS connections. The web server is configured as a reverse proxy forwarding requests to Apache Tomcat.
Installation options
NGINX
Apache HTTP Server
HTTPS configuration
Certificate Generation
NGINX
Apache HTTP Server
Reverse proxy
NGINX
Apache HTTP Server
server { listen 80; server_name example.com; access_log /var/log/nginx/tomcat-access.log; error_log /var/log/nginx/tomcat-error.log; location / { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://127.0.0.1:8080/; } }
HTTP and HTTPS can now be used: