laraveladmin 安装后输入 url 报 404

依次操作如下命令后:
composer create-project –prefer-dist laravel/laravel laravel-admin 5.5.*
composer require encore/laravel-admin
php artisan vendor:publish –provider=”Encore\Admin\AdminServiceProvider”
php artisan admin:install
在浏览器地址栏输入路由后报如下错误:

nginx配置如下:

server {
        listen       8088;
        server_name  merchant.com.cn;
        root         /data0/tmp/merchant/public;
        index index.php index.html index.htm;
        client_max_body_size 8M;
        client_body_buffer_size 128k;
        fastcgi_intercept_errors on;
        location / {
            try_files $uri $uri/ /index.php?$query_string;
        }

        location ~ \.php$ {
            fastcgi_pass 127.0.0.1:9000;
            fastcgi_index index.php;
            fastcgi_split_path_info ^(.+\.php)(/.+)$;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include fastcgi_params;
        }
        error_page 404 /404.html;
            location = /40x.html {
        }

        error_page 500 502 503 504 /50x.html;
            location = /50x.html {
        }
    }

请各位帮忙看看可能是什么原因呢?是还需要在代码中修改什么地方么?望指教!

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
最佳答案

服务器如果在公网,确保这行代码里的域名是可以正常访问的server_name merchant.com.cn。如果想直接使用IP访问,把这行的域名改成IP地址试试

3年前 评论
yang1018 (楼主) 3年前
zhaiduting (作者) 3年前
讨论数量: 1

服务器如果在公网,确保这行代码里的域名是可以正常访问的server_name merchant.com.cn。如果想直接使用IP访问,把这行的域名改成IP地址试试

3年前 评论
yang1018 (楼主) 3年前
zhaiduting (作者) 3年前

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