any datagroup type solution for nginx

Oğuz Yarımtepe oguzyarimtepe at gmail.com
Tue Apr 27 11:49:04 UTC 2021


I have large list of paths going to same backend:

location ~ /xxx { proxy_pass http://backend_foo; }
location ~ /yyy { proxy_pass http://backend_foo; }
location ~ /zzz { proxy_pass http://backend_foo; }
location ~ /mmm { proxy_pass http://backend_foo; }
....

The number of paths are 3254. So writing them line by line doesn't look so
nice to me. any other more performance solution? Maybe with lua and in
memory solution?

-- 
Oğuz Yarımtepe
http://about.me/oguzy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210427/519a9e11/attachment.htm>


More information about the nginx mailing list