nginx rewrite rules do not take effect
我想大声告诉你
我想大声告诉你 2017-05-16 17:20:38
0
1
673

After adding the following rewrite rule, requesting the html file did not add ?mode=test

location / {
        rewrite ^/(.*).html$ /.html?mode=test break;
        error_page 404 = @nodejs;
}
我想大声告诉你
我想大声告诉你

reply all(1)
某草草

break will not modify the URL and will not re-initiate the request.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template