💾 Archived View for station.martinrue.com › jsreed5 › d4645da8bfd54c9d82dbd7ebf9ae6f05 captured on 2024-07-09 at 01:06:05. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-10)
-=-=-=-=-=-=-
A request for some help! I'd like to add subdomains to my capsule and gopherhole, so that they can be accessed from both the subdomain and just the jsreed5.org domain. When setting up HAProxy, I find that both services can be reached with both subdomains, and only the port number matters. I'd like to restrict the capsule to one subdomain and the goperhole to the other. I self-host, so I only have one IP address to associate to DNS records. Any ideas on how to do this?
2 years ago · 👍 jo
On the gemini side, search for "HA Proxy SNI routing". I haven't done it with HA Proxy before, but I got basically the same thing working with nginx. · 2 years ago
This is impossible with gopher. Because the gopher protocol doesn't communicate which host the client is connecting from, the server has no way of knowing if they want "foo.example.com" or "bar.example.com". This is one of the the things that gemini fixes by sending the entire URL in the request and using TLS SNI. · 2 years ago