diff options
Diffstat (limited to 'gmid/files/gmid.conf.new')
-rw-r--r-- | gmid/files/gmid.conf.new | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gmid/files/gmid.conf.new b/gmid/files/gmid.conf.new new file mode 100644 index 0000000..3b725ad --- /dev/null +++ b/gmid/files/gmid.conf.new @@ -0,0 +1,24 @@ +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" +} |