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

nginx配置方法:

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

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