Hi there,
I am here to seek advice.
I have a Ubuntu 20.04 virtual host running Geoserver 20.0.0. Some static/HTML files, behind the Nginx server, connect to geoserver (http://localhost:my_port) to serve WMS data. All this works fine.
Using Let’sEncrypt, I aim to add SSL encryption to my virtual server’s Nginx (default) block, enabling redirecting to HTTP. Once this is done (server: https://my_domain:my_port), do I need to modify underlying geoserver services/configuration? or Nginx redirecting to HTTP will be sufficient?
Looking forward to hearing from you.
Best regards,
Jibran
Hi Jibran
Please take a look at the GeoServer documentation https://docs.geoserver.org/stable/en/user/configuration/globalsettings.html#proxy-base-url
This will be the HTTPS Nginx URL that you will configure in here and then the GetCapabilities call will embed it correctly in its response.
Regards
Peter
On Wed, 2 Mar 2022 at 15:31, Jibran Khan <jk.envs@anonymised.com…> wrote:
Hi there,
I am here to seek advice.
I have a Ubuntu 20.04 virtual host running Geoserver 20.0.0. Some static/HTML files, behind the Nginx server, connect to geoserver (http://localhost:my_port) to serve WMS data. All this works fine.
Using Let’sEncrypt, I aim to add SSL encryption to my virtual server’s Nginx (default) block, enabling redirecting to HTTP. Once this is done (server: https://my_domain:my_port), do I need to modify underlying geoserver services/configuration? or Nginx redirecting to HTTP will be sufficient?
Looking forward to hearing from you.
Best regards,
Jibran
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
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