2 # tools.secureheaders.on = True
3 tools.sessions.on = True
4 # increase security on sessions
5 tools.sessions.secure = True
6 tools.sessions.httponly = True
8 tools.encode.encoding: 'utf-8'
9 tools.response_headers.on = True
11 # tools.auth_basic.on: True,
12 # tools.auth_basic.realm: 'localhost',
13 # tools.auth_basic.checkpassword: get_tokens
17 tools.staticdir.on: True
18 tools.staticdir.dir: "/app/osm_nbi/html_public"
22 server.socket_host: "0.0.0.0"
23 server.socket_port: 9999
25 server.ssl_module: "builtin"
26 server.ssl_certificate: "./http/cert.pem"
27 server.ssl_private_key: "./http/privkey.pem"
28 server.ssl_pass_phrase: "osm4u"
31 # Only for test. It works without authorization using the provided user and project:
32 # test.user_not_authorized: "admin"
33 # test.project_not_authorized: "admin"
35 # Uncomment for allow basic authentication apart from bearer
36 # auth.allow_basic_authentication: True
43 #log.file: /var/log/osm/nbi.log
47 driver: "mongo" # mongo or memory
48 host: "mongo" # hostname or IP
52 # password: "password"
53 # materpassword: "mpasswd"
56 #logfile: /var/log/osm/nbi-database.log
60 driver: "local" # local filesystem
61 # for local provide file path
62 path: "/app/storage" #"/home/atierno/OSM/osm/NBI/local/storage"
65 #logfile: /var/log/osm/nbi-storage.log
68 driver: "kafka" # local or kafka
69 # for local provide file path
70 path: "/app/storage/kafka"
75 #logfile: /var/log/osm/nbi-message.log