Here you will find the documentation on internal handlers.
The file handler will serve static files.
directory: /var/gemini/static/ documentRoot: /static/ blockedPatterns: - *.py
The Gemini Server Gateway Interface handler. This works similarly in principal to cgi, but the program is started once and acts as its own server that is being reverse-proxied to gemcaps. This allows for abstraction from tls without removing tls.
More details on gsgi can be found here
command: - venv/bin/python - -m - mycapsule environ: documentRoot: /foo documentRoot: /foo workingDir: /var/gemini/mycapsule