servnest/config.ini
2022-06-17 00:28:22 +02:00

53 lines
1.1 KiB
INI

[common]
root_path = "/srv/php/niver"
; Prefix in URL, if any
prefix =
[dns]
knotc_path = "/usr/sbin/knotc"
[reg]
enabled = true
registry = niver.test.
registry_file = "/srv/ns/niver.test.zone"
ttl = 86400
subdomain_regex = "^[a-z0-9]{4,63}$"
[ns]
enabled = true
knot_zones_path = "/srv/ns"
[ht]
enabled = true
; Path were user's sites will be stored
ht_path = "/srv/ht"
; Nginx configuration directory
nginx_config_path = "/etc/nginx/ht"
; Tor configuration file
tor_config_path = "/etc/tor/torrc"
; Tor keys directory
tor_keys_path = "/var/lib/tor/keys"
tor_service = "tor"
tor_user = "tor"
sudo_path = "/usr/bin/sudo"
systemctl_path = "/usr/bin/systemctl"
certbot_path = "/usr/bin/certbot"
chgrp_path = "/usr/bin/chgrp"
cat_path = "/usr/bin/cat"
rm_path = "/usr/bin/rm"
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 = "ht.niver.test"
public_sftp_port = 2022
; Will be used in configuration files
https_port = 42443
internal_onion_http_port = 9080