Port 1965 is only going to one place, so how can I make sure it's going to the right place?

I currently have agate running on a raspberry pi with Arch Linux Arm running agate for the first site.

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 years ago (1 child)

You can use a reverse proxy for that. Start multiple Gemini servers listening on localhost:19650, localhost:19651, ..., and have the rproxy listen on *:1965. Then configure the reverse proxy to redirect to the correct port depending on the TLS SNI (hostname) requested.

That, or use a Gemini server that supports virtual hosts natively :)

  • source
  • hideshow 2 child comments