# cat /usr/local/nginx/conf/nginx.conf
#user nobody;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
#添加以下3条
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
#gzip on;
server {
listen 80;
server_name localhost;
location / {
root /file_server/targtime/;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}
Index of /OperateSystem/Linux/
03-Apr-2011 09:26 4G
19-Jan-2011 06:52 3G
09-Apr-2011 10:09 3G
09-Apr-2011 10:14 3G
23-Nov-2010 22:37 633M
04-Apr-2011 02:48 664M
22-Feb-2011 07:21 3G
10-Nov-2010 06:09 693M
30-Nov-2010 04:46 627M
阅读(623) | 评论(0) | 转发(0) |