Skip to content

Commit

Permalink
[wip] disable ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
jonavellecuerdo committed Oct 17, 2024
1 parent 101e6a2 commit a6b2956
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions solenoid/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,12 @@
DSPACE_SALT = env.str("DSPACE_AUTHOR_ID_SALT", "salty")

# CELERY SETTINGS
CELERY_BROKER_URL = env.str("REDIS_URL", "redis://localhost:6379/0")
CELERY_RESULT_BACKEND = env.str("REDIS_URL", "redis://localhost:6379")
CELERY_BROKER_URL = (
env.str("REDIS_URL", "redis://localhost:6379/0") + "?ssl_cert_reqs=CERT_NONE"
)
CELERY_RESULT_BACKEND = (
env.str("REDIS_URL", "redis://localhost:6379") + "?ssl_cert_reqs=CERT_NONE"
)

# ============================== #
# ==== DJANGO CORE SETTINGS ==== #
Expand Down

0 comments on commit a6b2956

Please sign in to comment.