NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
Hello,
i have that block in my current website, for redirect old requests to old website api, can you help me?
set $root /var/www/new/public;
# REDIRECT API_V3/V3 to old site
if ($request_uri ~ .*api_v2.*) {
set $root /var/www/old/public;
}
if ($request_uri ~ .*api_v3.*) {
set $root /var/www/old/public;
}
root $root;
Hello, i have that block in my current website, for redirect old requests to old website api, can you help me?