fecshop / yii2_fecshop_docker

使用docker compose 快速的安装fecshop的环境,包括mysql php(含扩展),mongodb,mysql,redis,xunsearch等
185 stars 119 forks source link

启动之后,访问页面出错 #9

Closed tomoat closed 5 years ago

tomoat commented 6 years ago

启动一切正常,但是当在浏览器中访问页面的时候,页面出现下面提示

File not found.

再看日志中出现这样的记录

php_1        | 172.19.0.7 -  26/May/2018:04:59:30 +0000 "GET /index.php" 404
web_1        | 2018/05/26 04:59:30 [error] 7#7: *13 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.19.0.1, server: my.fecshop.com, request: "GET / HTTP/1.1", upstream: "fastcgi://172.19.0.6:9000", host: "localhost"
web_1        | 172.19.0.1 - - [26/May/2018:04:59:30 +0000] "GET / HTTP/1.1" 404 47 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3423.0 Safari/537.36"
tomoat commented 6 years ago

已经在hosts文件中配置了虚拟域名,问题依然这样

fancyecommerce commented 6 years ago

有安装视频:http://www.fecshop.com/doc/fecshop-guide/instructions/cn-1.0/guide-fecshop_video_docker_install.html

你看看视频吧