Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25902

NGINX: vhost.template lacks index directive

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Invalid
    • Affects Version/s: 1.3.1
    • Fix Version/s: QA tracked issues
    • Component/s: Install, Misc
    • Labels:
      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: