<div dir="ltr">Lol, well that was some URL link on our website :-D. Could you please help me instead of enjoying the xxx words :p<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 2, 2014 at 3:06 PM, B.R. <span dir="ltr"><<a href="mailto:reallfqq-nginx@yahoo.fr" target="_blank">reallfqq-nginx@yahoo.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">'18-xxx-sex-hot' :oD<br>
<br></div><div class="gmail_extra">Pro.<br clear="all"><div><font size="1"><span style="color:rgb(102,102,102)">---<br>

</span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div>
<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Jun 2, 2014 at 11:04 AM, shahzaib shahzaib <span dir="ltr"><<a href="mailto:shahzaib.cb@gmail.com" target="_blank">shahzaib.cb@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<div dir="ltr"><div><div><div><div>Hello,<br><br></div>         We're using nginx as reverse proxy in front of apache and following error occurs most of the time :<br><br>2014/06/02 01:00:28 [error] 3288#0: *6492138 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 141.0.10.83, server: <a href="http://domain.com" target="_blank">domain.com</a>, request: "GET /rss/recent HTTP/1.1", upstream: "<a href="http://127.0.0.1:7172/rss/recent" target="_blank">http://127.0.0.1:7172/rss/recent</a>", host: "<a href="http://domain.com" target="_blank">domain.com</a>"<br>



2014/06/02 01:00:29 [error] 3288#0: *6492143 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 141.0.8.54, server: <a href="http://domain.com" target="_blank">domain.com</a>, request: "GET /rss/recent HTTP/1.1", upstream: "<a href="http://127.0.0.1:7172/rss/recent" target="_blank">http://127.0.0.1:7172/rss/recent</a>", host: "<a href="http://domain.com" target="_blank">domain.com</a>"<br>



2014/06/02 01:00:31 [error] 3285#0: *6492195 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 119.160.119.47, server: <a href="http://domain.com" target="_blank">domain.com</a>, request: "GET /video/2437706/18-xxx-sex-hot HTTP/1.1", upstream: "<a href="http://127.0.0.1:7172/video/2437706/18-xxx-sex-hot" target="_blank">http://127.0.0.1:7172/video/2437706/18-xxx-sex-hot</a>", host: "<a href="http://domain.com" target="_blank">domain.com</a>", referrer: "<a href="http://www.google.com.pk/search?hl=en&ie=ISO-8859-1&q=xxxsex" target="_blank">http://www.google.com.pk/search?hl=en&ie=ISO-8859-1&q=xxxsex</a>"<br>



<br></div>Following is the nginx.conf :<br><br>user  tune;<br># no need for more workers in the proxy mode<br>worker_processes  16;<br>error_log  /var/log/nginx/error.log error;<br>error_log  /var/log/nginx/error.log crit;<br>



#error_log  /var/log/nginx/error.log;<br>worker_rlimit_nofile 409600;<br>events {<br> worker_connections 102400; # increase for busier servers<br> use epoll; # you should use epoll here for Linux kernels 2.6.x<br>}<br>http {<br>



 server_name_in_redirect off;<br> server_names_hash_max_size 10240;<br> proxy_read_timeout 900;<br> fastcgi_read_timeout 900;<br> server_names_hash_bucket_size 1024;<br> include    mime.types;<br> default_type  application/octet-stream;<br>



 server_tokens off;<br> sendfile on;<br> tcp_nopush on;<br> tcp_nodelay on;<br> keepalive_timeout  5;<br> gzip on;<br> gzip_vary on;<br> gzip_disable "MSIE [1-6]\.";<br> gzip_proxied any;<br> gzip_http_version 1.0;<br>



 gzip_min_length  1000;<br> gzip_comp_level  6;<br> gzip_buffers  16 8k;<br># You can remove image/png image/x-icon image/gif image/jpeg if you have slow CPU<br> gzip_types    text/plain text/xml text/css application/x-javascript application/javascript application/xml application/xml+rss text/javascript application/atom+xml;<br>



 ignore_invalid_headers on;<br> client_header_timeout  3m;<br> client_body_timeout 3m;<br> send_timeout     3m;<br> reset_timedout_connection on;<br> connection_pool_size  256;<br> client_header_buffer_size 256k;<br> large_client_header_buffers 4 256k;<br>



 client_max_body_size 2000M;<br> client_body_buffer_size 128k;<br> request_pool_size  32k;<br> output_buffers   4 32k;<br> postpone_output  1460;<br> client_body_in_file_only on;<br> log_format bytes_log "$msec $bytes_sent .";<br>



 include "/etc/nginx/conf.d/virtual.conf";<br>include "/etc/nginx/conf.d/beta.conf";<br>include "/etc/nginx/conf.d/admin.conf";<br>#include "/etc/nginx/conf.d/admin-ssl.conf";<br><br>



}<br><br></div>Regards.<span><font color="#888888"><br></font></span></div><span><font color="#888888">Shahzaib<br></font></span></div>
<br></div></div>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div>