X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fnbi.cfg;h=e206522adbf095de35149fcc1a9fc7aee254dd9a;hp=ffe407df4f01c49e762c61a2f14334a074e59dcd;hb=ff6485df64447e9d8fb272eff7cd6cbf27fdf613;hpb=f5298be0fd06ca35e827fca738f8ef5747da12fd diff --git a/osm_nbi/nbi.cfg b/osm_nbi/nbi.cfg index ffe407d..e206522 100644 --- a/osm_nbi/nbi.cfg +++ b/osm_nbi/nbi.cfg @@ -1,3 +1,16 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + [/] # tools.secureheaders.on = True tools.sessions.on = True @@ -15,7 +28,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] @@ -48,8 +61,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 +87,5 @@ port: 9092 loglevel: "DEBUG" #logfile: /var/log/osm/nbi-message.log +[authentication] +backend: "internal"