+
81
-

回答

顺序反了,把

        location ~* ^/onlyhtml/.*.(php|php5)$ {
deny all;
}

放在 location ~ [^/]\.php(/|$) {上面

网友回复

我知道答案,我要回答