💾 Archived View for station.martinrue.com › jsreed5 › d4645da8bfd54c9d82dbd7ebf9ae6f05 captured on 2023-05-24 at 20:01:00. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-04-20)

➡️ Next capture (2023-07-22)

🚧 View Differences

-=-=-=-=-=-=-

👽 jsreed5

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?

6 months ago · 👍 jo

Actions

👋 Join Station

2 Replies

👽 mozz

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. · 6 months ago

👽 mozz

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. · 6 months ago