-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fixes #389] Allow "Enable CORS" within GeoServer container through e…
…nv (#390) (#392) * [Fixes #389] Allow "Enable CORS" within GeoServer container through env * - Renaming the GEOSERVER CORS variables and place them on the sample envs * - Renaming the GEOSERVER CORS variables and place them on the sample envs (cherry picked from commit bfb9b4b)
- Loading branch information
Showing
4 changed files
with
52 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,12 +135,17 @@ DEFAULT_FROM_EMAIL='{email}' # eg Company <[email protected]> | |
|
||
# Session/Access Control | ||
LOCKDOWN_GEONODE=False | ||
CORS_ALLOW_ALL_ORIGINS=True | ||
X_FRAME_OPTIONS="SAMEORIGIN" | ||
SESSION_EXPIRED_CONTROL_ENABLED=True | ||
DEFAULT_ANONYMOUS_VIEW_PERMISSION=True | ||
DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION=True | ||
|
||
CORS_ALLOW_ALL_ORIGINS=True | ||
GEOSERVER_CORS_ENABLED=True | ||
GEOSERVER_CORS_ALLOWED_ORIGINS=* | ||
GEOSERVER_CORS_ALLOWED_METHODS=GET,POST,PUT,DELETE,HEAD,OPTIONS | ||
GEOSERVER_CORS_ALLOWED_HEADERS=* | ||
|
||
# Users Registration | ||
ACCOUNT_OPEN_SIGNUP=True | ||
ACCOUNT_EMAIL_REQUIRED=True | ||
|
@@ -229,7 +234,7 @@ LDAP_GROUP_PROFILE_MEMBER_ATTR=uniqueMember | |
# ## | ||
# Note right autoscale value must coincide with worker concurrency value | ||
# CELERY__AUTOSCALE_VALUES="15,10" | ||
# CELERY__WORKER_CONCURRENCY="4" | ||
# CELERY__WORKER_CONCURRENCY="10" | ||
# ## | ||
# CELERY__OPTS="--without-gossip --without-mingle -Ofair -B -E" | ||
# CELERY__BEAT_SCHEDULE="/mnt/volumes/statics/celerybeat-schedule" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,17 @@ export DJANGO_EMAIL_USE_SSL=False | |
export DEFAULT_FROM_EMAIL="GeoNode <[email protected]>" | ||
|
||
export LOCKDOWN_GEONODE=False | ||
export CORS_ALLOW_ALL_ORIGINS=True | ||
export X_FRAME_OPTIONS=SAMEORIGIN | ||
export SESSION_EXPIRED_CONTROL_ENABLED=True | ||
export DEFAULT_ANONYMOUS_VIEW_PERMISSION=True | ||
export DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION=True | ||
|
||
export CORS_ALLOW_ALL_ORIGINS=True | ||
export GEOSERVER_CORS_ENABLED=True | ||
export GEOSERVER_CORS_ALLOWED_ORIGINS=* | ||
export GEOSERVER_CORS_ALLOWED_METHODS=GET,POST,PUT,DELETE,HEAD,OPTIONS | ||
export GEOSERVER_CORS_ALLOWED_HEADERS=* | ||
|
||
export ACCOUNT_OPEN_SIGNUP=True | ||
export ACCOUNT_EMAIL_REQUIRED=True | ||
export ACCOUNT_APPROVAL_REQUIRED=False | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters