Hi everyone! I set up a dockerized Geoserver cluster, where I have one Master node and multiple Secondary nodes. They share config using JDBCConfig. In front of them I have Nginx, that redirects every request in administrative panel to "Master node" (with rule that does proxy_pass if path starts with "/geoserver/web") and every other requests to "Secondary nodes".
I noticed that in the admin panel of Geoserver, most links are to relative URL (in my case it takes "localhost/...."), but in some parts they point to my Docker container's hostname, eg. with Layer Preview " http://geoserver-master:8080/geoserver/nurc/wms.....". As there is no connectivity straight to the container, this request obviously fails. How can I approach this? Do I have to explicitly specify Geoserver's hostname? Or maybe there is a way to make it relative like "/geoserver/nurc/wms....." and resolve automatically through Nginx? Best regards * Adam Borczyk* *---------------------------------GIS Support Sp. z o.o.DobrzaĆskiego 3, Lublin 20-262 <https://maps.google.com/?q=Dobrza%C5%84skiego+3,+Lublin+20-262&entry=gmail&source=g>tel. +48 81 451 14 90, NIP: 9462641761*
_______________________________________________ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
