如何在 nginx 中注册 FollowSymLinks?

How to register FollowSymLinks in nginx?

在 Apache 站点的配置文件中有这一行:

Options FollowSymLinks

如何在相同配置的 nginx 中注册?

在您的 nginx conf 文件中尝试以下操作:

http {
    disable_symlinks off;
}

在nginx中这个选项是默认的。如果你愿意,你只能disable it