github.com/hellofresh/janus@v0.0.0-20230925145208-ce8de8183c67/examples/janus-tls/janus.toml (about)

     1  ################################################################
     2  # Global configuration
     3  ################################################################
     4  port = 8443
     5  CertFile = "/etc/janus/janus.crt"
     6  KeyFile = "/etc/janus/janus.key"
     7  
     8  [log]
     9    level = "debug"
    10  
    11  [tls]
    12    port = 8433
    13    redirect = true
    14    CertFile = "janus.crt"
    15    KeyFile = "janus.key"
    16    
    17  ################################################################
    18  # API configuration backend
    19  ################################################################
    20  [web]
    21    port = 8444
    22    CertFile = "/etc/janus/janus.crt"
    23    KeyFile = "/etc/janus/janus.key"
    24  
    25    [web.credentials]
    26      secret = "secret"
    27  
    28      [web.credentials.basic]
    29      users = {admin = "admin"}
    30  
    31  [database]
    32    dsn = "file:///etc/janus"