Identical location blocks
August 20, 2022 12:27AM

I already have one location block such as location ~/v1 and has some redirect or proxy_pass inside it for Couchbase site.
And if I want to use a similar location block say location /v1 and have a proxy_pass http://ABC; for Consul site, is there any way of adding an identical location block without disturbing the existing location block, thank you.

Edited 1 time(s). Last edit at 08/20/2022 12:28AM by
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 121
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