xiaozi 2014-11-21 22:12:00

nginx 中,应该使用`try_files`来判断文件是否存在,而不是`if`

plain
location / {
	try_files index.html index.php =404;
}

评论

Home - Wiki
Copyright © 2011-2025 iteam. Current version is 2.142.0. UTC+08:00, 2025-02-21 08:11
浙ICP备14020137号-1 $Map of visitor$