Welcome! Log In Create A New Profile

Advanced

any datagroup type solution for nginx

Oğuz Yarımtepe
April 27, 2021 07:50AM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

any datagroup type solution for nginx

Oğuz Yarımtepe April 27, 2021 07:50AM

Re: any datagroup type solution for nginx

Francis Daly May 07, 2021 10:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready