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.

  • z3bra@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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 :)

    • GhastOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I ended up on Amfora. No address book or interaction, but it does virtual hosts really easily.