【问题标题】:is this a bug of nginx: open() "/usr/share/nginx/html/testproxy.php" failed这是 nginx 的错误:open() "/usr/share/nginx/html/testproxy.php" 失败
【发布时间】:2017-12-05 01:13:54
【问题描述】:

我是 nginx 新手,昨天我在 centos 上安装了 lemp 并在上面托管了一个网站。今天我收到这个错误信息。请告诉我这是否是 nginx 的安全错误?谢谢!

cat /var/log/nginx/error.log 2017/07/01 03:52:18 [错误] 6073#0: *23151 open() "/usr/share/nginx/html/testproxy.php" 失败(2:没有这样的文件或目录),客户端:91.196 .50.33,服务器:_,请求:“GET http://testp3.pospr.waw.pl/testproxy.php HTTP/1.1”,主机:“testp3.pospr.waw.pl”

【问题讨论】:

    标签: nginx


    【解决方案1】:

    这不是 nginx 错误:如果您当前运行的网站在 Internet 上是可访问的,那么机器人脚本将尝试通过对常见 URL、路径和模式的各种自动请求(例如admin.php/wp-login.php 用于 WordPress 博客...)。只要确保为服务器设置了适当的安全性,就可以了。

    【讨论】:

    • /usr/share/nginx/html/ 是 nginx 的默认 web 文件夹,是 my_ip 的主页。如果您知道这不是错误,那么我该如何重新生成该错误日志?
    猜你喜欢
    • 1970-01-01
    • 2019-10-15
    • 1970-01-01
    • 2014-12-13
    • 2015-05-25
    • 2018-12-15
    • 2017-09-18
    • 2021-09-23
    • 2023-02-01
    相关资源
    最近更新 更多