# Server

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

[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:** 294

---

## [Feature req. - HTTP 1.1 to backends](https://www.ruby-forum.com/t/feature-req-http-1-1-to-backends/176640)

<div class="topic-metadata">

**Author:** [@meto](https://www.ruby-forum.com/u/meto)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/feature-req-http-1-1-to-backends/176640 "2009-10-03T19:08:48Z")

</div>

I know this subject was brought up by many others, but i’d like to make an official request for this feature. The disability of using keep-alives with backends is a little bit disturbing and it would be grate to do so…

---

## [Nginx-0.8.17](https://www.ruby-forum.com/t/nginx-0-8-17/176285)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 4\
**Last updated:** [October 3, 2009, 11:36am UTC](https://www.ruby-forum.com/t/nginx-0-8-17/176285 "2009-10-03T11:36:19Z")

</div>

Changes with nginx 0.8.17 28 Sep 2009 \*) Security: now "/../" are disabled in "Destination" request header line. \*) Change: now $host variable value is always low case. \*) Fe…

---

## [Viability of nginx instead of hardware load balancer?](https://www.ruby-forum.com/t/viability-of-nginx-instead-of-hardware-load-balancer/175557)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 26\
**Last updated:** [October 3, 2009, 10:47am UTC](https://www.ruby-forum.com/t/viability-of-nginx-instead-of-hardware-load-balancer/175557 "2009-10-03T10:47:43Z")

</div>

I’m working on a project where it’s critical to minimize the possibility of a single point of failure, and where there will be quite high traffic. Currently in another version of the system we’re using nginx as a remo…

---

## [Nginx TCP Delays](https://www.ruby-forum.com/t/nginx-tcp-delays/175842)

<div class="topic-metadata">

**Author:** [@Khalid\_Shaikh](https://www.ruby-forum.com/u/Khalid_Shaikh)\
**Replies:** 22\
**Last updated:** [October 3, 2009, 10:17am UTC](https://www.ruby-forum.com/t/nginx-tcp-delays/175842 "2009-10-03T10:17:16Z")

</div>

We are using Nginx on this web server. Look at the # of reading & writing requests. a curl http://localhost/test.html can take up to 45 seconds. Can anyone help? Using telnet I can see that basically the Nginx serv…

---

## [Pop/imap configuration](https://www.ruby-forum.com/t/pop-imap-configuration/176615)

<div class="topic-metadata">

**Author:** [@Brian\_Henson](https://www.ruby-forum.com/u/Brian_Henson)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 8:23am UTC](https://www.ruby-forum.com/t/pop-imap-configuration/176615 "2009-10-03T08:23:08Z")

</div>

All, I am trying to get the imap and pop3 proxy working. All I need it to do is if the domain is test.com it goes to one ip and if its test2.com go to another. I saw the examples online but cannot figure them out. …

---

## [Proxy to all backends](https://www.ruby-forum.com/t/proxy-to-all-backends/176558)

<div class="topic-metadata">

**Author:** [@jkolen](https://www.ruby-forum.com/u/jkolen)\
**Replies:** 3\
**Last updated:** [October 2, 2009, 11:53pm UTC](https://www.ruby-forum.com/t/proxy-to-all-backends/176558 "2009-10-02T23:53:22Z")

</div>

I have a rails app sitting behind nginx and every request is going to both of the mongrel instances. Pages are getting through. However, there are a few db intensive tasks that I don’t want run two instances of. I’ve …

---

## [New php sapi (by litespeed)](https://www.ruby-forum.com/t/new-php-sapi-by-litespeed/176589)

<div class="topic-metadata">

**Author:** [@dreamcat4](https://www.ruby-forum.com/u/dreamcat4)\
**Replies:** 6\
**Last updated:** [October 2, 2009, 11:38pm UTC](https://www.ruby-forum.com/t/new-php-sapi-by-litespeed/176589 "2009-10-02T23:38:44Z")

</div>

Hi, I’ve recently discovered that George W.'s LiteSpeed PHP SAPI is actually quite good and probably one of the best php sapis out there. Of course, im not talking about the LiteSpeed web server, which is a completel…

---

## [(bug?)Timeout when proxy-pass 0 byte file](https://www.ruby-forum.com/t/bug-timeout-when-proxy-pass-0-byte-file/176361)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [October 2, 2009, 4:45pm UTC](https://www.ruby-forum.com/t/bug-timeout-when-proxy-pass-0-byte-file/176361 "2009-10-02T16:45:20Z")

</div>

I been expirencing very slow page load when use nginx as frontend(with proxy\_pass) for a while. After some test and debug, i found that it always timeout on response of 0 byte file. So i think there might be a bug wh…

---

## [Problem with requests that have a . in the end of the domain](https://www.ruby-forum.com/t/problem-with-requests-that-have-a-in-the-end-of-the-domain/176561)

<div class="topic-metadata">

**Author:** [@Mauro\_Stettler](https://www.ruby-forum.com/u/Mauro_Stettler)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 7:22am UTC](https://www.ruby-forum.com/t/problem-with-requests-that-have-a-in-the-end-of-the-domain/176561 "2009-10-02T07:22:10Z")

</div>

hi i am currently experiencing some strange behavior if a user requests our domain with a . in the end of the domain. the actual problem is that our php code can’t really get along with that . in the end of the domai…

---

## [Proxy to external network](https://www.ruby-forum.com/t/proxy-to-external-network/176516)

<div class="topic-metadata">

**Author:** [@SSSSSSSSSSSSS\_SS](https://www.ruby-forum.com/u/SSSSSSSSSSSSS_SS)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 2:48am UTC](https://www.ruby-forum.com/t/proxy-to-external-network/176516 "2009-10-02T02:48:12Z")

</div>

Hi, I have this need to allow our internal staff to access google spreadsheet form. One of our departments does not have any internet access because of our IT policy. But we’d like to allow then to access an online f…

---

## [X-Accel-Redirect](https://www.ruby-forum.com/t/x-accel-redirect/176421)

<div class="topic-metadata">

**Author:** [@pepejose](https://www.ruby-forum.com/u/pepejose)\
**Replies:** 9\
**Last updated:** [September 30, 2009, 7:31pm UTC](https://www.ruby-forum.com/t/x-accel-redirect/176421 "2009-09-30T19:31:19Z")

</div>

hi! (sorry for my english) that header only be used with files that are on the hard disk, true ? because I have a script to resize the size of some images with php, in the script i use… getimagesize($image) , then, de…

---

## [How to Grab arguments in POST request?](https://www.ruby-forum.com/t/how-to-grab-arguments-in-post-request/176418)

<div class="topic-metadata">

**Author:** [@dennis\_cao](https://www.ruby-forum.com/u/dennis_cao)\
**Replies:** 4\
**Last updated:** [September 30, 2009, 3:19pm UTC](https://www.ruby-forum.com/t/how-to-grab-arguments-in-post-request/176418 "2009-09-30T15:19:32Z")

</div>

Dear ALL: how to Grab arguments in POST request?

---

## [Weird nginx/php-fpm issue](https://www.ruby-forum.com/t/weird-nginx-php-fpm-issue/176416)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 0\
**Last updated:** [September 30, 2009, 9:20am UTC](https://www.ruby-forum.com/t/weird-nginx-php-fpm-issue/176416 "2009-09-30T09:20:22Z")

</div>

Hello, I got a weird issue with the new php 5.2.11 and fpm patch. Until php 5.2.11, I was running php 5.2.10 with fpm patch and nginx 0.8.17 and worked perfectly. Now I have upgrade to php 5.2.11 and of course added …

---

## ["bus error" on Linux Sparc](https://www.ruby-forum.com/t/bus-error-on-linux-sparc/175134)

<div class="topic-metadata">

**Author:** [@dev-zero](https://www.ruby-forum.com/u/dev-zero)\
**Replies:** 12\
**Last updated:** [September 30, 2009, 8:49am UTC](https://www.ruby-forum.com/t/bus-error-on-linux-sparc/175134 "2009-09-30T08:49:03Z")

</div>

Hi everyone When I try to start nginx-0.8.14 on a Sparc-Linux I get a “Bus Error”: nginx -c /etc/nginx/nginx.conf Bus error With ‘strace’ I was able to track it down a little: \[…\] open(“/etc/nginx/nginx.conf”, O\_RD…

---

## [Upstream timeouts](https://www.ruby-forum.com/t/upstream-timeouts/176321)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 1\
**Last updated:** [September 29, 2009, 9:40pm UTC](https://www.ruby-forum.com/t/upstream-timeouts/176321 "2009-09-29T21:40:27Z")

</div>

I got a quick question. If I define a couple of servers in an upstream, and one of them fails, does Nginx re-send the request(s) for which a response from that upstream was not received to the other server, or is that…

---

## [Connection error](https://www.ruby-forum.com/t/connection-error/176365)

<div class="topic-metadata">

**Author:** [@chaitanya](https://www.ruby-forum.com/u/chaitanya)\
**Replies:** 4\
**Last updated:** [September 29, 2009, 6:30pm UTC](https://www.ruby-forum.com/t/connection-error/176365 "2009-09-29T18:30:44Z")

</div>

Hi I am getting following error in nginx+PHP FastCGI. I searched this error on google but not getting any useful link. Please guide what could be the cause of this error. 2009/09/29 10:01:34 2156#0: \*120 recv() fail…

---

## [Why nginx just use 511 for listen backlog](https://www.ruby-forum.com/t/why-nginx-just-use-511-for-listen-backlog/176364)

<div class="topic-metadata">

**Author:** [@zhijianpeng](https://www.ruby-forum.com/u/zhijianpeng)\
**Replies:** 1\
**Last updated:** [September 29, 2009, 5:49pm UTC](https://www.ruby-forum.com/t/why-nginx-just-use-511-for-listen-backlog/176364 "2009-09-29T17:49:45Z")

</div>

I found that : #define NGX\_LISTEN\_BACKLOG 511 and use it as the backlog of listen() ls.backlog = NGX\_LISTEN\_BACKLOG; if (listen(s, ls.backlog) == -1) { Does it mean that only 511 connection could be accept at the…

---

## [Limit\_req truncating responses](https://www.ruby-forum.com/t/limit-req-truncating-responses/176247)

<div class="topic-metadata">

**Author:** [@brianf](https://www.ruby-forum.com/u/brianf)\
**Replies:** 5\
**Last updated:** [September 29, 2009, 10:03am UTC](https://www.ruby-forum.com/t/limit-req-truncating-responses/176247 "2009-09-29T10:03:03Z")

</div>

Hello, I’m seeing some undocumented behavior when using limit\_req and limit\_req\_zone. It seems that connections that should be delayed are actually being truncated in the middle. I see this using multiple clients bot…

---

## [Header http status code](https://www.ruby-forum.com/t/header-http-status-code/176329)

<div class="topic-metadata">

**Author:** [@dennis\_cao](https://www.ruby-forum.com/u/dennis_cao)\
**Replies:** 0\
**Last updated:** [September 29, 2009, 8:03am UTC](https://www.ruby-forum.com/t/header-http-status-code/176329 "2009-09-29T08:03:37Z")

</div>

dear all I want to set the http status code use if directive not the error\_page directive! I want to know what header variable to get the http status code if ($header\_something ï½žï¼Š â€˜404â€™) ï½› return 402; } …

---

## [Nginx performance using resolver](https://www.ruby-forum.com/t/nginx-performance-using-resolver/159484)

<div class="topic-metadata">

**Author:** [@ilovenginx](https://www.ruby-forum.com/u/ilovenginx)\
**Replies:** 11\
**Last updated:** [September 29, 2009, 5:32am UTC](https://www.ruby-forum.com/t/nginx-performance-using-resolver/159484 "2009-09-29T05:32:00Z")

</div>

Hello I have nginx setup to create the upstream on the fly. if ($request\_uri ~\* “^/(.\*)/resource”) { set $user $1; proxy\_pass http://$user.resource.domain.com:7600$request\_uri; break; } so here if the url is h…

---

## [Why named shared memory zones](https://www.ruby-forum.com/t/why-named-shared-memory-zones/176278)

<div class="topic-metadata">

**Author:** [@kastorilo](https://www.ruby-forum.com/u/kastorilo)\
**Replies:** 10\
**Last updated:** [September 29, 2009, 2:14am UTC](https://www.ruby-forum.com/t/why-named-shared-memory-zones/176278 "2009-09-29T02:14:43Z")

</div>

Hi, What’s the purpose/benefit of naming shared memory zones in config files? Thanks, Marcus.

---

## [Proxy\_Cache Locking or Waiting method?](https://www.ruby-forum.com/t/proxy-cache-locking-or-waiting-method/176315)

<div class="topic-metadata">

**Author:** [@Resicow](https://www.ruby-forum.com/u/Resicow)\
**Replies:** 0\
**Last updated:** [September 29, 2009, 1:22am UTC](https://www.ruby-forum.com/t/proxy-cache-locking-or-waiting-method/176315 "2009-09-29T01:22:01Z")

</div>

Hi Igor, I hope you are well. I just wanted to know if you had a time frame as to when we may start to see backend locking for proxy\_cache. I have an example where nginx will be caching large files, and sometimes a c…

---

## [Writing a cache module](https://www.ruby-forum.com/t/writing-a-cache-module/176301)

<div class="topic-metadata">

**Author:** [@AkinsS\_Brian](https://www.ruby-forum.com/u/AkinsS_Brian)\
**Replies:** 2\
**Last updated:** [September 28, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/writing-a-cache-module/176301 "2009-09-28T22:05:18Z")

</div>

I need to write cache module that’s not upstream based. (Long story…) Reading through the upstream code and the proxy and fastcgi modules, it looks fairly simple. Just so I know I’m on the right track: to get somet…

---

## [Multiple ssl vhosts](https://www.ruby-forum.com/t/multiple-ssl-vhosts/176276)

<div class="topic-metadata">

**Author:** [@Nuno\_MagalhSSSSes](https://www.ruby-forum.com/u/Nuno_MagalhSSSSes)\
**Replies:** 3\
**Last updated:** [September 28, 2009, 2:20pm UTC](https://www.ruby-forum.com/t/multiple-ssl-vhosts/176276 "2009-09-28T14:20:29Z")

</div>

Hi, I know SSL by itself won’t work with multiple vhosts on the same ip/port, but is there anything i can do to circumvert this? If not, and having to use multiple ssl ports, how can i make that as transparent to the…

---

## [Access restriction only for people outside LAN](https://www.ruby-forum.com/t/access-restriction-only-for-people-outside-lan/176274)

<div class="topic-metadata">

**Author:** [@grymuz](https://www.ruby-forum.com/u/grymuz)\
**Replies:** 6\
**Last updated:** [September 28, 2009, 12:05pm UTC](https://www.ruby-forum.com/t/access-restriction-only-for-people-outside-lan/176274 "2009-09-28T12:05:50Z")

</div>

Hi all, I have a service which should be protected using Basic Authentication, but this authentication should be enabled only for people who connect to my service from “the outside of my LAN”. Other people (inside LAN…

---

## [Fix a http dav module mkcol response problem](https://www.ruby-forum.com/t/fix-a-http-dav-module-mkcol-response-problem/176273)

<div class="topic-metadata">

**Author:** [@xiezhenye](https://www.ruby-forum.com/u/xiezhenye)\
**Replies:** 0\
**Last updated:** [September 28, 2009, 11:14am UTC](https://www.ruby-forum.com/t/fix-a-http-dav-module-mkcol-response-problem/176273 "2009-09-28T11:14:19Z")

</div>

The response of http dav module on mkcol request has a problem. The “Location” header has a ‘\\0’ . This will cause some client wait to timeout. e.g. Location: http://localhost/path/created\\0\\r\\n I found in “ngx\_http…

---

## [405 + POST + JS problem](https://www.ruby-forum.com/t/405-post-js-problem/176258)

<div class="topic-metadata">

**Author:** [@handle](https://www.ruby-forum.com/u/handle)\
**Replies:** 0\
**Last updated:** [September 28, 2009, 6:14am UTC](https://www.ruby-forum.com/t/405-post-js-problem/176258 "2009-09-28T06:14:39Z")

</div>

Hi, new to nginx and I’ve run into a problem I can’t seem to figure out. I’ve got an external javascript file sending a POST request to an another external script, and this does not agree with nginx at all. All I’m ge…

---

## [IPv6 enabled Nginx default bind port](https://www.ruby-forum.com/t/ipv6-enabled-nginx-default-bind-port/175024)

<div class="topic-metadata">

**Author:** [@zobo](https://www.ruby-forum.com/u/zobo)\
**Replies:** 9\
**Last updated:** [September 27, 2009, 11:33am UTC](https://www.ruby-forum.com/t/ipv6-enabled-nginx-default-bind-port/175024 "2009-09-27T11:33:42Z")

</div>

Hi. ÐŸÑ€ÐµÐ¶Ð´Ðµ Ð²ÑÐµÐ³Ð¾, Ð±Ð¾Ð»ÑˆÐ¾Ðµ ÑÐ¿Ð°ÑÐ¸Ð±Ð¾ Ð´Ð»Ð° Nginx. We are currently very much moving forward with IPv6 and I had a small problem with Nginx and I would like to give a suggestion. The problem was, …

---

## [Bad performance of nginx with Tomcat vs. Apache with Tomcat](https://www.ruby-forum.com/t/bad-performance-of-nginx-with-tomcat-vs-apache-with-tomcat/174864)

<div class="topic-metadata">

**Author:** [@Chang\_S](https://www.ruby-forum.com/u/Chang_S)\
**Replies:** 15\
**Last updated:** [September 27, 2009, 11:17am UTC](https://www.ruby-forum.com/t/bad-performance-of-nginx-with-tomcat-vs-apache-with-tomcat/174864 "2009-09-27T11:17:53Z")

</div>

Sometime ago, I posted an message about Nginx performance when paired with Tomcat. We recently did extensive in-house testing of various workload against Nginx with Tomcat vs Apache vs Tomcat. Apache wins hands down. …

---

## [Rewrite\_Mod this for Nginx](https://www.ruby-forum.com/t/rewrite-mod-this-for-nginx/176226)

<div class="topic-metadata">

**Author:** [@jaybizzle](https://www.ruby-forum.com/u/jaybizzle)\
**Replies:** 0\
**Last updated:** [September 27, 2009, 10:11am UTC](https://www.ruby-forum.com/t/rewrite-mod-this-for-nginx/176226 "2009-09-27T10:11:46Z")

</div>

Can someone give me a hand and rewrite this please? Thank you. ======= Setting Wolf CMS requirements php\_flag magic\_quotes\_gpc off AddDefaultCharset UTF-8 Options -Indexes +FollowSymLinks Setting rewrite rules …

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

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