How to Properly Set Up a SOCKS5 Proxy with Resty: Any Tips or Best Practices?

18 Replies, 2325 Views

Wow, thanks for all the tips, folks! I didn’t expect so many helpful replies.

I tried using `curl` with the `--socks5` flag like someone suggested, and it worked perfectly. Turns out my proxy server was fine, but my resty config was a mess.

I’m gonna try the `lua-resty-http` library next. Also, that GitHub repo someone linked looks super helpful.

One quick question though—anyone know if resty set socks5 proxy works with HTTP/2? I’m getting some weird errors when I try it.

Thanks again, y’all are lifesavers!

Messages In This Thread



Users browsing this thread: 1 Guest(s)