Ssl Nginx输入流ssk卸载
当使用NginX进行ssl卸载时,工作正常,但是当尝试通过套接字对序列化流执行此操作时,它似乎工作不正确,并且使用流的文档没有任何意义 有谁能帮我举一个正在工作的foo-bar示例,说明如何在nginx中为由序列化日志事件对象构成的流式输入卸载ssl 编辑: 我们正在尝试转发并从log4j socketappender输出中剥离SSL,但在未启用SSL时,甚至无法使转发工作Ssl Nginx输入流ssk卸载,ssl,nginx,Ssl,Nginx,当使用NginX进行ssl卸载时,工作正常,但是当尝试通过套接字对序列化流执行此操作时,它似乎工作不正确,并且使用流的文档没有任何意义 有谁能帮我举一个正在工作的foo-bar示例,说明如何在nginx中为由序列化日志事件对象构成的流式输入卸载ssl 编辑: 我们正在尝试转发并从log4j socketappender输出中剥离SSL,但在未启用SSL时,甚至无法使转发工作 here is the config file without the ssl offloading portion(wh
here is the config file without the ssl offloading portion(when retrieving non https the forwarding still does not work correctly)
events {
worker_connections 1024;
}
http {
server {
listen 4560 ;
server_name logstash.corelims.com;
location / {
proxy_pass_request_headers on;
proxy_pass http://localhost:4561/;
proxy_redirect http://localhost:4561/ http://logstash.corelims.com:4560/;
}
error_log C:/ELK/nginx-1.9.4/logs/debug.log debug;
}
}
这将引导我们找到以下调试日志:
2015/08/27 00:54:59 [info] 5052#3716: *45 WSARecv() failed (10054: An existing connection was forcibly closed by the remote host) while reading client request line, client: IP.ADDRESS.HIDDENFOR.POST, server: foo.bar.com, request: "’ "
2015/08/27 00:54:59 [debug] 5052#3716: *45 lingering read: -1
2015/08/27 00:54:59 [debug] 5052#3716: *45 http request count:1 blk:0
2015/08/27 00:54:59 [debug] 5052#3716: *45 http close request
2015/08/27 00:54:59 [debug] 5052#3716: *45 http log handler
2015/08/27 00:54:59 [debug] 5052#3716: *45 free: 008DE8E8, unused: 1991
2015/08/27 00:54:59 [debug] 5052#3716: *45 close http connection: 300
2015/08/27 00:54:59 [debug] 5052#3716: *45 event timer del: 300: 1822859279
2015/08/27 00:54:59 [debug] 5052#3716: *45 select del event fd:300 ev:0
2015/08/27 00:54:59 [debug] 5052#3716: *45 reusable connection: 0
2015/08/27 00:54:59 [debug] 5052#3716: *45 free: 023BCED0
2015/08/27 00:54:59 [debug] 5052#3716: *45 free: 023BEEA8, unused: 24
2015/08/27 12:27:45 [debug] 5052#3716: select del event fd:316 ev:0
“似乎工作不正常”是什么意思?特别是,你期望发生什么以及实际发生了什么?解释什么不起作用。例如:屏幕截图、代码示例、错误消息……通过后期编辑显示更多信息,谢谢各位