💾 Archived View for bbs.geminispace.org › u › mediocregopher › 3589 captured on 2023-11-14 at 10:38:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

➡️ Next capture (2023-12-28)

🚧 View Differences

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

Comment by 👻 mediocregopher

Re: "Reverse proxy for gemini vhosts"

In: s/Gemini

As someone who primarily writes go, I totally agree with you :) but the project I'm working on is in rust, to help me expand my skillset a bit. I think the same strategy I've employed here could be done in go even easier, using a TeeReader

👻 mediocregopher

Jul 27 · 4 months ago

4 Later Comments ↓

🐙 norayr · Jul 27 at 10:25:

oh so nice to hear it. well, let's see if they accept your changes, and if not then i am glad there is a go project you can contribute to.

🐙 norayr · Jul 27 at 21:59:

i am following the issue and i see you created another branch. waiting to get the solution, hopefully it'll compile for me, and configure several virtual hosts for gemini on my server.

then i would move everything possible to gemini, and proxy with kineto.

👻 mediocregopher · Aug 09 at 15:01:

Some final closure on this thread, thanks for all the input everyone!

— mediocregopher.com/posts/domani.gmi

🐙 norayr · Aug 10 at 21:33:

so what happened in issue #6 of tokio-rustls? how did it end? did they accept your changes?

what is the solution if i want to do the same, i. e. host several of my gemini domains on one machine?

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 · 22 comments · Jul 18 · 4 months ago