<-- back to the mailing list

[tech] reverse proxy gemini

Vincent A. vincent at valvin.fr

Sun Feb 21 09:40:54 GMT 2021

- - - - - - - - - - - - - - - - - - - 

Hello,

My curiosity about Gemini lead me to think about how to host easily manydifferent domain on the same server.

I have a simple idea which consists in publishing static content from agit repository. And allow users to update their content by updating agit repository and maybe through an interface later.

For this I imagine using containerization with an existing geminiserver. Here I've tested Agate :https://gitlab.com/valvin/gemini-agate-image

Deploying a single hostname is ok. But I'm wondering how to deploy manyhostnames using the same public IP(v4) address. With HTTP we are used todeploy a reverse proxy (nginx, haproxy, traefik...). It allowes then tosplit traffic based on the DNS name requested in the "Host" header.

TCP load-balacing doesn't allow this I think but maybe I'm wrong. Itrequires to get the information of hostname in the request.

So I'm wondering if there is not yet something that has been done aboutthis. Or maybe I miss something in TCP load-balancing and it is possibleto do this already.

Thank you

Valvin.

-------------- next part --------------A non-text attachment was scrubbed...Name: publickey - vincent at valvin.fr - 1931e3cd.ascType: application/pgp-keysSize: 1687 bytesDesc: not availableURL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210221/95952410/attachment-0001.bin>-------------- next part --------------A non-text attachment was scrubbed...Name: signature.ascType: application/pgp-signatureSize: 489 bytesDesc: OpenPGP digital signatureURL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210221/95952410/attachment-0001.sig>