5 ms·
I've usually used nginx for this purpose, proxying requests to a 3rd party server but tacking on authorization headers, for example, keeping them secret from th
by cypherpunks01 3y ago
I've usually used nginx for this purpose, proxying requests to a 3rd party server but tacking on authorization headers, for example, keeping them secret from the client. This strategy's always works great for me, but I guess it's limited to fairly simple pass-through use cases.
This seems cool if there are more complex needs or configuration that can't be done with simple proxying and nginx rules.
- ahyesthd 3y ago[dead]
- teitoklien 3y agoNginx is quite extendable, there are tons of nginx plugins to help you add more customizations. There is OpenResty, a version of nginx [0]. It allows you to script all sorts of stuff with Lua inside nginx itself. Tools like lockbox are not necessary, nginx, caddy, etc or heck even a normal 70 line python3 fastapi based script works just fine and should be more extendable than lockbox. [0](https://openresty.org/en/ https://openresty.org/en/)
- kitd 3y agoTools like lockbox are not necessary, nginx, caddy, etc or heck even a normal 70 line python3 fastapi based script works just fine and should be more extendable than lockbox. Well in that case you could make that argument about any piece of software. There's always value in providing a simple tool for handling & automating the complexity found in 90% of use cases.
- Terretta 3y ago> Tools like lockbox are not necessary, nginx, caddy, etc or heck even a normal 70 line python3 fastapi based script works just fine... A normal 170 lines of Python3 Flask based script, but who's counting? https://github.com/mkjt2/lockbox/blob/main/lockbox/app.py https://github.com/mkjt2/lockbox/blob/main/lockbox/app.py
- teitoklien 3y agoat that point its not worth it, to depend on an external provider, simpler to just code it myself and have 100% control, but you do you. Btw cool startup! (ClearAlpha) , good luck with it !