mirror of https://github.com/zulip/zulip.git
Make redirects work properly behind a reverse proxy
(imported from commit 7ffb0b10e796ab27a8a4d028195637c9dca74aa7)
This commit is contained in:
parent
5e70b5a291
commit
1fded25025
|
@ -91,6 +91,9 @@ SHARED_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|||
# URL where Django code posts to the Tornado code to notify of new messages
|
||||
NOTIFY_WAITING_CLIENTS_URL = 'http://localhost:9993/notify_waiting_clients'
|
||||
|
||||
# Make redirects work properly behind a reverse proxy
|
||||
USE_X_FORWARDED_HOST = True
|
||||
|
||||
# List of callables that know how to import templates from various sources.
|
||||
TEMPLATE_LOADERS = (
|
||||
'django.template.loaders.filesystem.Loader',
|
||||
|
|
Loading…
Reference in New Issue