Skip to content

Commit

Permalink
Align ALLOW_ENV_PARAMETRIZATION parameter name (#698) (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpschaeuble authored Dec 21, 2024
1 parent df6bc9e commit 62c0810
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down
4 changes: 2 additions & 2 deletions scripts/env-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62c0810

Please sign in to comment.