💾 Archived View for bbs.geminispace.org › u › mediocregopher › 13475 captured on 2024-08-18 at 23:55:07. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-18)

➡️ Next capture (2024-08-25)

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

Comment by 👻 mediocregopher

Re: "Reverse proxy for gemini vhosts"

In: s/Gemini

@norayr the tokio-rustls patch is for a rust library, it's not an actual application which can be used as-is. You would need to code your own which incorporates it.

I used that library as part of this project:

— Domani

_Technically_ you could use Domani in the way you're wanting to, given a specific configuration. I've been using Domani myself to serve my HTTP(s) and gemini sites for a few months now and haven't noticed any issues, but I wouldn't say it's stable yet. There's still quite a few changes I want to make to it, and I haven't gotten around to generating release binaries for it yet so you'd need to compile it yourself.

👻 mediocregopher [OP, .com]

Jan 05 · 7 months ago

1 Later Comment

🐙 norayr · 2024-01-09 at 13:53:

ok i used gmid for reverse proxy and was able to redirect to 2 different molly browns for a test.

— relevant issue page

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 [...] · 27 comments · 2023-07-18 · 1 year ago