Skip to content

nginx.sample.conf missing heath_check.php? #11157

Closed
@cscarnell98

Description

@cscarnell98

I've updated to 2.2, and regularly get the error below in my nginx error logs. I believe it's because health_check which is used in varnish config is not catered for in the nginx sample vhost configuration

Preconditions

  1. Magento 2.2.0
  2. nginx 1.12.1
  3. OS X 10.12.6

Steps to reproduce

  1. Update to Magento 2.2
  2. View home page of site

Expected result

  1. No errors

Actual result

nginx error log

  1. 2017/09/30 10:42:59 [error] 7848#0: *115 open() "/usr/local/Cellar/nginx/1.12.1/html/pub/health_check.php" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /pub/health_check.php HTTP/1.1", host: "127.0.0.1"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions