gpt4 book ai didi

php - 规则错误的连接被拒绝和访问禁止,如何解决?

转载 作者:行者123 更新时间:2023-12-05 00:54:40 26 4
gpt4 key购买 nike

这里的任何人都可以请这些错误行吗我对服务器配置不太了解

  • 我的服务器在 centos 上,由 CWP 面板管理

  • 网络服务器配置; nginx-apache-php-cgi

  • 托管 Wordpress 网站

    p=138538", host: "www.example.com", referrer: "https://www.example.com/?p=138538"
2021/01/20 04:09:04 [error] 7572#7572: *183771 connect() failed (111: Connection refused) while connecting to upstream, client: 92.243.17.112, server: example.com, request: "GET /?p=138539 HTTP/1.1", upstream: "http://serverip:8181/?p=138539", host: "www.example.com", referrer: "https://www.example.com/?p=138539"
2021/01/20 04:09:04 [error] 7573#7573: *183773 connect() failed (111: Connection refused) while connecting to upstream, client: 92.243.17.112, server: example.com, request: "GET /?p=138540 HTTP/1.1", upstream: "http://serverip:8181/?p=138540", host: "www.example.com", referrer: "https://www.example.com/?p=138540"
2021/01/20 04:09:04 [error] 7573#7573: *183775 connect() failed (111: Connection refused) while connecting to upstream, client: 92.243.17.112, server: example.com, request: "GET /?p=138541 HTTP/1.1", upstream: "http://serverip:8181/?p=138541", host: "www.example.com", referrer: "https://www.example.com/?p=138541"
2021/01/20 04:09:04 [error] 7573#7573: *183777 connect() failed (111: Connection refused) while connecting to upstream, client: 92.243.17.112, server: example.com, request: "GET /?p=138542 HTTP/1.1", upstream: "http://serverip:8181/?p=138542", host: "www.example.com", referrer: "https://www.example.com/?p=138542"
2021/01/20 04:09:04 [error] 7569#7569: *183779 connect() failed (111: Connection refused) while connecting to upstream, client: 92.243.17.112, server: example.com, request: "GET /?p=138543 HTTP/1.1", upstream: "http://serverip:8181/?p=138543", host: "www.example.com", referrer: "https://www.example.com/?p=138543"
2021/01/20 16:49:42 [error] 13155#13155: *363777 access forbidden by rule, client: 5.62.63.82, server: example.com, request: "GET /.git//index HTTP/1.1", host: "www.example.com"
2021/01/20 19:03:24 [error] 13152#13152: *422267 access forbidden by rule, client: 84.17.46.160, server: example.com, request: "GET /.git//index HTTP/1.1", host: "www.example.com"
2021/01/20 19:34:11 [error] 13156#13156: *440164 access forbidden by rule, client: 84.17.46.160, server: example.com, request: "GET /.git//index HTTP/1.1", host: "www.example.com"

最佳答案

Nginx 中的日志消息“规则禁止访问”表示请求被您在配置文件中指定的规则丢弃。您应该寻找以“允许”或“拒绝”开头的规则。

关于php - 规则错误的连接被拒绝和访问禁止,如何解决?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65816813/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com