algernon icon indicating copy to clipboard operation
algernon copied to clipboard

Any plan for reverse proxy function support?

Open leopku opened this issue 2 years ago • 6 comments

Thanks for this awesome project firstly.

Does there any plan for proxy function support?

leopku avatar Apr 26 '22 05:04 leopku

Not yet. What type of proxy are you thinking of? SOCKs5? A reverse proxy? Is there a specific use case you have in mind?

xyproto avatar May 01 '22 20:05 xyproto

Not yet. What type of proxy are you thinking of? SOCKs5? A reverse proxy? Is there a specific use case you have in mind?

I mean reverse proxy.

If algernon support reverse proxy, I can only run algernon in many case. Otherwise I need running nginx or caddy in front of algernon.

leopku avatar May 04 '22 12:05 leopku

This is a great idea. There are no specific plans for it right now, but I might find time for it, or someone may contribute code.

xyproto avatar May 09 '22 20:05 xyproto

I will dig into the source code of algernon tomorrow. And after that hope I can estimate whether I can finish this function.

leopku avatar May 12 '22 10:05 leopku

I'm now ready for a reverse proxy with go and built-in libraries.

But I confused how to add and read reverse proxy configuration infomations.

Any advice?

leopku avatar Jun 09 '22 12:06 leopku

I'm now ready for a reverse proxy with go and built-in libraries.

But I confused how to add and read reverse proxy configuration infomations.

Any advice?

Add some-functions to LuaState, using serverconf.lua for the reverse-proxy configuration.

linkerlin avatar Jun 28 '22 00:06 linkerlin

This feature is now in place.

xyproto avatar Jul 22 '23 19:07 xyproto