# Server

**URL:** https://www.ruby-forum.com/c/server/33.md?page=129

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 130

---

## [Reverse proxy requires http header from upstream?](https://www.ruby-forum.com/t/reverse-proxy-requires-http-header-from-upstream/224227)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 4, 2012, 2:58pm UTC](https://www.ruby-forum.com/t/reverse-proxy-requires-http-header-from-upstream/224227 "2012-11-04T14:58:04Z")

</div>

Hi all, I’m trying to use nginx as a reverse proxy for several softwares that comes with webui, e.g. Transmission, MLDonkey, etc. All are working well except for aMule, which I can connect directly to its port, but…

---

## [Configuration issues with 100-150MB files downloads causing high CPU usage](https://www.ruby-forum.com/t/configuration-issues-with-100-150mb-files-downloads-causing-high-cpu-usage/224225)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [November 3, 2012, 10:48pm UTC](https://www.ruby-forum.com/t/configuration-issues-with-100-150mb-files-downloads-causing-high-cpu-usage/224225 "2012-11-03T22:48:44Z")

</div>

Hello, I’m hoping someone would be able to assist in my dilemma, I’ve searched for a few weeks on a fix with no success… I run Nginx in proxy pass-through mode to apache… (I hope I got the right terminology…), but bas…

---

## [Nginx as backend](https://www.ruby-forum.com/t/nginx-as-backend/224220)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [November 3, 2012, 7:19pm UTC](https://www.ruby-forum.com/t/nginx-as-backend/224220 "2012-11-03T19:19:32Z")

</div>

Hi, I am writing this to hopefully get some help of you gus after struggeling with this issue in a few days. I will try to describe the issue as short as pssible. Ok, my website runs just fine on 443 and 80 with the …

---

## [Site URL not completed. Bad redirection?](https://www.ruby-forum.com/t/site-url-not-completed-bad-redirection/224075)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 9\
**Last updated:** [November 3, 2012, 11:37am UTC](https://www.ruby-forum.com/t/site-url-not-completed-bad-redirection/224075 "2012-11-03T11:37:59Z")

</div>

Hello, I’m trying to replace apache2 by nginx. So far my platform debian squeeze + Apache2 + sogo 2.0.2 works very fine. However I decided to replace apache2 by nginx 1.2.4-1. It works too but it seems there is a re…

---

## [Trying to configure an origin pull CDN-like reverse proxy](https://www.ruby-forum.com/t/trying-to-configure-an-origin-pull-cdn-like-reverse-proxy/224208)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 3, 2012, 10:44am UTC](https://www.ruby-forum.com/t/trying-to-configure-an-origin-pull-cdn-like-reverse-proxy/224208 "2012-11-03T10:44:50Z")

</div>

Hello, I’m hosting a group of Wordpress blogs with about 200k visits and millions of hits per day. MySql + PHP live in a server (beefy VPS) and I placed a reverse proxy in front of it to cache most of the requests. No…

---

## [Failed (104: Connection reset by peer)](https://www.ruby-forum.com/t/failed-104-connection-reset-by-peer/224189)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 3, 2012, 10:29am UTC](https://www.ruby-forum.com/t/failed-104-connection-reset-by-peer/224189 "2012-11-03T10:29:03Z")

</div>

hello , hello sir i am beginer, i haev following errors in my logs in my error log , 2012/11/02 12:27:26 \[error\] 3909#0: \*1 recv() failed (104: Connection reset by peer) while reading response header from upstream, c…

---

## [Why tcp\_nodelay default to on?](https://www.ruby-forum.com/t/why-tcp-nodelay-default-to-on/224210)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 3, 2012, 6:10am UTC](https://www.ruby-forum.com/t/why-tcp-nodelay-default-to-on/224210 "2012-11-03T06:10:20Z")

</div>

From the doc: http://wiki.nginx.org/ReadMoreAboutTcpNodelay TCP\_NODELAY is for a specific purpose; to disable the Nagle buffering algorithm. It should only be set for applications that send frequent small bursts of i…

---

## [Cannot load such file -- 1.9/http11](https://www.ruby-forum.com/t/cannot-load-such-file-1-9-http11/224198)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 2, 2012, 10:14pm UTC](https://www.ruby-forum.com/t/cannot-load-such-file-1-9-http11/224198 "2012-11-02T22:14:40Z")

</div>

Hello, I have installed the mongrel 1.2.0-pre2 gem into my project. But when I do rake db:test:prepare I see this output : cannot load such file – 1.9/http11 Anyone a idea how to solve this ? Roelof

---

## [Incorrect SSL cert chain build order used/required by nginx 1.3.8?](https://www.ruby-forum.com/t/incorrect-ssl-cert-chain-build-order-used-required-by-nginx-1-3-8/224151)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 1, 2012, 8:30am UTC](https://www.ruby-forum.com/t/incorrect-ssl-cert-chain-build-order-used-required-by-nginx-1-3-8/224151 "2012-11-01T08:30:40Z")

</div>

I’m running nginx/1.3.8 on linux/64. I’m installing a commercial cert in nginx (Comodo Essential SSL). When I build the SSL chain in order per instructions from Comodo (Root → Intermediate(s) How do I make my own bu…

---

## [Consistent hashing using split\_clients](https://www.ruby-forum.com/t/consistent-hashing-using-split-clients/224140)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [November 1, 2012, 6:44am UTC](https://www.ruby-forum.com/t/consistent-hashing-using-split-clients/224140 "2012-11-01T06:44:56Z")

</div>

I’m looking for a way to do consistent hashing without any 3rd-party modules or perl/lua. I came up with the idea of generating a split\_clients and list of upstreams via script, so we can add/remove backends without …

---

## [FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream](https://www.ruby-forum.com/t/fastcgi-sent-in-stderr-primary-script-unknown-while-reading-response-header-from-upstream/223147)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 31, 2012, 4:41pm UTC](https://www.ruby-forum.com/t/fastcgi-sent-in-stderr-primary-script-unknown-while-reading-response-header-from-upstream/223147 "2012-10-31T16:41:15Z")

</div>

Hello, I went to setup Nginx with php-fpm. I have3 vhosts for the moment . I made a script to create vhost and pool file for php-fpm. I don’t know why but my firsts 2 vhosts work but not the third, i obtain this mes…

---

## [Memory consumption of ningx](https://www.ruby-forum.com/t/memory-consumption-of-ningx/224080)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 31, 2012, 12:29pm UTC](https://www.ruby-forum.com/t/memory-consumption-of-ningx/224080 "2012-10-31T12:29:16Z")

</div>

Hi, I cross-compiled nginx for microblaze processors (GitHub - peschuster/nginx: Fork of nginx for cross compilation changes (e.g. microblaze architecture).) and am currently doing some performance benchmarks with ng…

---

## [Strange 499 response code?](https://www.ruby-forum.com/t/strange-499-response-code/224125)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 31, 2012, 6:18am UTC](https://www.ruby-forum.com/t/strange-499-response-code/224125 "2012-10-31T06:18:05Z")

</div>

my server use nginx+php-fpm ,nginx as reverse proxy server, but our nginx access log got a lot of 499 response code,the document say that 499 means "client abort the connection “,i think the the reason cause " cli…

---

## [Secure shared hosting environment basics](https://www.ruby-forum.com/t/secure-shared-hosting-environment-basics/224065)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 31, 2012, 3:29am UTC](https://www.ruby-forum.com/t/secure-shared-hosting-environment-basics/224065 "2012-10-31T03:29:52Z")

</div>

Hi There, I know this question has probably been churned over and over in various different variations, so i applogise in advance if its one of those ‘here we go again’ posts :slight\_smile: We are a hosting provider …

---

## [Ngx\_openresty devel version 1.2.4.5 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-4-5-released/224123)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 31, 2012, 2:10am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-4-5-released/224123 "2012-10-31T02:10:58Z")

</div>

Hello, folks! I am happy to announce the new devel version of ngx\_openresty, 1.2.4.5: http://openresty.org/#Download Below is the complete change log for this release, as compared to the last (devel) release, 1.2.4.3…

---

## [Invitation to connect on LinkedIn](https://www.ruby-forum.com/t/invitation-to-connect-on-linkedin/224115)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 30, 2012, 5:40pm UTC](https://www.ruby-forum.com/t/invitation-to-connect-on-linkedin/224115 "2012-10-30T17:40:51Z")

</div>

LinkedIn I’d like to add you to my professional network on LinkedIn. Scott Scott B. Software Engineer at Big Cartel Bakersfield, California Area Confirm that you know Scott B.: – You are receiving Invitation to…

---

## [Nginx-1.3.8](https://www.ruby-forum.com/t/nginx-1-3-8/224110)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 30, 2012, 3:16pm UTC](https://www.ruby-forum.com/t/nginx-1-3-8/224110 "2012-10-30T15:16:58Z")

</div>

Changes with nginx 1.3.8 30 Oct 2012 \*) Feature: the "optional\_no\_ca" parameter of the “ssl\_verify\_client” directive. Thanks to Mike K. and Eric O’Connor. \*) Feature: the $b…

---

## [SSL client verification with chained CA](https://www.ruby-forum.com/t/ssl-client-verification-with-chained-ca/224097)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 30, 2012, 12:39pm UTC](https://www.ruby-forum.com/t/ssl-client-verification-with-chained-ca/224097 "2012-10-30T12:39:08Z")

</div>

Hi, So far we were able to run nginx (1.0.x & 1.2.x) with SSL client verification enabled where certs were signed by single root CA: ssl on; ssl\_certificate server\_cert\_signed\_by\_CA.pem; ssl\_certificate\_key serve…

---

## [Rewrite or proxy\_pass to internal ip?](https://www.ruby-forum.com/t/rewrite-or-proxy-pass-to-internal-ip/224071)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [October 30, 2012, 12:33pm UTC](https://www.ruby-forum.com/t/rewrite-or-proxy-pass-to-internal-ip/224071 "2012-10-30T12:33:52Z")

</div>

Hello, I want to ask a question about what I to use proxy\_pass or rewrite and how to use them. Basicly I want to redirect connection to internal server for example if user hit: www.mydomain.com/admin/ nginx to redir…

---

## [I want to ask something about limit\_zone](https://www.ruby-forum.com/t/i-want-to-ask-something-about-limit-zone/223971)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 30, 2012, 10:22am UTC](https://www.ruby-forum.com/t/i-want-to-ask-something-about-limit-zone/223971 "2012-10-30T10:22:12Z")

</div>

I’ve learned that if some IP exceeds the limit, a 503 http status code will be returned. I’m trying to find a way to change the default 503 value, e.g. use some other code, such as 403 to replace it, can I ? and how t…

---

## [Windows Client downloads something from nginx for Windows is too slow](https://www.ruby-forum.com/t/windows-client-downloads-something-from-nginx-for-windows-is-too-slow/224070)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [October 30, 2012, 9:27am UTC](https://www.ruby-forum.com/t/windows-client-downloads-something-from-nginx-for-windows-is-too-slow/224070 "2012-10-30T09:27:16Z")

</div>

Hi, all. I am a newbie. I am using nginx for Windows to host static big files. I find out a strange problem. When Windows client downloads files from nginx for Windows server, the download rate is very very slow. The…

---

## [How can i block these requests](https://www.ruby-forum.com/t/how-can-i-block-these-requests/224072)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 30, 2012, 6:20am UTC](https://www.ruby-forum.com/t/how-can-i-block-these-requests/224072 "2012-10-30T06:20:54Z")

</div>

I am getting following access.log: and are significant in number RequestMethod=- RequestURI=- HTTPStatus=400 BodyBytesSent=0 RequestTime=0.000 ResponseTime=- HTTPReferrer=“-” UserAgent=“-” X-Forwarded-For=- HTTPSta…

---

## [Nginx answers too large requests with bad status](https://www.ruby-forum.com/t/nginx-answers-too-large-requests-with-bad-status/224085)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [October 30, 2012, 1:59am UTC](https://www.ruby-forum.com/t/nginx-answers-too-large-requests-with-bad-status/224085 "2012-10-30T01:59:12Z")

</div>

Hello, When submitting too large requests, Nginx replies a page containing the right code status but serves the errors page with a HTTP/0.9 (!) 200 answer. Screenshot as attachment. Have a nice evening, B. R.

---

## [Nginx Location Matching Documentation Update](https://www.ruby-forum.com/t/nginx-location-matching-documentation-update/223811)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 29, 2012, 11:04am UTC](https://www.ruby-forum.com/t/nginx-location-matching-documentation-update/223811 "2012-10-29T11:04:56Z")

</div>

I would recommend that the documentation for location matching is updated http://wiki.nginx.org/HttpCoreModule#location, explicitaly the example. It should contain a conventional strings besides the root ‘/’ of the s…

---

## [Ngix Performace as a Reverse Proxy](https://www.ruby-forum.com/t/ngix-performace-as-a-reverse-proxy/223999)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 29, 2012, 10:12am UTC](https://www.ruby-forum.com/t/ngix-performace-as-a-reverse-proxy/223999 "2012-10-29T10:12:54Z")

</div>

Hi, We have been doing some testing with Nginx as a reverse proxy. We have been comparing it to a number of solutions which it easily beats, like IIS and Apache with mod\_proxy etc. However, as an experiment we have b…

---

## [Strange problem with cache](https://www.ruby-forum.com/t/strange-problem-with-cache/223992)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 29, 2012, 9:39am UTC](https://www.ruby-forum.com/t/strange-problem-with-cache/223992 "2012-10-29T09:39:36Z")

</div>

Hi, i’ve come accross a strange problem of caching. My site is run by nginx 1.2.1, on two different servers. The config are exactly the same (i use puppet to mirror configs). The contents are exactly the same, everyth…

---

## [Build question](https://www.ruby-forum.com/t/build-question/224047)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 29, 2012, 9:19am UTC](https://www.ruby-forum.com/t/build-question/224047 "2012-10-29T09:19:44Z")

</div>

I was attempting to build nginx 1.2.4 from source, and include the chunkin module. I also included the autolib module, because from what I could understand, it would help reduce the need for some of the other source/…

---

## [Multiple URL parameters in the same location directive](https://www.ruby-forum.com/t/multiple-url-parameters-in-the-same-location-directive/224048)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 28, 2012, 3:41pm UTC](https://www.ruby-forum.com/t/multiple-url-parameters-in-the-same-location-directive/224048 "2012-10-28T15:41:03Z")

</div>

Hi all, I have some URL patterns that follow the same directive specifications. E.g. sitemap.xml, robots.txt etc. follow the same location directive with the same caching policy, invalidation etc. location /robo…

---

## [Why nginx request time too big while upstream response time small](https://www.ruby-forum.com/t/why-nginx-request-time-too-big-while-upstream-response-time-small/224053)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 28, 2012, 10:47am UTC](https://www.ruby-forum.com/t/why-nginx-request-time-too-big-while-upstream-response-time-small/224053 "2012-10-28T10:47:11Z")

</div>

Hi, I’m using nginx as a reverse proxy to my backends. I see sometimes the request time is too big while the upstream response time is quite small: 211.139.145.99 - - \[26/Oct/2012:10:49:55 +0800\] 5.287 “POST /servic…

---

## [Is nginx in Pre-built format ready for Ubuntu 12.10?](https://www.ruby-forum.com/t/is-nginx-in-pre-built-format-ready-for-ubuntu-12-10/224011)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 26, 2012, 4:30pm UTC](https://www.ruby-forum.com/t/is-nginx-in-pre-built-format-ready-for-ubuntu-12-10/224011 "2012-10-26T16:30:34Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,all: follow the steps in download page of nginx site.and apt-get gives those error messages below: sharljimhtsin@sharl-laptop:~$ sudo apt-get update | grep nginx htt…

[Previous page](https://www.ruby-forum.com/c/server/33.md?page=128)

[Next page](https://www.ruby-forum.com/c/server/33.md?page=130)
