old_contents: # encoding: utf-8
  
  import logging
  
  # path of the configuration file for each instances
  INSTANCES_DIR = '/etc/jormungandr.d'
  
  # Start the thread at startup, True in production, False for test environments
  START_MONITORING_THREAD = True
  
  #URI for postgresql
  # postgresql://<user>:<password>@<host>:<port>/<dbname>
  #http://docs.sqlalchemy.org/en/rel_0_9/dialects/postgresql.html#psycopg2
  SQLALCHEMY_DATABASE_URI = 'postgresql://navitia:navitia@localhost/jormun'
  
  # disable authentication
  PUBLIC = True
  
  REDIS_HOST = 'localhost'
  
  REDIS_PORT = 6379
  
  # index of the redis data base used (integer from 0 to 15)
  REDIS_DB = 0
  
  REDIS_PASSWORD = None
  
  # disable the redis cache (if no cache, redis is not used at all)
  CACHE_DISABLED = False
  
  # life time of authentication data, in the cache (in seconds)
  AUTH_CACHE_TTL = 300
  
  # logger configuration
  LOGGER = {
      'version': 1,
      'disable_existing_loggers': False,
      'formatters':{
          'default': {
              'format': '[%(asctime)s] [%(levelname)5s] [%(process)5s] [%(name)10s] %(message)s',
          },
      },
      'handlers': {
          'default': {
              'level': 'DEBUG',
              'class': 'logging.StreamHandler',
              'formatter': 'default',
          },
      },
      'loggers': {
          '': {
              'handlers': ['default'],
              'level': 'DEBUG',
              'propagate': True
          },
      }
  }
  
  #Parameters for statistics
  SAVE_STAT = False
  BROKER_URL = 'amqp://guest:guest@localhost:5672//'
  EXCHANGE_NAME = 'stat_persistor_exchange'
  
new_contents: # encoding: utf-8
  
  import logging
  
  # path of the configuration file for each instances
  INSTANCES_DIR = '/etc/jormungandr.d'
  
  # Start the thread at startup, True in production, False for test environments
  START_MONITORING_THREAD = True
  
  #URI for postgresql
  # postgresql://<user>:<password>@<host>:<port>/<dbname>
  #http://docs.sqlalchemy.org/en/rel_0_9/dialects/postgresql.html#psycopg2
  SQLALCHEMY_DATABASE_URI = 'postgresql://navitia:navitia@localhost/jormun'
  
  # disable authentication
  PUBLIC = True
  
  #message returned on authentication request
  HTTP_BASIC_AUTH_REALM = 'Navitia.io'
  
  REDIS_HOST = 'localhost'
  
  REDIS_PORT = 6379
  
  # index of the redis data base used (integer from 0 to 15)
  REDIS_DB = 0
  
  REDIS_PASSWORD = None
  
  # disable the redis cache (if no cache, redis is not used at all)
  CACHE_DISABLED = False
  
  # life time of authentication data, in the cache (in seconds)
  AUTH_CACHE_TTL = 300
  
  # logger configuration
  LOGGER = {
      'version': 1,
      'disable_existing_loggers': False,
      'formatters':{
          'default': {
              'format': '[%(asctime)s] [%(levelname)5s] [%(process)5s] [%(name)10s] %(message)s',
          },
      },
      'handlers': {
          'default': {
              'level': 'DEBUG',
              'class': 'logging.StreamHandler',
              'formatter': 'default',
          },
      },
      'loggers': {
          '': {
              'handlers': ['default'],
              'level': 'DEBUG',
              'propagate': True
          },
      }
  }
  
  #Parameters for statistics
  SAVE_STAT = False
  BROKER_URL = 'amqp://guest:guest@localhost:5672//'
  EXCHANGE_NAME = 'stat_persistor_exchange'
  
subject: set config for basic auth realm, aka: pretty auth :p