Details
-
Bug
-
Resolution: Invalid
-
High
-
1.3.1
-
None
Description
Created after EZP-25900.
I execute the command below
bin/vhost.sh --basedir=/data/Web/ezpublish/main --template-file=doc/nginx/vhost.template --host-name=ezpublish.dev --port=80 --sf-env=dev --request-timeout=60
When I try to open http://ezpublish.dev, I get 404 and the following error in the log file
2016/06/17 15:12:39 [error] 19614#0: *1 "/data/Web/ezpublish/main/web/index.php/index.html" is not found (2: No such file or directory), client: 192.168.2.70, server: ezpublish.dev, request: "GET / HTTP/1.1", host: "ezpublish.dev"
After checking the vhost file, I noticed there's no index directive so nginx is looking for index.html instead app.php. This seems to be a template bug.