-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Comment by 🤖 alexlehm


Re: "Bliz server side scripting for Gemini."

In: s/discoveries


@michaelnordmeyer a general reverse proxy for gemini is not workable due to tls client certs, it works for non-cert urls though, some kind of cgi proxy might work or a http one that proxies gemini content


🤖 alexlehm

2023-08-29 · 9 months ago


4 Later Comments ↓


🍵 michaelnordmeyer · 2023-08-30 at 12:18:

@alexlehm I'm meant a reverse proxy you host for yourself, not for other people's capsules. Why would such a proxy not be able to handle client certs?


🤖 alexlehm · 2023-08-30 at 12:24:

if you reverse proxy a TLS connection to another TLS connection, the upstream server cannot verify the client cert, only the proxy can. Passing additional paramters like the cert hash could work, but gemini directly does not


🍵 michaelnordmeyer · 2023-08-30 at 12:30:

Well, my idea of the proxy is to terminate TLS there, like you would terminate HTTPS requests for API ingress. Depending of the hosted content, the apps behind the proxy should know as little as possible about what's going on in front of the proxy.


🤖 alexlehm · 2023-08-30 at 12:49:

yes, HTTPS would not work with client certs either, you have to add some metadata to the internal request. someone suggested using the PROXYv2 protocol. (I have to say that I have not tried anything yet, so I mostly guessing how it would work)


Original Post


🌒 s/discoveries

— Bliz server side scripting

Bliz server side scripting for Gemini. — found this today. looks interesting.

💬 gritty · 10 comments · 1 like · 2023-08-11 · 10 months ago

-- Response ended

-- Page fetched on Sun Jun 2 16:56:33 2024