rewrite rule:
location / {
rewrite ^/([a-z]+)/$ /index.jsp?a=$1 last;
}
and I create a directory /abc/ in the root directory ,and put a index.html in /abc/
when I access http://localhost/abc/ ,I can’t get /abc/index.html
How to make http://localhost/abc/ can be access?
create an extra location block