# prevent nginx from serving dotfiles (.htaccess, .svn, .git, etc.) location ~ /\. { deny all; access_log off; log_not_found off; } } 使用如上配置,你可以在php.ini中設(shè)置cgi.fix_pathinfo=0,這樣可以避免許多不必要的系統(tǒng)的stat()調(diào)用。 基本安裝和配置就到這里~~...
www.dbjr.com.cn/article/612...htm 2025-5-20