From 3c7e573772c1b13df0d6c2a6bfaec8b08d97ebc7 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 1 May 2022 12:39:38 +0000 Subject: Now everything is working fine --- usr/local/etc/gmid.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 usr/local/etc/gmid.conf (limited to 'usr/local/etc/gmid.conf') diff --git a/usr/local/etc/gmid.conf b/usr/local/etc/gmid.conf new file mode 100644 index 0000000..cf7b293 --- /dev/null +++ b/usr/local/etc/gmid.conf @@ -0,0 +1,24 @@ +# drop privileges +user "_gmid" + +# it's a good idea to enable chroot, but +# beware that can make CGI scripting harder +#chroot "/var/gemini" + +# An example of a server block: +server "jozanofastora.xyz" { + # set the directory to serve; it's relative to the + # chroot (if enabled) + root "/usr/local/gemini" + + # Set self-signed TLS cert and key. It's better to keep + # the keys outside the chroot. + # + # You should generate them manually, for example: + # openssl req -x509 -newkey rsa:4096 -nodes \ + # -out /usr/local/etc/ssl/gmid/localhost.crt \ + # -keyout /usr/local/etc/ssl/gmid/localhost.key \ + # -subj "/CN=localhost" + cert "/usr/local/etc/letsencrypt/live/jozanofastora.xyz/cert.pem" + key "/usr/local/etc/letsencrypt/live/jozanofastora.xyz/privkey.pem" +} -- cgit v1.2.3