# Server

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

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

---

## [Ð’Ð¾Ð¿Ñ€Ð¾Ñ Ð¿Ñ€Ð¾ flush](https://www.ruby-forum.com/t/d-d-d-n-d-n-d-n-d-flush/192672)

<div class="topic-metadata">

**Author:** [@asoto](https://www.ruby-forum.com/u/asoto)\
**Replies:** 1\
**Last updated:** [August 3, 2010, 9:24pm UTC](https://www.ruby-forum.com/t/d-d-d-n-d-n-d-n-d-flush/192672 "2010-08-03T21:24:06Z")

</div>

Ð˜Ð³Ð¾Ñ€ÑŒ, Ð’Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ Ð»Ð¸ (Ð¸ ÐºÐ°Ð¶ÐµÑ‚ÑÑ Ð»Ð¸ Ð²Ð°Ð¼ Ð½ÑƒÐ¶Ð½Ñ‹Ð¼) Ð² SSI Ð¼Ð¾Ð´ÑƒÐ»Ðµ Ð´Ð¾Ð±Ð°Ð²Ð¸Ñ‚ÑŒ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñƒ ÐšÐ¾Ñ‚Ð¾Ñ€Ð°Ñ Ð±Ñ‹ Ñ€Ð°Ð±Ð¾Ñ‚Ð°Ð»Ð° Ð¿ÑƒÑÑ‚ÑŒ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ ÐµÑÐ»Ð¸ Ð¼Ð¾Ð¶ÐµÑ‚ (Ð³Ð»…

---

## [Nginx-0.8.48](https://www.ruby-forum.com/t/nginx-0-8-48/192648)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 5:14pm UTC](https://www.ruby-forum.com/t/nginx-0-8-48/192648 "2010-08-03T17:14:34Z")

</div>

Changes with nginx 0.8.48 03 Aug 2010 \*) Change: now the "server\_name" directive default value is an empty name "". Thanks to Gena M.. \*) Change: now the "server\_name\_in\_re…

---

## [Ngx\_chunkin v0.20: fixed some memory bugs and added support for chunked PUT](https://www.ruby-forum.com/t/ngx-chunkin-v0-20-fixed-some-memory-bugs-and-added-support-for-chunked-put/192564)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 1\
**Last updated:** [August 3, 2010, 5:30am UTC](https://www.ruby-forum.com/t/ngx-chunkin-v0-20-fixed-some-memory-bugs-and-added-support-for-chunked-put/192564 "2010-08-03T05:30:21Z")

</div>

Hi, folks! I’ve just pushed a new release (v0.20) for my ngx\_chunkin module: http://github.com/agentzh/chunkin-nginx-module/tarball/v0.20 Here’s the changes included in this version: \* fixed a bug that may read inco…

---

## [$upstream\_cache\_status question & nginx/0.8.47](https://www.ruby-forum.com/t/upstream-cache-status-question-nginx-0-8-47/192606)

<div class="topic-metadata">

**Author:** [@evuraan](https://www.ruby-forum.com/u/evuraan)\
**Replies:** 1\
**Last updated:** [August 3, 2010, 1:24am UTC](https://www.ruby-forum.com/t/upstream-cache-status-question-nginx-0-8-47/192606 "2010-08-03T01:24:33Z")

</div>

Per Module ngx\_http\_upstream\_module, $upstream\_cache\_status appeared in 0.8.3. I run 0.8.47, and have in my conf: log\_format cache '\*\*\*$time\_local ' 'Server : $upstream\_addr ' \[b\]'…

---

## [Weighted load balancing with ip\_hash?](https://www.ruby-forum.com/t/weighted-load-balancing-with-ip-hash/192605)

<div class="topic-metadata">

**Author:** [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 12:11am UTC](https://www.ruby-forum.com/t/weighted-load-balancing-with-ip-hash/192605 "2010-08-03T00:11:58Z")

</div>

Is this possible by listing a server a number of times in the upstream block? I have read what seem to be conflicting reports scattered amongst a number of mailing lists. I also can’t really test on my local LAN beca…

---

## [Auth Problems with phpMyAdmin / Apache Proxy](https://www.ruby-forum.com/t/auth-problems-with-phpmyadmin-apache-proxy/192573)

<div class="topic-metadata">

**Author:** [@Dayo](https://www.ruby-forum.com/u/Dayo)\
**Replies:** 1\
**Last updated:** [August 2, 2010, 10:22pm UTC](https://www.ruby-forum.com/t/auth-problems-with-phpmyadmin-apache-proxy/192573 "2010-08-02T22:22:30Z")

</div>

Hi (just realised the other board does not post to the mailing list) Setting up a Centos 5.5 VPS to run Nginx as a caching reverse proxy to Apache and it is all peaches and cream apart from an issue with authenticatin…

---

## [Register now for Surge 2010](https://www.ruby-forum.com/t/register-now-for-surge-2010/192584)

<div class="topic-metadata">

**Author:** [@Jason\_Dixon](https://www.ruby-forum.com/u/Jason_Dixon)\
**Replies:** 0\
**Last updated:** [August 2, 2010, 6:06pm UTC](https://www.ruby-forum.com/t/register-now-for-surge-2010/192584 "2010-08-02T18:06:05Z")

</div>

Registration for Surge Scalability Conference 2010 is open for all attendees! We have an awesome lineup of leaders from across the various communities that support highly scalable architectures, as well as the compan…

---

## [Web server testing](https://www.ruby-forum.com/t/web-server-testing/192551)

<div class="topic-metadata">

**Author:** [@migrantgeek](https://www.ruby-forum.com/u/migrantgeek)\
**Replies:** 1\
**Last updated:** [August 2, 2010, 5:51am UTC](https://www.ruby-forum.com/t/web-server-testing/192551 "2010-08-02T05:51:21Z")

</div>

Hi all, I’ve been searching around for some of the best ways to test web servers and most articles I read are old. Can someone describe what methods / software they use to load test their web servers? I’m looking for…

---

## [Nginx.conf issue?](https://www.ruby-forum.com/t/nginx-conf-issue/192486)

<div class="topic-metadata">

**Author:** [@filebackup](https://www.ruby-forum.com/u/filebackup)\
**Replies:** 2\
**Last updated:** [August 1, 2010, 6:28pm UTC](https://www.ruby-forum.com/t/nginx-conf-issue/192486 "2010-08-01T18:28:13Z")

</div>

Hi, all. If I add more then four “if” tags in the location part, when I run command “killall nginx” or “/dir/nginx -s stop” to stop nginx process, in the /var/log/messages file I had founded the following error infor…

---

## [DB Relay - NGiNX based open source project](https://www.ruby-forum.com/t/db-relay-nginx-based-open-source-project/192049)

<div class="topic-metadata">

**Author:** [@dascalvlad](https://www.ruby-forum.com/u/dascalvlad)\
**Replies:** 9\
**Last updated:** [July 31, 2010, 3:11pm UTC](https://www.ruby-forum.com/t/db-relay-nginx-based-open-source-project/192049 "2010-07-31T15:11:44Z")

</div>

DB Relay is an open source project built around the NGiNX web server platform, providing an HTTP/JSON interface to a variety of database servers. It enables database access without drivers and web application developm…

---

## [Help Required: Host name modification](https://www.ruby-forum.com/t/help-required-host-name-modification/192260)

<div class="topic-metadata">

**Author:** [@Sougata\_Pal](https://www.ruby-forum.com/u/Sougata_Pal)\
**Replies:** 3\
**Last updated:** [July 31, 2010, 12:23am UTC](https://www.ruby-forum.com/t/help-required-host-name-modification/192260 "2010-07-31T00:23:21Z")

</div>

Hi, I need to modify the hostname ( $host ) as follows. Request Hostname: xyz.abc.example.com Required Hostname: xyz.abc I am expecting some sort of regex function to be run on $host. Please feel free to ask quest…

---

## [Proxy\_cache\_use\_stale updating and X-Accel-Expires=0](https://www.ruby-forum.com/t/proxy-cache-use-stale-updating-and-x-accel-expires-0/191960)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Loyet](https://www.ruby-forum.com/u/JSSSSrSSSSme_Loyet)\
**Replies:** 3\
**Last updated:** [July 31, 2010, 12:06am UTC](https://www.ruby-forum.com/t/proxy-cache-use-stale-updating-and-x-accel-expires-0/191960 "2010-07-31T00:06:23Z")

</div>

Hi, I have a strange situation. I don’t really know if it’s a bug or a feature. I’m using nginx as a cached reverse proxy to apache/mod\_php. I have the following (simplified) conf: proxy\_cache\_use\_stale updating err…

---

## [Question about redirect?](https://www.ruby-forum.com/t/question-about-redirect/192009)

<div class="topic-metadata">

**Author:** [@Slask\_Sklask](https://www.ruby-forum.com/u/Slask_Sklask)\
**Replies:** 2\
**Last updated:** [July 30, 2010, 11:55pm UTC](https://www.ruby-forum.com/t/question-about-redirect/192009 "2010-07-30T23:55:50Z")

</div>

Firstly I’m a newbie on both mailing lists AND nginx so please be nice to me :smiley: I use nginx as a reverse proxy and it works flawlessly. But now I want to put basic authentication on certain ip addresses. IE. I…

---

## [Questions about Internal named location](https://www.ruby-forum.com/t/questions-about-internal-named-location/192470)

<div class="topic-metadata">

**Author:** [@heimdull](https://www.ruby-forum.com/u/heimdull)\
**Replies:** 2\
**Last updated:** [July 30, 2010, 9:47pm UTC](https://www.ruby-forum.com/t/questions-about-internal-named-location/192470 "2010-07-30T21:47:38Z")

</div>

I have a problem I can’t find an answer too and I’m wondering if I’m doing the named internal location all wrong. Here is an example of my config location / { try\_files $uri $uri/ @www; } location @www { include f…

---

## [Performance question regarding regex](https://www.ruby-forum.com/t/performance-question-regarding-regex/191679)

<div class="topic-metadata">

**Author:** [@panni](https://www.ruby-forum.com/u/panni)\
**Replies:** 5\
**Last updated:** [July 30, 2010, 3:43pm UTC](https://www.ruby-forum.com/t/performance-question-regarding-regex/191679 "2010-07-30T15:43:29Z")

</div>

Dear forums/mailing list, just a quick question: \[code\]location / { root /home/folder/www; index index.php; #if (!-e $request\_filename) { if ($request\_filename !~\* ^.+.(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|ra…

---

## [Trouble with rewrite module and uri\_escape (and patch)](https://www.ruby-forum.com/t/trouble-with-rewrite-module-and-uri-escape-and-patch/192442)

<div class="topic-metadata">

**Author:** [@Daisuke\_Murase\_Styp](https://www.ruby-forum.com/u/Daisuke_Murase_Styp)\
**Replies:** 1\
**Last updated:** [July 30, 2010, 3:27pm UTC](https://www.ruby-forum.com/t/trouble-with-rewrite-module-and-uri-escape-and-patch/192442 "2010-07-30T15:27:40Z")

</div>

Hi, I have nginx/0.7.67 and a following rewrite setting: rewrite ^/entry/(.\*) /entry?title=$1; When request uri contains %3b (escaped ;), it’s decoded like following: Request: /entry/abc%3bdef Result: /entry?title=ab…

---

## [Re: Does nginx support connect method?](https://www.ruby-forum.com/t/re-does-nginx-support-connect-method/192423)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 30, 2010, 5:29am UTC](https://www.ruby-forum.com/t/re-does-nginx-support-connect-method/192423 "2010-07-30T05:29:21Z")

</div>

Could you include connect method in nginx to give us an alternative to squid? Squid can be notorious for its CPU usage. There may be a Klondike bar in it for you. :slight\_smile: posted at http://www.serverphorums.co…

---

## [Php-fpm and chroot on linux](https://www.ruby-forum.com/t/php-fpm-and-chroot-on-linux/192422)

<div class="topic-metadata">

**Author:** [@hibernaculus](https://www.ruby-forum.com/u/hibernaculus)\
**Replies:** 1\
**Last updated:** [July 29, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/php-fpm-and-chroot-on-linux/192422 "2010-07-29T23:41:06Z")

</div>

Hi nginx-en ml. This is not exactly nginx issue, but lets say this is nginx related thing. php-fpm and chroot - It is working for me good, I haven’t tested performance yet but there is two things what I need fix befo…

---

## [Multiple requests on balancer](https://www.ruby-forum.com/t/multiple-requests-on-balancer/192398)

<div class="topic-metadata">

**Author:** [@Sanel\_Z](https://www.ruby-forum.com/u/Sanel_Z)\
**Replies:** 2\
**Last updated:** [July 29, 2010, 4:59pm UTC](https://www.ruby-forum.com/t/multiple-requests-on-balancer/192398 "2010-07-29T16:59:30Z")

</div>

Hi guys, I recently configured Nginx with Rails/Mongrel (mostly picking advices from wiki) where Nginx is doing balancing/proxy-ing on 5 Mongrels. It works perfectly :slight\_smile: However, I noticed how each reques…

---

## [Proxy uploading](https://www.ruby-forum.com/t/proxy-uploading/192380)

<div class="topic-metadata">

**Author:** [@Tim\_Child](https://www.ruby-forum.com/u/Tim_Child)\
**Replies:** 4\
**Last updated:** [July 29, 2010, 3:15pm UTC](https://www.ruby-forum.com/t/proxy-uploading/192380 "2010-07-29T15:15:16Z")

</div>

Hi, Currently using Nginx 0.7.65-1 on Ubuntu 10.04. I need to have my application upload files to another backend, so I thought I could use proxy pass, and have a certain URL be proxied to another machine (proxy\_pass…

---

## [Hightraffic php site problems](https://www.ruby-forum.com/t/hightraffic-php-site-problems/192378)

<div class="topic-metadata">

**Author:** [@gromminger](https://www.ruby-forum.com/u/gromminger)\
**Replies:** 6\
**Last updated:** [July 29, 2010, 1:34pm UTC](https://www.ruby-forum.com/t/hightraffic-php-site-problems/192378 "2010-07-29T13:34:33Z")

</div>

Hi, i got some problems with a high loaded php site running nginx + php (without fpm). i get the following error message from time to time: 162503979 upstream timed out (110: Connection timed out) while reading resp…

---

## [Nginx as SSL terminating server](https://www.ruby-forum.com/t/nginx-as-ssl-terminating-server/192294)

<div class="topic-metadata">

**Author:** [@joshua](https://www.ruby-forum.com/u/joshua)\
**Replies:** 1\
**Last updated:** [July 29, 2010, 12:06am UTC](https://www.ruby-forum.com/t/nginx-as-ssl-terminating-server/192294 "2010-07-29T00:06:45Z")

</div>

We have the following setup: firewall → single nginx instance (SSL termination) → haproxy → multiple nginx/unicorn instances (via unix socket) Is it recommendable to turn request buffering off at the first nginx? Id…

---

## [Proxy\_hide\_header hiding header from ALL locations](https://www.ruby-forum.com/t/proxy-hide-header-hiding-header-from-all-locations/192354)

<div class="topic-metadata">

**Author:** [@WSandrew\_L](https://www.ruby-forum.com/u/WSandrew_L)\
**Replies:** 2\
**Last updated:** [July 28, 2010, 11:48pm UTC](https://www.ruby-forum.com/t/proxy-hide-header-hiding-header-from-all-locations/192354 "2010-07-28T23:48:36Z")

</div>

I have a two phase setup commonly implemented with S3. I want to set ETag and Last-Modified in my Rails application and have them take precedence over the S3 ETag and Last-Modified. location ^~ /AWSS3/ { Prevent Cli…

---

## [Book Nginx HTTP Server](https://www.ruby-forum.com/t/book-nginx-http-server/192352)

<div class="topic-metadata">

**Author:** [@Nuno\_MagalhSSSSes](https://www.ruby-forum.com/u/Nuno_MagalhSSSSes)\
**Replies:** 1\
**Last updated:** [July 28, 2010, 9:59pm UTC](https://www.ruby-forum.com/t/book-nginx-http-server/192352 "2010-07-28T21:59:42Z")

</div>

Greetings, Has anyone read this? Any opinions? Does anyone know on what version(s) is it based? Does it cover nginx on windows? TIA, Nuno – ()Â ascii-rubanda kampajno - kontraÅ­ html-a retpoÅto /\\Â ascii ribbon…

---

## [Nginx's hashtable key hash function](https://www.ruby-forum.com/t/nginxs-hashtable-key-hash-function/192348)

<div class="topic-metadata">

**Author:** [@Barry\_Jaspan](https://www.ruby-forum.com/u/Barry_Jaspan)\
**Replies:** 0\
**Last updated:** [July 28, 2010, 8:17pm UTC](https://www.ruby-forum.com/t/nginxs-hashtable-key-hash-function/192348 "2010-07-28T20:17:15Z")

</div>

This message assumes some understanding of nginx’s hash table algorithms in ngx\_hash.c. I’m having some problems with nginx’s server\_names hash table. I’ve dug into the code and believe I have found the issue. I’m c…

---

## [Nginx-0.8.47](https://www.ruby-forum.com/t/nginx-0-8-47/192345)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [July 28, 2010, 6:22pm UTC](https://www.ruby-forum.com/t/nginx-0-8-47/192345 "2010-07-28T18:22:31Z")

</div>

Changes with nginx 0.8.47 28 Jul 2010 \*) Bugfix: $request\_time variable had invalid values for subrequests. \*) Bugfix: errors intercepted by error\_page could be cached. \*) Bug…

---

## [Nginx+varnish & delivered error\_page](https://www.ruby-forum.com/t/nginx-varnish-delivered-error-page/192330)

<div class="topic-metadata">

**Author:** [@revirii](https://www.ruby-forum.com/u/revirii)\
**Replies:** 5\
**Last updated:** [July 28, 2010, 2:23pm UTC](https://www.ruby-forum.com/t/nginx-varnish-delivered-error-page/192330 "2010-07-28T14:23:36Z")

</div>

Hello, we have a little problem with, as the topic says, “Nginx+varnish & delivered error\_page”. We have nginx in front as proxy, behind there’s a varnish cashing stuff from a tomcat backend. Sometimes the tomcat cra…

---

## [Module Nginx limit proxy](https://www.ruby-forum.com/t/module-nginx-limit-proxy/192269)

<div class="topic-metadata">

**Author:** [@ascarp](https://www.ruby-forum.com/u/ascarp)\
**Replies:** 2\
**Last updated:** [July 28, 2010, 10:25am UTC](https://www.ruby-forum.com/t/module-nginx-limit-proxy/192269 "2010-07-28T10:25:17Z")

</div>

Hello, I have seen the module “Nginx limit proxy” (http://nginxlimitproxy.sourceforge.net/) It’s a valid module? works fine? Thanks. Regards

---

## [Connection refused problem](https://www.ruby-forum.com/t/connection-refused-problem/192319)

<div class="topic-metadata">

**Author:** [@wangbin579](https://www.ruby-forum.com/u/wangbin579)\
**Replies:** 1\
**Last updated:** [July 28, 2010, 5:23am UTC](https://www.ruby-forum.com/t/connection-refused-problem/192319 "2010-07-28T05:23:52Z")

</div>

all servers are running and nginx has the following error log every once in a while. 2010/07/27 08:37:57 \[error\] 1948#0: \*429632943 connect() failed (111: Connection refused) while connecting to upstream, client: 125…

---

## [Nginx workers in "D" status in top](https://www.ruby-forum.com/t/nginx-workers-in-d-status-in-top/192284)

<div class="topic-metadata">

**Author:** [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Replies:** 4\
**Last updated:** [July 28, 2010, 5:18am UTC](https://www.ruby-forum.com/t/nginx-workers-in-d-status-in-top/192284 "2010-07-28T05:18:00Z")

</div>

I’m seeing a number of workers periodically entering the “D” status in top (uninteruptible sleep). Normally, this means it is blocking on disk IO. However, I am using nginx 0.7.62 (default package) on Ubunutu 9.10, an…

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

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