are there any gemini servers with built-in reverse proxy support

· · Web · 1 · 0 · 0

@alexw I did that but then I was angry with myself because it meant acting as a mitm or doing TLS twice… would you expect the connection from the proxy to the backend to be encrypted (aka true Gemini?) or not… so I abandoned the idea.

@kensanata Ah, I hadn't thought about that. Trying to figure out how to run a bunch of services on a single host, maybe I'll figure some way to mash them together with Go libraries. I guess the gemini-style way would be to use CGI... hmm

@alexw what I ended up doing for my own sites was have one process handle it all, sometimes invoking calls from the Gemini wiki to the regular wiki, or Wikipedia, and transforming and serving the response. Thus, I get galleries, Phoebe wiki, Oddmuse wiki, Wikipedia, moku pona, all in one. If you’re interested I can show you the code, but it’s as interesting as the prose description above…

@alexw basically I had the same problem half a year ago; developing different Gemini services running on port 1965, 1966, 1967, 1968… and then realizing that a proxy was a bad idea. But I had it working for a short moment in time.

@kensanata I think that's what I'll do. I'm using the go-gemini library, I'll define my routes for each service, then export them and then run them all together in a separate package if that makes sense. thanks for the ideas.

Sign in to participate in the conversation

This is a brand new server run by the main developers of the project as a spin-off of 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!