hi,
I am trying to setup a little self-hosted http(s) server at home.
it should be able to serve the following:
-
https://example.com/x/pkg1 [a 'go-get'-able Go pkg]
-
https://example.com/x/pkg2 [ditto]
-
https://example.com/mumble [a mumble server for family and friends]
-
https://example.com/clown [a whole ownCloud server instance]
-
https://example.com/upspin [a Upspin server instance]
ideally, the server behind '
example.com' would be my rpi-4, hosting a
single Go-based http(s) server that would redirect/route calls to
/mumble and /clown to the correct 3rd-party (resp.) Mumble and ownCloud
server (on the same rpi-4, at dedicated ports, say :8001 and :8002),
while handling the vanity imports locally.
(and with x/crypto/acme/autocert to handle certificates).
is that possible?
any pointers to tutorials and/or packages to do such a thing?
thanks,
-s