Skip to content

forbidden pub/media/catalog/category #10145

@tomnyson

Description

@tomnyson

Preconditions

  1. php-fpm 7.0, mysql 5.7, nginx
  2. magento 2.1.7

Steps to reproduce

  1. php bin/magento catalog:images:resize
  2. open web browser
  3. tail -f /var/log/nginx/error.log

Expected result

1408#1408: *14443 directory index of "/home/vmax/pub lic_html/vmaxprj/current/pub/media/catalog/category/" is forbidden, client: 127. 0.0.1, server: v1.vmax.vn, request: "GET /media/catalog/category/ HTTP/1.0", hos t: "v1.vmax.vn"

Actual result

show many message in file log error of nginx.
forbidden access /media/catalog/category/

  1. [Screenshot, logs]
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Format is validGate 1 Passed. Automatic verification of issue format passed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions