# Server

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

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

---

## [GeoIP On Nginx](https://www.ruby-forum.com/t/geoip-on-nginx/179353)

<div class="topic-metadata">

**Author:** [@himesh](https://www.ruby-forum.com/u/himesh)\
**Replies:** 3\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/geoip-on-nginx/179353 "2009-12-19T15:25:19Z")

</div>

Hi guys, Iam trying to set up geoip functionality on nginx, I believe it works only with Nginx 0.8 not earlier. I was using GeoIP with Apache to allow access to Only US IPs with the following config… SetEnvIf GEOIP\_…

---

## [The new mailing list](https://www.ruby-forum.com/t/the-new-mailing-list/180392)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/the-new-mailing-list/180392 "2009-12-19T15:25:19Z")

</div>

All removed\_email\_address@domain.invalid mailing list subscribers are subscribed to a new removed\_email\_address@domain.invalid mailing list running on the Mailman platform. Both addresses will work together for some ti…

---

## [Upstream timed out (110: Connection timed out) while reading response	header from upstr](https://www.ruby-forum.com/t/upstream-timed-out-110-connection-timed-out-while-reading-response-header-from-upstr/180268)

<div class="topic-metadata">

**Author:** [@neridaj](https://www.ruby-forum.com/u/neridaj)\
**Replies:** 1\
**Last updated:** [December 17, 2009, 11:24pm UTC](https://www.ruby-forum.com/t/upstream-timed-out-110-connection-timed-out-while-reading-response-header-from-upstr/180268 "2009-12-17T23:24:04Z")

</div>

I have nginx running in front of apache2/mod\_wsgi and I’m not sure how to resolve this error: upstream timed out (110: Connection timed out) while reading response header from upstream any ideas on where to start? J …

---

## [Nginx and oauth](https://www.ruby-forum.com/t/nginx-and-oauth/180319)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [December 17, 2009, 11:57am UTC](https://www.ruby-forum.com/t/nginx-and-oauth/180319 "2009-12-17T11:57:32Z")

</div>

I have been using upload\_module with nginx and rails and using a configuration much like the one suggested here: http://brianthecoder.com/nginx-upload-module I have been successful at doing this with multipart uploads…

---

## [Re: load balance -- Write IO is too high](https://www.ruby-forum.com/t/re-load-balance-write-io-is-too-high/180276)

<div class="topic-metadata">

**Author:** [@Chancey](https://www.ruby-forum.com/u/Chancey)\
**Replies:** 0\
**Last updated:** [December 16, 2009, 11:32am UTC](https://www.ruby-forum.com/t/re-load-balance-write-io-is-too-high/180276 "2009-12-16T11:32:01Z")

</div>

I knew why. i turn on error log with level debug. I have found that each request will first visit the cache . I guess io is higher because each visit to read and write caching . so i set proxy\_buffering off and proxy\_…

---

## [Load balance -- Write IO is too high](https://www.ruby-forum.com/t/load-balance-write-io-is-too-high/180274)

<div class="topic-metadata">

**Author:** [@Chancey](https://www.ruby-forum.com/u/Chancey)\
**Replies:** 0\
**Last updated:** [December 16, 2009, 9:58am UTC](https://www.ruby-forum.com/t/load-balance-write-io-is-too-high/180274 "2009-12-16T09:58:58Z")

</div>

Hi guys: i have two servers, and 1 server as proxy server and upstream 1 server and 2 server. I set up 1 server’s weight is 1, and 2 server’s weight is 5 . Now they can work properly , but 1 server’s write IO is to…

---

## [Nginx information badly needed](https://www.ruby-forum.com/t/nginx-information-badly-needed/180155)

<div class="topic-metadata">

**Author:** [@ex-para](https://www.ruby-forum.com/u/ex-para)\
**Replies:** 0\
**Last updated:** [December 13, 2009, 2:44pm UTC](https://www.ruby-forum.com/t/nginx-information-badly-needed/180155 "2009-12-13T14:44:05Z")

</div>

First I must say I no nothing of Ruby or nginx or even if I have Ruby, having said that I have downloaded nginx to the bit that get to welcome to nginx which apart from stopping and starting is as far as the download …

---

## [Mailing list subject line format](https://www.ruby-forum.com/t/mailing-list-subject-line-format/179873)

<div class="topic-metadata">

**Author:** [@litwol](https://www.ruby-forum.com/u/litwol)\
**Replies:** 3\
**Last updated:** [December 12, 2009, 1:17am UTC](https://www.ruby-forum.com/t/mailing-list-subject-line-format/179873 "2009-12-12T01:17:54Z")

</div>

Hello. It would make applying client side rules to incoming emails from nginx mailing list much easier if subject line had a consistent fomat and included some kind of hook tags. For example: The rest of subject lin…

---

## [Nginx + memcached + rails + facebook](https://www.ruby-forum.com/t/nginx-memcached-rails-facebook/141397)

<div class="topic-metadata">

**Author:** [@tecchi](https://www.ruby-forum.com/u/tecchi)\
**Replies:** 1\
**Last updated:** [December 11, 2009, 1:42pm UTC](https://www.ruby-forum.com/t/nginx-memcached-rails-facebook/141397 "2009-12-11T13:42:29Z")

</div>

As the title says I try to setup a facebook app, with rails (mongrel) as app.server, nginx as reverse proxy and memcached as the place to store the rails pagecache stuff. So far I could not figure out a working nginx …

---

## [Changing Case of Variables in Nginx](https://www.ruby-forum.com/t/changing-case-of-variables-in-nginx/145230)

<div class="topic-metadata">

**Author:** [@Resi\_C](https://www.ruby-forum.com/u/Resi_C)\
**Replies:** 1\
**Last updated:** [December 7, 2009, 5:41am UTC](https://www.ruby-forum.com/t/changing-case-of-variables-in-nginx/145230 "2009-12-07T05:41:03Z")

</div>

Hi, I am trying to change the case of a variable to all lowercase. I know there is no function to do this, but I have been trying to do it with pcre and it is not working. I keep getting this… pcre\_compile() failed…

---

## [Proxy\_pass to Apache config not working like fastcgi\_pass](https://www.ruby-forum.com/t/proxy-pass-to-apache-config-not-working-like-fastcgi-pass/179868)

<div class="topic-metadata">

**Author:** [@nerdgrind](https://www.ruby-forum.com/u/nerdgrind)\
**Replies:** 5\
**Last updated:** [December 6, 2009, 7:39am UTC](https://www.ruby-forum.com/t/proxy-pass-to-apache-config-not-working-like-fastcgi-pass/179868 "2009-12-06T07:39:03Z")

</div>

I setup Nginx as the frontend server, and Apache as the backend to serve only PHP for Wordpress, however, after checking the headers I found Apache is sending cache-control, and other headers that should only be handl…

---

## [Server Boot stall](https://www.ruby-forum.com/t/server-boot-stall/179864)

<div class="topic-metadata">

**Author:** [@Jenn\_B](https://www.ruby-forum.com/u/Jenn_B)\
**Replies:** 1\
**Last updated:** [December 5, 2009, 8:27pm UTC](https://www.ruby-forum.com/t/server-boot-stall/179864 "2009-12-05T20:27:12Z")

</div>

Hello, I am relatively new to the Ruby community. I did look through the archives and did not find anything that looked like what I am experiencing. I have tried setting up RoR with the mongrel gem on both of my mac…

---

## [Conditional keepalive settings](https://www.ruby-forum.com/t/conditional-keepalive-settings/179815)

<div class="topic-metadata">

**Author:** [@joshua](https://www.ruby-forum.com/u/joshua)\
**Replies:** 0\
**Last updated:** [December 4, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/conditional-keepalive-settings/179815 "2009-12-04T14:46:10Z")

</div>

Should this work? if ($http\_accept == “application/xml”) { keepalive\_timeout 0; } Joshua Posted at Nginx Forum:

---

## [Try\_files for cache](https://www.ruby-forum.com/t/try-files-for-cache/179812)

<div class="topic-metadata">

**Author:** [@Marcos\_N](https://www.ruby-forum.com/u/Marcos_N)\
**Replies:** 0\
**Last updated:** [December 4, 2009, 2:31pm UTC](https://www.ruby-forum.com/t/try-files-for-cache/179812 "2009-12-04T14:31:32Z")

</div>

I am using this config to try the url, if not found, try the same url under /\_cache/ if not, use the router at index.php location / { try\_files $uri /\_cache$uri /index.php; } I dont try the above for those kind of …

---

## [Proxy cache only is cookie present](https://www.ruby-forum.com/t/proxy-cache-only-is-cookie-present/179616)

<div class="topic-metadata">

**Author:** [@nfn](https://www.ruby-forum.com/u/nfn)\
**Replies:** 2\
**Last updated:** [December 4, 2009, 1:40pm UTC](https://www.ruby-forum.com/t/proxy-cache-only-is-cookie-present/179616 "2009-12-04T13:40:36Z")

</div>

Hello, I’m using nginx/0.7.62 to proxy requests to apache2+mod\_php and I would like to cache content only if a cookie has a value present: “usergroup = 1” How am I able to archive this? Thanks Posted at Nginx Forum…

---

## [Nginx windows freezes with 100% CPU and massive error log](https://www.ruby-forum.com/t/nginx-windows-freezes-with-100-cpu-and-massive-error-log/179796)

<div class="topic-metadata">

**Author:** [@rmalayter](https://www.ruby-forum.com/u/rmalayter)\
**Replies:** 0\
**Last updated:** [December 3, 2009, 11:17pm UTC](https://www.ruby-forum.com/t/nginx-windows-freezes-with-100-cpu-and-massive-error-log/179796 "2009-12-03T23:17:50Z")

</div>

I was testing nginx 0.8.21 on Windows 2003 R2 x64 edition in a reverse-proxy configuration. Twice during test, I had nginx go completely nuts on me, using 100% CPU, and dumping many GB to its error log. There were onl…

---

## [Nginx configuration for multiple domains](https://www.ruby-forum.com/t/nginx-configuration-for-multiple-domains/179762)

<div class="topic-metadata">

**Author:** [@ashutosh](https://www.ruby-forum.com/u/ashutosh)\
**Replies:** 0\
**Last updated:** [December 3, 2009, 11:44am UTC](https://www.ruby-forum.com/t/nginx-configuration-for-multiple-domains/179762 "2009-12-03T11:44:27Z")

</div>

Hi, need help with configuring multiple domains (aaa.net, aaa.org, aaa.com) that are hosted on the same IP using nginx. I could do it for one domain aaa.com using server\_name .aaa.com wwww.aaa.\*; How do I do it for…

---

## [Ideal setting of "fastcgi\_buffers" with large files](https://www.ruby-forum.com/t/ideal-setting-of-fastcgi-buffers-with-large-files/169597)

<div class="topic-metadata">

**Author:** [@w3wsrmn](https://www.ruby-forum.com/u/w3wsrmn)\
**Replies:** 2\
**Last updated:** [December 3, 2009, 9:40am UTC](https://www.ruby-forum.com/t/ideal-setting-of-fastcgi-buffers-with-large-files/169597 "2009-12-03T09:40:46Z")

</div>

Howdy, For cases when large files are served via FastCGI, what might be the ideal settings for the “fastcgi\_buffers” directive, in order to prevent the warning: “an upstream response is buffered to a temporary file …

---

## [Combining Rails and nginx\_push\_module](https://www.ruby-forum.com/t/combining-rails-and-nginx-push-module/179699)

<div class="topic-metadata">

**Author:** [@saile](https://www.ruby-forum.com/u/saile)\
**Replies:** 1\
**Last updated:** [December 2, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/combining-rails-and-nginx-push-module/179699 "2009-12-02T18:10:46Z")

</div>

Hi, I am trying to combine a Rails & Thin configuration with the nginx push module. I have these two config snippets: Rails & Thin: upstream thin { server 127.0.0.1:8000; server 127.0.0.1:8001; server 127.0.0.1:80…

---

## [How can I use a folder with IP?](https://www.ruby-forum.com/t/how-can-i-use-a-folder-with-ip/179704)

<div class="topic-metadata">

**Author:** [@varix](https://www.ruby-forum.com/u/varix)\
**Replies:** 1\
**Last updated:** [December 2, 2009, 11:24am UTC](https://www.ruby-forum.com/t/how-can-i-use-a-folder-with-ip/179704 "2009-12-02T11:24:33Z")

</div>

Hallo, I want to use a folder like this http://123.45.678.9/photos/blabla.jpg I have a default vhost to catch all server { listen 80 default; server\_name \_; location / { root html; index index.ht…

---

## [How to limit speed of transmission on some kind of condition](https://www.ruby-forum.com/t/how-to-limit-speed-of-transmission-on-some-kind-of-condition/179658)

<div class="topic-metadata">

**Author:** [@gdtv](https://www.ruby-forum.com/u/gdtv)\
**Replies:** 0\
**Last updated:** [December 1, 2009, 10:49am UTC](https://www.ruby-forum.com/t/how-to-limit-speed-of-transmission-on-some-kind-of-condition/179658 "2009-12-01T10:49:44Z")

</div>

Hello, The wiki says: server { if ($slow) { set $limit\_rate 4k; } } How to define $slow , config $slow or set $slow ? Posted at Nginx Forum:

---

## [Nginx-0.8.29 released](https://www.ruby-forum.com/t/nginx-0-8-29-released/179641)

<div class="topic-metadata">

**Author:** [@pcdinh](https://www.ruby-forum.com/u/pcdinh)\
**Replies:** 0\
**Last updated:** [December 1, 2009, 3:57am UTC](https://www.ruby-forum.com/t/nginx-0-8-29-released/179641 "2009-12-01T03:57:39Z")

</div>

FYI Igor has just released Nginx 0.8.39 Original: \[nginx-announce\] nginx-0.8.29 Quote: Changes with nginx 0.8.29 30 Nov 2009 \*) Change: now the "009" status code is written to…

---

## [How to proxy pass one jsp dir that under a static web to tomcat:8080?](https://www.ruby-forum.com/t/how-to-proxy-pass-one-jsp-dir-that-under-a-static-web-to-tomcat-8080/179608)

<div class="topic-metadata">

**Author:** [@rollingsun](https://www.ruby-forum.com/u/rollingsun)\
**Replies:** 0\
**Last updated:** [November 30, 2009, 12:08pm UTC](https://www.ruby-forum.com/t/how-to-proxy-pass-one-jsp-dir-that-under-a-static-web-to-tomcat-8080/179608 "2009-11-30T12:08:15Z")

</div>

at first , thank you very much for helping me ! and now I have a new problem , I have a new server , totally , this is a static website , but one dir is jsp , so my head turn bigger … the web works ok but this js…

---

## [I'm confused about the parameter in http{} , my example is here](https://www.ruby-forum.com/t/im-confused-about-the-parameter-in-http-my-example-is-here/179557)

<div class="topic-metadata">

**Author:** [@rollingsun](https://www.ruby-forum.com/u/rollingsun)\
**Replies:** 2\
**Last updated:** [November 30, 2009, 11:28am UTC](https://www.ruby-forum.com/t/im-confused-about-the-parameter-in-http-my-example-is-here/179557 "2009-11-30T11:28:27Z")

</div>

this config is from a nginx + tomcat5 website , server based on system : redhat linux cpu\*8 : ( Intel(R) Xeon(R) CPU E5310 @ 1.60GHz ) mem : 8G I don’t know how to use these parameters well . and what els…

---

## [Bizarre? Logging: $variable\_\* vs $upstream\_http\_\*](https://www.ruby-forum.com/t/bizarre-logging-variable-vs-upstream-http/179578)

<div class="topic-metadata">

**Author:** [@icqheretic](https://www.ruby-forum.com/u/icqheretic)\
**Replies:** 5\
**Last updated:** [November 29, 2009, 6:28pm UTC](https://www.ruby-forum.com/t/bizarre-logging-variable-vs-upstream-http/179578 "2009-11-29T18:28:21Z")

</div>

Consider this configuration fragment: log\_format test\_log ‘TEST: \[$origin\_ip\] \[$upstream\_http\_content\_type\]’; location / { access\_log /tmp/test.log test\_log; set $origin\_ip $upstream\_http\_content\_type; proxy\_p…

---

## [Multiple fastcgi connection](https://www.ruby-forum.com/t/multiple-fastcgi-connection/179587)

<div class="topic-metadata">

**Author:** [@AlDee](https://www.ruby-forum.com/u/AlDee)\
**Replies:** 0\
**Last updated:** [November 29, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/multiple-fastcgi-connection/179587 "2009-11-29T17:20:28Z")

</div>

Hi, I’ve got a question about FastCGI. I have a long php script that takes a few seconds to run. The problem is that any new requests to php are delayed until the first script has finished executing. I’ve tried confi…

---

## [Improvements to geoip module](https://www.ruby-forum.com/t/improvements-to-geoip-module/177397)

<div class="topic-metadata">

**Author:** [@arvinds](https://www.ruby-forum.com/u/arvinds)\
**Replies:** 2\
**Last updated:** [November 28, 2009, 1:41am UTC](https://www.ruby-forum.com/t/improvements-to-geoip-module/177397 "2009-11-28T01:41:32Z")

</div>

Hello Nginx users and committers, Nginx is great - thanks for all the work. I needed the continent code and the latitude/longitude returned from the MaxMind geoip libraries and I modified ngx\_http\_geoip\_module.c to ad…

---

## [Problem with proxy\_cache\_path on x64 Windows](https://www.ruby-forum.com/t/problem-with-proxy-cache-path-on-x64-windows/178861)

<div class="topic-metadata">

**Author:** [@nbs2](https://www.ruby-forum.com/u/nbs2)\
**Replies:** 2\
**Last updated:** [November 26, 2009, 7:37pm UTC](https://www.ruby-forum.com/t/problem-with-proxy-cache-path-on-x64-windows/178861 "2009-11-26T19:37:45Z")

</div>

Hi, I have been trying to run nginx on a couple of Windows Server (2003/2008) and I have found that on x86 machines, proxy\_cache\_path works fine. But on x64, nginx stops when I try to start the service with the follo…

---

## [Update gem](https://www.ruby-forum.com/t/update-gem/179483)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [November 26, 2009, 11:17am UTC](https://www.ruby-forum.com/t/update-gem/179483 "2009-11-26T11:17:21Z")

</div>

Could somebody please update the gem version? we’ve got 1.1.5 and 1.1.6 (1.9 compatible) only available through gem install mongrel --source http://gems.rubyinstaller.org Thanks. -r

---

## [Error occurs while performance testing with multi-user( a module allocated big memory)](https://www.ruby-forum.com/t/error-occurs-while-performance-testing-with-multi-user-a-module-allocated-big-memory/179454)

<div class="topic-metadata">

**Author:** [@gaosboy](https://www.ruby-forum.com/u/gaosboy)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 10:41am UTC](https://www.ruby-forum.com/t/error-occurs-while-performance-testing-with-multi-user-a-module-allocated-big-memory/179454 "2009-11-25T10:41:54Z")

</div>

/\* I’m sorry that posting the same content again, but i did not give a clear subject in my last mail. \*/ I wrote a module. Receive a post request, and the request body is a big text with size of hundreds of KBs. And …

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

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