摘要: sudo vi /usr/local/nginx/conf/nginx.conf打开配置文件,找到所需要配置的server,添加伪伪静态 server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root /var/www/; index index.php index.html index.htm; rewrite ^([^\.]*)/blog-([0-9]+... 阅读全文
posted @ 2011-09-15 23:46 Conan304 阅读(571) 评论(0) 推荐(0) 编辑