servnest/config.ini

80 lines
1.9 KiB
INI

[common]
root_path = "/srv/niver/core"
docs_prefix = "/docs/"
; Prefix in URL, if any
prefix = ""
public_domains[] = "niver.test"
service_name = "Niver"
service_emoji = "🪐"
[dns]
knotc_path = "/usr/sbin/knotc"
kdig_path = "/usr/bin/kdig"
[reg]
enabled = true
registry = "niver.test."
registry_file = "/srv/niver/reg/niver.test.zone"
ttl = 86400
; A local address to query the registry nameserver
address = "[::1]:42053"
[ns]
enabled = true
knot_zones_path = "/srv/niver/ns"
servers[] = "ns1.niver.test."
servers[] = "ns2.niver.test."
kzonecheck_path = "/usr/bin/kzonecheck"
; @ must be replaced by a dot
public_soa_email = "hostmaster.niver.invalid."
[ht]
enabled = true
; Path were user's sites will be stored
ht_path = "/srv/niver/ht"
subpath_domain = "ht.niver.test"
subpath_path = "/srv/niver/subpath"
subdomain_domain = "ht.niver.test"
subdomain_path = "/srv/niver/subdomain"
; Nginx configuration directory
nginx_config_path = "/srv/niver/nginx"
nginx_reload_cmd = "/usr/bin/systemctl reload nginx"
; Tor configuration directory
tor_config_path = "/srv/niver/tor-config"
; Tor keys directory
tor_keys_path = "/srv/niver/tor-keys"
tor_user = "tor"
tor_reload_cmd = "/usr/bin/systemctl reload tor"
sudo_path = "/usr/bin/sudo"
certbot_path = "/usr/bin/certbot"
chgrp_path = "/usr/bin/chgrp"
cat_path = "/usr/bin/cat"
rm_path = "/usr/bin/rm"
mkdir_path = "/usr/bin/mkdir"
sftpgo_user = "sftpgo"
sftpgo_group = "sftpgo"
; Will be shown to users
ipv6_address = "::1"
ipv4_address = "127.0.0.1"
sftp_pub = "/etc/sftpgo/ed25519.pub"
sftp_fp = "/etc/sftpgo/ed25519.fp"
sftp_asciiart = "/etc/sftpgo/ed25519.asciiart"
sftp_domain = "sftp.niver.test"
public_sftp_port = 2022
; Will be used in configuration files
https_port = 42443
ipv6_listen_address = "::1"
ipv4_listen_address = "127.0.0.1"
internal_onion_http_port = 9080
user_quota_testing = 20971520
user_quota_approved = 209715200