mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-18 15:37:42 +02:00
72 lines
2.8 KiB
Plaintext
72 lines
2.8 KiB
Plaintext
# Specify the ip address and port number that the server will use.
|
|
ip = "127.0.0.1"
|
|
port = 3000
|
|
|
|
# Specify whether https is to be used instead of plain http. Defaults to true.
|
|
#
|
|
# When enabled the server will look for a 'cert.pem' and 'key.pem' file, under
|
|
# the 'https' sub-folder of the 'data_dir' specified below. If this folder, or
|
|
# any of these files are missing, the server will create a new key pair and
|
|
# self-signed certificate.
|
|
#
|
|
# Should you want to use a proper certificate and key, then you should be able
|
|
# to just put your own files here instead. However, we strongly recommend that
|
|
# you use a dedicated proxy (nginx, apache, <your-choice-here>) if you plan to
|
|
# expose HTTPS to the public internet. There is basic support in this server,
|
|
# but we do not want to spend the cycles in trying, and most likely failing, to
|
|
# do a better job at keeping up with the best practices (e.g. cyphers) and/or
|
|
# providing advanced configuration options.
|
|
use_https = true
|
|
|
|
# Specify the directory where the publication server will store its data.
|
|
# Note that clustering through a shared data directory is not supported.
|
|
# But, we plan to look into a proper clustering solution later.
|
|
data_dir = "./data"
|
|
|
|
# Specify the directory where to read publisher.xml files.
|
|
# Note that 'publisher_handle' must be unique, so verify them before dropping
|
|
# files here. At some point a UI/API will be introduced for this.
|
|
pub_xml_dir = "./publishers"
|
|
|
|
# Specify the base rsync repository for this server. Publishers will get
|
|
# a base URI that is based on the 'publisher_handle' in the XML file.
|
|
#
|
|
# Note, you should set up an rsync daemon to expose $data_dir/rsync to serve
|
|
# this data. The uri defined here should match the module name in your rsync
|
|
# configuration.
|
|
rsync_base = "rsync://127.0.0.1/repo/"
|
|
|
|
# Specify the notify SIA for this server. This will be reported in the
|
|
# response.xml files to publishers so that they can include the proper SIA
|
|
# in their certificates.
|
|
rrdp_base_uri = "http://127.0.0.1:3000/rrdp/"
|
|
|
|
# Specify the base service URI where publishers can connect.
|
|
service_uri = "http://127.0.0.1:3000/rfc8181/"
|
|
|
|
# Log level
|
|
#
|
|
# The maximum log level ("off", "error", "warn", "info", or "debug") for
|
|
# which to log messages.
|
|
#
|
|
# Defaults to "warn"
|
|
log_level = "debug"
|
|
|
|
# Log type
|
|
#
|
|
# Where to log to. One of "stderr" for stderr, "syslog" for syslog, or "file"
|
|
# for a file. If "file" is given, the "log_file" field needs to be given, too.
|
|
#
|
|
# Defaults to "syslog".
|
|
log_type = "file"
|
|
|
|
# Syslog facility
|
|
#
|
|
# The syslog facility to log to if syslog logging is used. Defaults to "daemon".
|
|
syslog_facility = "daemon"
|
|
|
|
# Log file
|
|
#
|
|
# The path to the file to log to if file logging is used. If the path is
|
|
# relative, it is relative to the directory this config file lives in.
|
|
log_file = "./pubserver.log" |