Skip to content

Commit

Permalink
Merge pull request #281 from openedx/kiram15/ENT-9225
Browse files Browse the repository at this point in the history
fix: correcting next var in pagination
  • Loading branch information
kiram15 authored Aug 6, 2024
2 parents ed38ec1 + 78b245e commit 44960da
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions enterprise_subsidy/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
DEBUG = False
TEMPLATE_DEBUG = DEBUG

# IMPORTANT: With this enabled, the server must always be behind a proxy that
# strips the header HTTP_X_FORWARDED_PROTO from client requests. Otherwise,
# a user can fool our server into thinking it was an https connection.
# See
# https://docs.djangoproject.com/en/dev/ref/settings/#secure-proxy-ssl-header
# for other warnings.
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

ALLOWED_HOSTS = ['*']

LOGGING = get_logger_config()
Expand Down

0 comments on commit 44960da

Please sign in to comment.