|
From: Kristian N. R. M. <kri...@tr...> - 2024-05-22 11:24:59
|
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.
|