Skip to content

Commit

Permalink
Testing health check with redirect enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sammy-sandhu committed Oct 22, 2024
1 parent 81840c0 commit d612dca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/openlxp_xds_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@
# CSRF_COOKIE_DOMAIN = 'http://localhost'
# CSRF_TRUSTED_ORIGINS = ['https://localhost', ]

SECURE_SSL_REDIRECT = False
SECURE_SSL_REDIRECT = True
SECURE_REDIRECT_EXEMPT = ['health/', 'api/health/']

MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
Expand Down

0 comments on commit d612dca

Please sign in to comment.