💾 Archived View for pixeldreams.tokyo › technomancy › single-page-relayd-nc.gmi captured on 2024-03-21 at 15:05:35. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
i wanted to set up a real gemini capsule here but didn't have the energy for a while, so this is how i served a single page instead:
while :; do (printf "20 text/gemini\r\n"; cat index.gmi) | \ nc -Nvl 11965 done
tls is handled by relayd:
tcp protocol "gemini" { tls keypair pixeldreams.tokyo } relay "gemini" { listen on egress port 1965 tls protocol "gemini" forward to 127.0.0.1 port 11965 }
gemini specification: