Welcome! Log In Create A New Profile


who can help me ?

January 11, 2013 08:13AM
The nginx make proxy server...

Some time was ok,some time :
[error] 18528#0: *50881 recv() failed (104: Connection reset by peer) while reading response header from upstream, client:, server: oa.owenschool.com, request: "GET / HTTP/1.1", upstream: "", host: "oa.owens.com.cn"

Why? But some time is ok, some time is error....

The proxy config file:

server {
listen 80;
server_name oa.owens.com.cn;
location / {
root html;
index index.html index.htm;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Accept-Encoding "";
proxy_connect_timeout 60;
proxy_send_timeout 60;
proxy_read_timeout 60;
proxy_buffer_size 512k;
proxy_buffers 8 512k;
proxy_busy_buffers_size 512k;

location = /50x.html {
root html;


who can help me ?

referconJanuary 11, 2013 08:13AM

Re: who can help me ?

Maxim DouninJanuary 11, 2013 08:24AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 116
Record Number of Users: 5 on August 04, 2015
Record Number of Guests: 244 on October 02, 2015
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready