diff --git a/.env b/.env index a16e406f..e841847f 100644 --- a/.env +++ b/.env @@ -36,6 +36,8 @@ FOOTPRINTS_DATA_DIR=/opt/footprints_dir FONTS_DIR=/opt/fonts # https://docs.geoserver.org/latest/en/user/geowebcache/config.html#changing-the-cache-directory GEOWEBCACHE_CACHE_DIR=/opt/geoserver/data_dir/gwc +# https://docs.geoserver.org/main/en/user/datadirectory/configtemplate.html +ALLOW_ENV_PARAMETRIZATION=false # ########################### # JVM ENTRYPOINT DECLARATIONS diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index e3e8854b..615b1bcc 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -72,7 +72,7 @@ export GEOSERVER_OPTS="-Djava.awt.headless=true -server -Xms${INITIAL_MEMORY} -X -DENABLE_JSONP=${ENABLE_JSONP} \ -DMAX_FILTER_RULES=${MAX_FILTER_RULES} \ -DOPTIMIZE_LINE_WIDTH=${OPTIMIZE_LINE_WIDTH} \ - -DALLOW_ENV_PARAMETRIZATION=${PROXY_BASE_URL_PARAMETRIZATION} \ + -DALLOW_ENV_PARAMETRIZATION=${ALLOW_ENV_PARAMETRIZATION} \ -Djavax.servlet.request.encoding=${CHARACTER_ENCODING} \ -Djavax.servlet.response.encoding=${CHARACTER_ENCODING} \ -DCLUSTER_CONFIG_DIR=${CLUSTER_CONFIG_DIR} \ diff --git a/scripts/env-data.sh b/scripts/env-data.sh index a0aed6e3..194280d0 100644 --- a/scripts/env-data.sh +++ b/scripts/env-data.sh @@ -271,8 +271,8 @@ if [ -z "${GEOSERVER_FILEBROWSER_HIDEFS}" ]; then GEOSERVER_FILEBROWSER_HIDEFS=false fi -if [ -z "${PROXY_BASE_URL_PARAMETRIZATION}" ]; then - PROXY_BASE_URL_PARAMETRIZATION=false +if [ -z "${ALLOW_ENV_PARAMETRIZATION}" ]; then + ALLOW_ENV_PARAMETRIZATION=false fi if [ -z "${GEOSERVER_LOG_PROFILE}" ]; then