diff options
author | Joe <bousset.rudy@gmail.com> | 2022-05-01 12:39:38 +0000 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-05-01 12:39:38 +0000 |
commit | 3c7e573772c1b13df0d6c2a6bfaec8b08d97ebc7 (patch) | |
tree | 853aaa2f29fd0c8f24a99be081c94e87150c7f19 /usr/local/etc/gmid.conf | |
parent | update (diff) | |
download | joe-conf-3c7e573772c1b13df0d6c2a6bfaec8b08d97ebc7.tar.gz joe-conf-3c7e573772c1b13df0d6c2a6bfaec8b08d97ebc7.tar.bz2 joe-conf-3c7e573772c1b13df0d6c2a6bfaec8b08d97ebc7.tar.xz joe-conf-3c7e573772c1b13df0d6c2a6bfaec8b08d97ebc7.tar.zst joe-conf-3c7e573772c1b13df0d6c2a6bfaec8b08d97ebc7.zip |
Now everything is working fine
Diffstat (limited to 'usr/local/etc/gmid.conf')
-rw-r--r-- | usr/local/etc/gmid.conf | 24 |
1 files changed, 24 insertions, 0 deletions
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" +} |