💾 Archived View for gem.benscraft.info › gemcaps › internalhandlers.gmi captured on 2021-12-17 at 13:26:06. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-11-30)
-=-=-=-=-=-=-
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