|
From: Jody G. <jod...@gm...> - 2024-05-22 20:37:05
|
Hello Kristian, GEOSERVER_PROXY_BASE is in the user manual; it is an optional application property that can be defined as environmental variable, system property, or web context parameter (or using the user interface...). The value is used a lot, and TRACE is telling you about checking all the locations it ... TRACE happily tells you about the correct functioning of the application in painful detail. So nothing is wrong and it wants to tell you about it. I recently added a list of some of the environmental variables here: https://docs.geoserver.org/latest/en/user/configuration/properties/index.html If you spot any I missed please make an update to the documentation. -- Jody Garnett On May 22, 2024 at 4:24:32 AM, Kristian Nils Robin Morin via Geoserver-users <geo...@li...> wrote: > > I have verbose logging on geoserver whilst configuring it to get it in > shape for production. > There are logging messages i don't understand and if i should be worried > about them. > > I get a lot Found Java environment variable: 'xx' to be unset. In > particular for PROXY_BASE_URL but also found for several other. > But in my docker-compose (see snipper bellow) it is defined and appear to > be working. Is something broken? I cannot tell by the logg. > > [image: image.png] > > services: > geoserver: > image: docker.osgeo.org/geoserver:2.25.0 > ... > environment: > - EXTRA_GEOSERVER_OPTS="-DGEOSERVER_CSRF_WHITELIST=mydomain.no > ,mydomain2com" > - PROXY_BASE_URL=https://mydomain.com/geoserver > - GEOSERVER_CSRF_DISABLED=true > > I noticed that EXTRA_GEOSERVER_OPTS="-DGEOSERVER_CSRF_WHITELIST is not > working. mydomain are still not going through. The only reason it works at > the moment is because I disabled CSRF altogether. Is there a reason why > Whitelist would not work. I have tried adding just one domain as well. If > CSRF is enabled i get a 400 error. > > _______________________________________________ > 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 > > > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users > |