Hi,
I am trying to find the equivalent Candy version of the following nginx.conf
snippet, which looks up requested file in multiple roots(/a
, /b
):
root /a; # First use root /a
try_files $uri $uri/ $uri/index.htm $uri/index.html @mirrors; # If cannot find it in /a, try @mirrors
location @mirrors {
root /b; # Then use root /b
}
Is there any solution to this problem without explicitly specifying directory names? Thanks.