NGINX is pretty picky in the ordering of locations.
given:
location ~ /user/.* {
proxy_pass something1;
}
location ~ /user/abc {
proxy_pass something2;
}
All traffic will go through something1 if my understanding is correct.
Because of wanting to dynamically edit locations, it would be beneficial to be able to _add locations at a specified index just like the _remove function.
NGINX is pretty picky in the ordering of locations.
given:
All traffic will go through something1 if my understanding is correct.
Because of wanting to dynamically edit locations, it would be beneficial to be able to _add locations at a specified index just like the _remove function.