Apache代理fcgi错误

问题描述 投票:0回答:1

我经常担心我们收到的网站。

  • 操作系统:Ubuntu 16.04服务器
  • Apache:2.4.18
  • Php-fpm版本:7.0

日志文件Apache error.log中的错误消息:

[proxy_fcgi:error] [pid 6588](32)管道损坏:[client 127.0.0.1:59404] AH01075:错误调度请求:(将传递给输出过滤器)

我该如何解决这个错误?

php apache proxy fastcgi
1个回答
0
投票

这是Web服务器的haproxy配置:

“global”log 127.0.0.1 local0 #log / dev / log local0 #log / dev / log local1 notice chroot / var / lib / haproxy socket stats /run/haproxy/admin.sock mode 660 level admin stats timeout 30s user haproxy group haproxy守护进程

#默认SSL材料位置ca-base / etc / ssl / certs crt-base / etc / ssl / private

默认日志日志127.0.0.1 local0全局日志http模式maxconn 4096选项httplog选项dontlognull forwardfor选项http-server-close选项redispatch选项重试3超时连接5000客户超时600s超时服务器600s errorfile 400 /etc/haproxy/errors/400.http errorfile 403 /etc/haproxy/errors/403.http errorfile 408 /etc/haproxy/errors/408.http errorfile 500 /etc/haproxy/errors/500.http errorfile 502 /etc/haproxy/errors/502.http errorfile 503 / etc / haproxy / errors / 503.http errorfile 504 /etc/haproxy/errors/504.http

frontend 80 bind *:80 acl is_box hdr_sub(User-Agent)-i box acl is_box_api path_beg -i / api / box redirect scheme https code 308 if! is_box! is_box_api! {ssl_fc} http模式default_backend httpcache

前端443 #bind *:443 ssl crt /usr/local/etc/haproxy/certs/prod-calde.ucs.com.pem ssl crt / usr / local / etc / haproxy / certs bind *:443 ssl crt / usr /本地/ etc / haproxy / certs / prod-calde.ucs.com.pem default_backend httpcache http模式

“httpcache backend”“http模式acl forwarded_proto hdr_cnt(X-Forwarded-Proto)eq 0 acl forwarded_port hdr_cnt(X-Forwarded-Port)eq 0 http-request add-header X-Forwarded-Port%[dst_port] if forwarded_port http-请求add-header X-Forwarded-Proto https if {ssl_fc} forwarded_proto server node1 127.0.0.1:6081“

© www.soinside.com 2019 - 2024. All rights reserved.