๐พ Archived View for station.martinrue.com โบ jsreed5 โบ d4645da8bfd54c9d82dbd7ebf9ae6f05 captured on 2024-05-10 at 12:05:22. Gemini links have been rewritten to link to archived content
โฌ ๏ธ Previous capture (2023-11-14)
-=-=-=-=-=-=-
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