# Server

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

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

---

## [Reducing Memory Footprint of Mongrel Handlers](https://www.ruby-forum.com/t/reducing-memory-footprint-of-mongrel-handlers/164488)

<div class="topic-metadata">

**Author:** [@Asif\_A](https://www.ruby-forum.com/u/Asif_A)\
**Replies:** 4\
**Last updated:** [April 4, 2009, 7:48am UTC](https://www.ruby-forum.com/t/reducing-memory-footprint-of-mongrel-handlers/164488 "2009-04-04T07:48:48Z")

</div>

Dear Members, Mongrel Handlers seem to take up about 110 MB for each instance and sometimes upto 20% cpu usage on an 8 core system… Though this has a lot to do with the application, any suggestions for improvement at…

---

## [Using http/https in a single server block ("ssl" parameter for "listen")](https://www.ruby-forum.com/t/using-http-https-in-a-single-server-block-ssl-parameter-for-listen/164482)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 5\
**Last updated:** [April 3, 2009, 3:34pm UTC](https://www.ruby-forum.com/t/using-http-https-in-a-single-server-block-ssl-parameter-for-listen/164482 "2009-04-03T15:34:10Z")

</div>

Hi, I’d like to enable both http and https within a single server block, without having to copy the whole block and only change “listen 80” to “listen 443” and add “ssl on”. This appears to work somehow using the “ss…

---

## [Setting expires header bypasses app server](https://www.ruby-forum.com/t/setting-expires-header-bypasses-app-server/164439)

<div class="topic-metadata">

**Author:** [@nmk](https://www.ruby-forum.com/u/nmk)\
**Replies:** 4\
**Last updated:** [April 3, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/setting-expires-header-bypasses-app-server/164439 "2009-04-03T14:55:32Z")

</div>

Hi all, I have nginx proxying to a couple of thin servers. For a request like /javascripts/foo.js a controller called ‘javascripts’ generates some dynamic js and caches it to $document\_root/javascripts/foo.js. The r…

---

## [Nginx module dev question](https://www.ruby-forum.com/t/nginx-module-dev-question/163832)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 2\
**Last updated:** [April 3, 2009, 2:19pm UTC](https://www.ruby-forum.com/t/nginx-module-dev-question/163832 "2009-04-03T14:19:48Z")

</div>

Hi all, I want to implement the following feature: client HEAD request arrive , my module send it to an upstream. the upstream return response. my module check the response, if it is not the data I want, send the ori…

---

## [Alias not working on 0.7.35](https://www.ruby-forum.com/t/alias-not-working-on-0-7-35/164325)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 6\
**Last updated:** [April 3, 2009, 8:06am UTC](https://www.ruby-forum.com/t/alias-not-working-on-0-7-35/164325 "2009-04-03T08:06:22Z")

</div>

I tried to put this configuration on my nginx.conf location /default/ { alias /home/myhome/content/; } location ~ \\.flv$ { flv; } But it doesn’t work. When opening a FLV files, it always p…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/164611)

<div class="topic-metadata">

**Author:** [@feiman](https://www.ruby-forum.com/u/feiman)\
**Replies:** 2\
**Last updated:** [April 3, 2009, 4:02am UTC](https://www.ruby-forum.com/t/unsubscribe/164611 "2009-04-03T04:02:13Z")

</div>

unsubscribe

---

## [Re: nginx load balancer help](https://www.ruby-forum.com/t/re-nginx-load-balancer-help/164576)

<div class="topic-metadata">

**Author:** [@1arryb](https://www.ruby-forum.com/u/1arryb)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 1:59am UTC](https://www.ruby-forum.com/t/re-nginx-load-balancer-help/164576 "2009-04-03T01:59:43Z")

</div>

Floren, Do you have a specific question about your setup? I just set up two nginx servers that are load balancing across 4 application servers so I can help you need some assistance. -Larry ----- Original Message…

---

## [Mongrel Handlers on Jruby or Ruby 1.9](https://www.ruby-forum.com/t/mongrel-handlers-on-jruby-or-ruby-1-9/164485)

<div class="topic-metadata">

**Author:** [@Asif\_A](https://www.ruby-forum.com/u/Asif_A)\
**Replies:** 3\
**Last updated:** [April 2, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/mongrel-handlers-on-jruby-or-ruby-1-9/164485 "2009-04-02T17:25:07Z")

</div>

Dear Mongrel Users, I wanted to try using mongrel handlers running on JRuby. I am not sure if this stack is possible. Can anyone let me know if they have tried it and if so, what has been the performance difference. …

---

## [Nginx-0.6.36](https://www.ruby-forum.com/t/nginx-0-6-36/164527)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [April 2, 2009, 9:51am UTC](https://www.ruby-forum.com/t/nginx-0-6-36/164527 "2009-04-02T09:51:01Z")

</div>

Changes with nginx 0.6.36 02 Apr 2009 \*) Change: now the "Invalid argument" error returned by setsockopt(TCP\_NODELAY) on Solaris, is ignored. \*) Change: now POSTs without "Con…

---

## [Nginx for pops/imaps](https://www.ruby-forum.com/t/nginx-for-pops-imaps/164522)

<div class="topic-metadata">

**Author:** [@derwyn](https://www.ruby-forum.com/u/derwyn)\
**Replies:** 1\
**Last updated:** [April 2, 2009, 7:59am UTC](https://www.ruby-forum.com/t/nginx-for-pops-imaps/164522 "2009-04-02T07:59:08Z")

</div>

Hi, I managed to set up nginx to use as a imap/pop proxy with ssl. I’ve found on the site the code in php to authenticate the users for imap/pop. The php script on the server sees the user and password as HTTP\_AUTH\_…

---

## [How to config nginx-memcached?](https://www.ruby-forum.com/t/how-to-config-nginx-memcached/164519)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 2, 2009, 4:43am UTC](https://www.ruby-forum.com/t/how-to-config-nginx-memcached/164519 "2009-04-02T04:43:52Z")

</div>

hi all: I would like to serve a application , there comes a request with an arguement ,then nginx use this argument as the memcache\_key . if hit ,return the value to client directly, if not hit, rewrite the request t…

---

## [Proxy - 2nd apache process started](https://www.ruby-forum.com/t/proxy-2nd-apache-process-started/164493)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [April 2, 2009, 12:00am UTC](https://www.ruby-forum.com/t/proxy-2nd-apache-process-started/164493 "2009-04-02T00:00:55Z")

</div>

Hello nginx users! I an running nginx/0.6.32 on Debian Lenny as a proxy server for Apache. I have a script sleep.php which does nothing but sleeps for 120 seconds and then displays phpinfo. When I call sleep.php bypa…

---

## [Unsubscribe nginx](https://www.ruby-forum.com/t/unsubscribe-nginx/164494)

<div class="topic-metadata">

**Author:** [@1arryb](https://www.ruby-forum.com/u/1arryb)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 10:42pm UTC](https://www.ruby-forum.com/t/unsubscribe-nginx/164494 "2009-04-01T22:42:39Z")

</div>

unsubscribe nginx

---

## [Nginx-0.7.47](https://www.ruby-forum.com/t/nginx-0-7-47/164449)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 3\
**Last updated:** [April 1, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/nginx-0-7-47/164449 "2009-04-01T21:26:55Z")

</div>

Changes with nginx 0.7.47 01 Apr 2009 \*) Bugfix: nginx could not be built on FreeBSD 6 and early versions; the bug had appeared in 0.7.46. \*) Bugfix: nginx could not be built …

---

## [Nginx-0.7.46](https://www.ruby-forum.com/t/nginx-0-7-46/164251)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 26\
**Last updated:** [April 1, 2009, 5:28pm UTC](https://www.ruby-forum.com/t/nginx-0-7-46/164251 "2009-04-01T17:28:23Z")

</div>

Changes with nginx 0.7.46 30 Mar 2009 \*) Bugfix: the previous release tarball was incorrect.

---

## [Comprehensive Rewrite Rules / Regular Expressions Guide?](https://www.ruby-forum.com/t/comprehensive-rewrite-rules-regular-expressions-guide/164435)

<div class="topic-metadata">

**Author:** [@oler](https://www.ruby-forum.com/u/oler)\
**Replies:** 5\
**Last updated:** [April 1, 2009, 1:46pm UTC](https://www.ruby-forum.com/t/comprehensive-rewrite-rules-regular-expressions-guide/164435 "2009-04-01T13:46:56Z")

</div>

Hey everyone, I want to modify some rewrites I currently have in my nginx.conf, but I could not find proper documentation of the available operators and language constructs to do so. Googling I found tons of people tr…

---

## [Chunked POST client body support](https://www.ruby-forum.com/t/chunked-post-client-body-support/164300)

<div class="topic-metadata">

**Author:** [@coldtone](https://www.ruby-forum.com/u/coldtone)\
**Replies:** 1\
**Last updated:** [April 1, 2009, 5:31am UTC](https://www.ruby-forum.com/t/chunked-post-client-body-support/164300 "2009-04-01T05:31:44Z")

</div>

This has come up several times before… http://markmail.org/thread/miuwddguff75rqjw http://markmail.org/thread/pwsvodpzadrpdqnk http://markmail.org/thread/3hvge3hl2vi6xev6 http://markmail.org/thread/rxojb6l7ehof43yd I…

---

## [Possible to get latest windows compliation?](https://www.ruby-forum.com/t/possible-to-get-latest-windows-compliation/164372)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 4:53pm UTC](https://www.ruby-forum.com/t/possible-to-get-latest-windows-compliation/164372 "2009-03-31T16:53:57Z")

</div>

thanks

---

## [Re: New third party module: GeoIP](https://www.ruby-forum.com/t/re-new-third-party-module-geoip/164354)

<div class="topic-metadata">

**Author:** [@hirantha](https://www.ruby-forum.com/u/hirantha)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 12:58pm UTC](https://www.ruby-forum.com/t/re-new-third-party-module-geoip/164354 "2009-03-31T12:58:03Z")

</div>

Hi, On Tue, Feb 17, 2009 at 12:11 AM, Spil G. removed\_email\_address@domain.invalid wrote: http://wiki.codemongers.com/NginxHttpGeoIPModule Posted via http://www.ruby-forum.com/. I am wondering whether this could al…

---

## [Unsubscribe nginx](https://www.ruby-forum.com/t/unsubscribe-nginx/164319)

<div class="topic-metadata">

**Author:** [@ram](https://www.ruby-forum.com/u/ram)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 7:02am UTC](https://www.ruby-forum.com/t/unsubscribe-nginx/164319 "2009-03-31T07:02:06Z")

</div>

unsubscribe nginx

---

## [Rewrite http\_referer](https://www.ruby-forum.com/t/rewrite-http-referer/164293)

<div class="topic-metadata">

**Author:** [@n3uro5i5](https://www.ruby-forum.com/u/n3uro5i5)\
**Replies:** 1\
**Last updated:** [March 30, 2009, 11:46pm UTC](https://www.ruby-forum.com/t/rewrite-http-referer/164293 "2009-03-30T23:46:09Z")

</div>

Hi, i want to catch request from a determinate referer website and redirect it to my root path. I try this: if ($http\_referer ~\* “my\_referer.com”){ rewrite (.\*) / redirect; } But when i did’t firefox say me that th…

---

## [Fcgi server](https://www.ruby-forum.com/t/fcgi-server/164180)

<div class="topic-metadata">

**Author:** [@Yordan\_G](https://www.ruby-forum.com/u/Yordan_G)\
**Replies:** 4\
**Last updated:** [March 30, 2009, 10:39pm UTC](https://www.ruby-forum.com/t/fcgi-server/164180 "2009-03-30T22:39:19Z")

</div>

Ð—Ð´Ñ€Ð°Ð²ÑÑ‚Ð²ÑƒÐ¹, Ð˜Ð³Ð¾Ñ€ÑŒ. Ð¯ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑŽ Ñ‚Ð²Ð¾Ð¹ Ð²ÐµÐ± ÑÐµÑ€Ð²ÐµÑ€, Ð½Ð¾ Ñ‡Ñ‚Ð¾Ð±Ñ‹ Ð¸ÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÑŒ php support Ñ Ð¿Ð¾Ð»ÑŒÐ·ÑƒÑŽÑÑŒ spawn-fcgi. Ð•ÑÑ‚ÑŒ Ð»Ð¸ Ñƒ Ñ‚ÐµÐ±Ñ ÐºÐ°ÐºÐ¸Ðµ-Ñ‚Ð¾ Ð¸…

---

## [Try\_files and GET variables](https://www.ruby-forum.com/t/try-files-and-get-variables/164258)

<div class="topic-metadata">

**Author:** [@Reinis\_R](https://www.ruby-forum.com/u/Reinis_R)\
**Replies:** 4\
**Last updated:** [March 30, 2009, 5:59pm UTC](https://www.ruby-forum.com/t/try-files-and-get-variables/164258 "2009-03-30T17:59:27Z")

</div>

Hello, tried to replace the webserver config to use try\_files instead of rewrites (on 0.7.46), it kinda works but I get some garbage in QUERY\_STRING on the php fastcgi backend - so php doesnt see any GET variable. T…

---

## [How To (re)build a Nginx .deb package using the developer's latest sources](https://www.ruby-forum.com/t/how-to-re-build-a-nginx-deb-package-using-the-developers-latest-sources/164242)

<div class="topic-metadata">

**Author:** [@larios](https://www.ruby-forum.com/u/larios)\
**Replies:** 2\
**Last updated:** [March 30, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/how-to-re-build-a-nginx-deb-package-using-the-developers-latest-sources/164242 "2009-03-30T14:10:48Z")

</div>

I have just published a procedure description on “How To (re)build a Nginx .deb package using the developer’s latest sources”, at: http://ubuntuforums.org/showthread.php?p=6953724 M.

---

## [How to rewrite args?](https://www.ruby-forum.com/t/how-to-rewrite-args/164252)

<div class="topic-metadata">

**Author:** [@teenage](https://www.ruby-forum.com/u/teenage)\
**Replies:** 1\
**Last updated:** [March 30, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/how-to-rewrite-args/164252 "2009-03-30T14:10:12Z")

</div>

Hello, I’m trying to rewrite args with NginX 0.6 to force nginx to return file “foo.html!arg=bar” when request is “foo.html?arg=bar” (of course actually NginX try to access to file “foo.html”). It seems to don’t work…

---

## [Nginx-0.7.45](https://www.ruby-forum.com/t/nginx-0-7-45/164239)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [March 30, 2009, 12:57pm UTC](https://www.ruby-forum.com/t/nginx-0-7-45/164239 "2009-03-30T12:57:54Z")

</div>

Changes with nginx 0.7.45 30 Mar 2009 \*) Change: now the "proxy\_cache" and the "proxy\_cache\_valid" can be set on different levels. \*) Change: the "clean\_time" parameter of the…

---

## [Server dropped the connection](https://www.ruby-forum.com/t/server-dropped-the-connection/164243)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 11:05am UTC](https://www.ruby-forum.com/t/server-dropped-the-connection/164243 "2009-03-30T11:05:12Z")

</div>

Hello! I have some websites hosted by nginx-0.6.34 with php-fpm I don’t know why, sometimes it gives me error with a BLANK PAGE (if using firefox) If using Chrome, it shows me Error 320 (net::ERR\_INVALID\_RESPONSE): …

---

## [Best case senario for using keepalive\_timeout](https://www.ruby-forum.com/t/best-case-senario-for-using-keepalive-timeout/164231)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 8:22am UTC](https://www.ruby-forum.com/t/best-case-senario-for-using-keepalive-timeout/164231 "2009-03-30T08:22:26Z")

</div>

Hi, I got nginx 0.6.35 with php-fpm and a tomcat. Im using in some vhosts keepalive\_timeout 0 and in some 2 or 4. Now I’m not sure how good of an idea is it and also not sure in which case I should use keepalive\_timeo…

---

## [RE: varnish?](https://www.ruby-forum.com/t/re-varnish/164223)

<div class="topic-metadata">

**Author:** [@Chris\_Z](https://www.ruby-forum.com/u/Chris_Z)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 6:18am UTC](https://www.ruby-forum.com/t/re-varnish/164223 "2009-03-30T06:18:25Z")

</div>

I agree. I have worked on machines serving several hundred gallery sites. We ran into memory limits with apache well before seeing any io wait issues. Although separating out your dynamic content servers from your sta…

---

## [Nginx not picking up error\_page](https://www.ruby-forum.com/t/nginx-not-picking-up-error-page/164194)

<div class="topic-metadata">

**Author:** [@Guy\_N](https://www.ruby-forum.com/u/Guy_N)\
**Replies:** 2\
**Last updated:** [March 30, 2009, 2:41am UTC](https://www.ruby-forum.com/t/nginx-not-picking-up-error-page/164194 "2009-03-30T02:41:45Z")

</div>

Hi, I have an nginx setup to serve rails applications. But for some reason it’s not picking up the error\_page 400 404 /40x.html. Here is part of the config file: This is inside my location / {} config part error\_pag…

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

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