log { access /var/log/gmid/gmid.log } # An example of a server block: server "localhost" { listen on * port 1965 # set the directory to serve root "localhost" # Set self-signed TLS cert and key. It's better to keep # the keys outside the chroot. # # sudo -u gmid -- \ # openssl req -x509 \ # -newkey rsa:4096 \ # -nodes \ # -out /etc/gmid/certs/localhost.crt \ # -keyout /etc/gmid/certs/localhost.key \ # -subj "/CN=localhost" cert "/etc/gmid/certs/localhost.crt" key "/etc/gmid/certs/localhost.key" }