安装nginx服务器

在wwwroot目录下新建目录page

在/usr/local/nginx/conf/nginx.conf下添加如下内容

server {
        listen   80;
        server_name  domain www.domain;
        access_log  /var/...........................;
        root   /path/to/root;
        location / {
                index  index.php index.html index.htm;
        }
        location /page {
               autoindex on;
        }
}


更多推荐

用服务器制作自己的图床