2012-03-05 30 views

回答

0
location ~ \.jsp { 
    return 403; 
} 

这将使* .JSP无法访问。如果你想让他们可以访问,但只能通过内部重写,那么改变'return 403;'到'内部'。