[#10] PROXY support

I propose GmCapsule support the PROXY protocol when only bound to localhost, or when a specific flag is enabled.

This would make having GmCapsule behind a proxy easier, such a proxy could for example be tlstunnel.

=> PROXY protocol (at haproxy.org) [https] | tlstunnel by ~emersion on sr.ht [https]

This would make having multiple gemini servers on one server easier, but I guess it might be too hard to implement or too much of a burden to maintain.

#feature

=> ๐Ÿž Issue #10 in s/GmCapsule-Issues
=> ๐Ÿญ jmjl

2024-02-10 ยท 11 months ago

1 Comment

=> ๐Ÿญ jmjl [OP] ยท 2024-02-13 at 13:15:

Yes, this would mean that when a proxy is in the middle of gmcapsule, gmcapsule gets the TLS info from the proxy.

Proxy Information
Original URL
gemini://bbs.geminispace.org/s/GmCapsule-Issues/10
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
46.250334 milliseconds
Gemini-to-HTML Time
0.34605 milliseconds

This content has been proxied by September (ba2dc).