evorepo/local_settings.py.example
Santiago Torres 8b2f897702
netboot: add downgraded cipher banner
The banner is pretty self-explanatory. Inform users that the chainloaded
script is served on downgraded ciphers due to a limitation on the ssl
stack of ipxe. Also, add a configuration variable so that downstream
users of archweb can prevent the banner from displaying.
2020-08-03 21:38:11 +02:00

61 lines
1.4 KiB
Plaintext

## Debug settings
DEBUG = False
#DEBUG_TOOLBAR = True
## For django debug toolbar
INTERNAL_IPS = ('127.0.0.1',)
## Notification admins
ADMINS = (
# ('Joe Admin', 'joeadmin@example.com'),
)
## PostgreSQL Database settings
#DATABASES = {
# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql',
# 'NAME' : 'archlinux',
# 'USER' : 'archlinux',
# 'PASSWORD': 'archlinux',
# 'HOST' : '',
# 'PORT' : '',
# },
#}
## Sqlite Database settings
DATABASES = {
'default': {
'ENGINE' : 'django.db.backends.sqlite3',
'NAME' : 'database.db',
},
}
## Define cache settings
CACHES = {
'default': {
'BACKEND' : 'django.core.cache.backends.dummy.DummyCache',
#'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
#'LOCATION': '127.0.0.1:11211',
}
}
## Use secure session cookies? Make these True if you want all
## logged-in actions to take place over HTTPS only. If developing
## locally, you will want to use False.
SESSION_COOKIE_SECURE = False
CSRF_COOKIE_SECURE = False
## location for saving dev pictures
MEDIA_ROOT = '/srv/example.com/img/'
## web url for serving image files
MEDIA_URL = '/media/img/'
## Make this unique, and don't share it with anybody.
SECRET_KEY = '00000000000000000000000000000000000000000000000'
## Display a warning if serving netboot images on downgraded ciphers
NETBOOT_SECURITY_BANNER=True
# vim: set ts=4 sw=4 et: