After adding the following rewrite rule, requesting the html file did not add ?mode=test
?mode=test
location / { rewrite ^/(.*).html$ /.html?mode=test break; error_page 404 = @nodejs; }
break will not modify the URL and will not re-initiate the request.
break will not modify the URL and will not re-initiate the request.