From 175b9b73386a2414c591fd5613369252c56e6295 Mon Sep 17 00:00:00 2001 From: Kelketek Date: Wed, 6 Feb 2013 01:27:37 -0600 Subject: [PATCH] Added change to settings.py to facilitate X-Forwarded-For. --- src/settings_default.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/settings_default.py b/src/settings_default.py index abab55983..59fe25a79 100644 --- a/src/settings_default.py +++ b/src/settings_default.py @@ -44,6 +44,9 @@ WEBSERVER_ENABLED = True WEBSERVER_PORTS = [8000] # Interface addresses to listen to. If 0.0.0.0, listen to all. WEBSERVER_INTERFACES = ['0.0.0.0'] +# IP addresses that may talk to the server in a reverse proxy configuration, +# like NginX. +UPSTREAM_IPS = ['127.0.0.1'] # Start the evennia ajax client on /webclient # (the webserver must also be running) WEBCLIENT_ENABLED = True