Home > Q&A > body text
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; }
某草草2017-05-16 17:22:38
break will not modify the URL and will not re-initiate the request.