- Quick and dirty implementation of Gemini protocol server.
- Files are served from
publicdirectory, next to binary. - Support
text/geminibased on.gmiextension (client can request/fileor/file.gmi). - Other file are served directly, with MIME type based on extension.
- Uses
certificate.pfxfor server certificate. - Hardcoded on purpose
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 10000 -nodes
openssl pkcs12 -export -out certificate.pfx -inkey key.pem -in cert.pem