nginx 服务器目录禁止索引?

我是在window下用的laragon集成环境用来学习开发laravel。启动nginx服务器可以打开localhost:8080,但是打不开WWW目录下面的网站,也就是XXX.dev,会提示服务器拒绝连接请求。切换成apache服务器不存在该问题
错误日志提示:
2017/08/08 09:40:24 [error] 9928#9048: *4 directory index of "D:/laragon/www/poi/" is forbidden, client: 127.0.0.1, server: localhost, request: "GET /poi/ HTTP/1.1", host: "localhost:8080"

nginx.conf的配置:

#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;

events {
    worker_connections  1024;
}

http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;

    #gzip  on;

    include "D:/laragon/etc/nginx/php_upstream.conf";
    include "D:/laragon/etc/nginx/sites-enabled/*.conf";
    client_max_body_size 2000M;
}
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!