Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    The user running nginx needs to have read-access to the files it tries to serve. Commented Dec 16, 2022 at 10:13
  • rathier, that's an additional consideration, but 502 "Bad gateway" is probably not caused by file access, but by failure to talk to the fastcgi server. Commented Dec 16, 2022 at 10:21
  • Is your PHP fastcgi server up and running, Amirreza? Commented Dec 16, 2022 at 10:21
  • the issue was a mix of fastcgi and permissions issue, I'll edit my question Commented Dec 16, 2022 at 11:39