Feature: Use X-Forwarded-For host in docker version

This commit is contained in:
winkidney
2018-12-29 15:58:21 +08:00
parent 2780e198e8
commit ddd9f73d21

View File

@@ -29,6 +29,8 @@ DATABASES = {
} }
} }
USE_X_FORWARDED_HOST = True
try: try:
from .local_settings import * from .local_settings import *
except ImportError: except ImportError: