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*

3
  • I got nginx: [emerg] unknown directive "disable_symlinks" in /usr/local/etc/nginx/nginx.conf:22 after doing this. I was using nginx/1.8.0 on Mac OS X. Commented Dec 10, 2015 at 9:17
  • 2
    @frozen-flame disable_symlinks was added in version 1.1.15 (see docs), so it should have worked. Are you sure you were on 1.8.0, and that it was in the allowed context (http, server, or location)? Commented May 7, 2016 at 1:47
  • 7
    Context to use disable_symlinks: http, server, location Commented Apr 4, 2019 at 16:56