X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fnbi.cfg;h=5d5a22fc1db731d9fdb8f4488902e946e9315205;hp=d2083670dfb687dbcdae0cc5f1accc1028baee61;hb=4c57e2e64537d6263c618da58bcd8f8767b8076e;hpb=c94c3df90aa64298a7935a80b221f80f3c043260 diff --git a/osm_nbi/nbi.cfg b/osm_nbi/nbi.cfg index d208367..5d5a22f 100644 --- a/osm_nbi/nbi.cfg +++ b/osm_nbi/nbi.cfg @@ -15,7 +15,7 @@ tools.response_headers.on = True [/static] tools.staticdir.on: True -tools.staticdir.dir: "/app/osm_nbi/html_public" +tools.staticdir.dir: "/app/NBI/osm_nbi/html_public" [global] @@ -26,7 +26,7 @@ server.ssl_module: "builtin" server.ssl_certificate: "./http/cert.pem" server.ssl_private_key: "./http/privkey.pem" server.ssl_pass_phrase: "osm4u" -server.thread_pool: 10 +server.thread_pool: 1 # Only for test. It works without authorization using the provided user and project: # test.user_not_authorized: "admin" @@ -39,8 +39,8 @@ log.screen: False log.access_file: "" log.error_file: "" -loglevel: "DEBUG" -#logfile: /var/log/osm/nbi.log +log.level: "DEBUG" +#log.file: /var/log/osm/nbi.log [database] @@ -48,8 +48,9 @@ driver: "mongo" # mongo or memory host: "mongo" # hostname or IP port: 27017 name: "osm" -user: "user" -password: "password" +# user: "user" +# password: "password" +# commonkey: "commonkey" loglevel: "DEBUG" #logfile: /var/log/osm/nbi-database.log @@ -73,3 +74,5 @@ port: 9092 loglevel: "DEBUG" #logfile: /var/log/osm/nbi-message.log +[authentication] +backend: "internal"