site.config.example 909 Bytes
[global]
server.socket_host: '127.0.0.6'
server.socket_port: 9009
server.wsgi: False
log.screen: False

[/]
tools.trailing_slash.on: False
tools.render.on: False
tools.db.on: True
tools.debug.on: False
tools.sessions.on: True
tools.sessions.storage_class: cherrypy.lib.sessions.FileSession
tools.sessions.storage_path: '/var/www/prioritize.onnix.io/html/sessions'
tools.sessions.timeout = 60
tools.sessions.name = 'prioritize_sid'

[logs]
access: '/var/www/prioritize.onnix.io/html/logs/access.log'
error: '/var/www/prioritize.onnix.io/html/logs/error.log'
level: 'DEBUG'

[apps]
Root: ('app', '')
List: ('app', '/list')
Item: ('app', '/item')

[path]
templates: '/var/www/prioritize.onnix.io/public/templates'
libraries: '/var/www/prioritize.onnix.io/lib'

[db]
host: 'DB_HOST'
port: 1234
name: 'DB_NAME'
user: 'DB_USER'
pass: 'DB_PORT'

[response-headers]
Access-Control-Allow-Origin: 'https://example.com'