到目前为止,我一直在我的 nginx 配置文件的 php 位置使用以下内容
try_files $uri $uri/ /index.php?$query_string;
Run Code Online (Sandbox Code Playgroud)
但是,我刚刚在 Wordpress Codex 指南中看到,对于零日漏洞,应该使用以下内容:
try_files $uri =404;
Run Code Online (Sandbox Code Playgroud)
两者在安全性方面有什么区别?