[#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 ยท 2 years 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.