💾 Archived View for rawtext.club › ~sloum › geminilist › 005393.gmi captured on 2024-02-05 at 11:11:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

<-- back to the mailing list

[tech] reverse proxy gemini

Hugo Wetterberg hugo at wetterberg.nu

Sun Feb 21 11:16:03 GMT 2021

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

I had almost the same use-case for my small gemini server and wrote aproxy that only does vhost routing:

gemini://repos.wetterberg.nu/~hugo_wetterberg/gemini-proxy

But if you're serving static files/some CGI you're probably better offfollowing mieums advice and use a server that uses different docrootsfor different hostnames. Then you don't have to layer different proxiesand servers, and it's easy to combine that workflow with git post-recieve hooks that generates the static files.

/Hugo