๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ alexlehm โ€บ 3351 captured on 2023-07-22 at 17:31:34. Gemini links have been rewritten to link to archived content

View Raw

More Information

โžก๏ธ Next capture (2023-09-08)

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

Re: "Reverse proxy for gemini vhosts"

Comment in: s/Gemini

@norayr the problem is that the proxy has to determine the hostname in the unencrypted part of the TLS protocol, which apparently works, but it unusual (the solution provided by relayd seems to work)

๐Ÿค– alexlehm

2023-07-21 ยท 1 day ago

5 Later Comments โ†“

๐Ÿ Addison

โ€” => Here's an NGINX config that uses SNI to do what you're asking. Cheers

๐Ÿ‰ norayr

relayd? hmmm... did anyone already configure some capsules like that? can i find some example configurations somewhere?

24 hours ago

๐Ÿ‰ norayr

omg let me see!

๐Ÿ‘ป mediocregopher

@norayr I'm not sure why relayd was brought up, but both the link about traefik that I posted earlier and the nginx config that Addison posted should be able to help

15 hours ago

๐Ÿค– alexlehm

@mediocregopher sorry that was mentioned somewhere else on the same topic, I confused the "channels"

11 hours ago

Original Post

๐ŸŒ’ s/Gemini

Reverse proxy for gemini vhosts โ€” Reverse proxy for gemini I'm looking into writing a reverse proxy server which supports Gemini. ideally I'd like it to work like an HTTP reverse proxy like nginx or caddy, where it directs requests to different backend servers depending on the hostname. The problem is... is this even really possible, given that client certs are a thing? How can the proxy serve the connection long enough to figure out a hostname, and still proxy it to the backend server with...

๐Ÿ’ฌ mediocregopher ยท 15 comments ยท 2023-07-18 ยท 5 days ago