|
20 | 20 |
|
21 | 21 | CONN_MAX_AGE = 60 * 3 |
22 | 22 |
|
23 | | -# Hosts/domain names that are valid for this site; required if DEBUG is False |
24 | | -# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts |
25 | | -ALLOWED_HOSTS = ['localhost'] |
| 23 | +# SECURITY: change this to allowed fqdn's to prevent host poisioning attacks |
| 24 | +# https://docs.djangoproject.com/en/1.6/ref/settings/#allowed-hosts |
| 25 | +ALLOWED_HOSTS = ['*'] |
26 | 26 |
|
27 | 27 | # Local time zone for this installation. Choices can be found here: |
28 | 28 | # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name |
|
155 | 155 | ) |
156 | 156 |
|
157 | 157 | ANONYMOUS_USER_ID = -1 |
158 | | -ACCOUNT_EMAIL_REQUIRED = True |
159 | | -ACCOUNT_EMAIL_VERIFICATION = 'none' |
160 | | -ACCOUNT_LOGOUT_ON_GET = True |
161 | | -ACCOUNT_USERNAME_BLACKLIST = ['system'] |
162 | 158 | LOGIN_URL = '/v1/auth/login/' |
163 | 159 | LOGIN_REDIRECT_URL = '/' |
164 | 160 |
|
|
270 | 266 | DEIS_LOG_DIR = os.path.abspath(os.path.join(__file__, '..', '..', 'logs')) |
271 | 267 | LOG_LINES = 1000 |
272 | 268 | TEMPDIR = tempfile.mkdtemp(prefix='deis') |
273 | | -DEFAULT_BUILD = 'deis/helloworld' |
274 | 269 | DEIS_DOMAIN = 'deisapp.local' |
275 | 270 |
|
276 | 271 | # standard datetime format used for logging, model timestamps, etc. |
|
309 | 304 |
|
310 | 305 | APP_URL_REGEX = '[a-z0-9-]+' |
311 | 306 |
|
312 | | -# SECURITY: change this to allowed fqdn's to prevent host poisioning attacks |
313 | | -# see https://docs.djangoproject.com/en/1.5/ref/settings/#std:setting-ALLOWED_HOSTS |
314 | | -ALLOWED_HOSTS = ['*'] |
315 | | - |
316 | 307 | # Honor HTTPS from a trusted proxy |
317 | 308 | # see https://docs.djangoproject.com/en/1.6/ref/settings/#secure-proxy-ssl-header |
318 | 309 | SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') |
|
0 commit comments