比如想要访问domain/1.txt文件,

nginx配置方法:

location ~* \.(txt)${
root /www;
allow all;
}

posted on 2013-03-09 14:35  andy071001  阅读(1684)  评论(0)    收藏  举报