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