spacecookie icon indicating copy to clipboard operation
spacecookie copied to clipboard

Reverse proxy

Open someodd opened this issue 2 months ago • 2 comments

On my server I have two different gopherholes I want to expose to the world. Currently they run on different ports. I'd like to be able to configure spacecookie to act as a reverse proxy to sort incoming gopher requests to a configured gopherhole. For example, a simple configuration could be detecting the base directory of "forum/" in the selector and forwarding selector to a configured gopherhole and sending its response back.

I suppose all I really want is the ability to have spacecookie map certain base directories to certain gopherholes, and everything can be communicated via a consistent port.

Would you like me to work on a PR for this concept? Would you like to implement?

I'm posting using my phone and sorry if my English is poor.

someodd avatar Apr 03 '24 21:04 someodd