Custom load balancer?

I’ve been using a custom Nginx+Lua based image as a reverse proxy against what Rancher would call my “stack”.

It includes a Lua script to handle JWT authentication; the JWT is verified against a secret and the claims are decomposed into X-Claim headers in the forwarded HTTP request.

What would be the downside to using this image instead of the rancher/load-balancer-service in a Rancher environment?