# Server

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

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

---

## [Latency problem with one browser](https://www.ruby-forum.com/t/latency-problem-with-one-browser/217475)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 13\
**Last updated:** [March 4, 2012, 10:09pm UTC](https://www.ruby-forum.com/t/latency-problem-with-one-browser/217475 "2012-03-04T22:09:33Z")

</div>

Hi, I installed nginx 1.05 and php-fpm 5.3.10 in Ubuntu 11.10. If I browse with explorer,firefox and chrome all works very well, all is fast! If I use my Playbook (with webkit) all is slow! With webinspector I notic…

---

## [Need feedback on a small change to the nginx-gridfs module](https://www.ruby-forum.com/t/need-feedback-on-a-small-change-to-the-nginx-gridfs-module/217551)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [March 4, 2012, 10:05pm UTC](https://www.ruby-forum.com/t/need-feedback-on-a-small-change-to-the-nginx-gridfs-module/217551 "2012-03-04T22:05:48Z")

</div>

Hi, I have made a small tweak to the nginx-gridfs module ( GitHub - mdirolf/nginx-gridfs: Nginx module for serving files from MongoDB's GridFS) to serve my requirement. I am not sure if it is generic enough to raise …

---

## [Nginx load balancing](https://www.ruby-forum.com/t/nginx-load-balancing/217528)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 10\
**Last updated:** [March 4, 2012, 3:10pm UTC](https://www.ruby-forum.com/t/nginx-load-balancing/217528 "2012-03-04T15:10:17Z")

</div>

Hi, I try configure nginx load balancing with 3 nodes but never show images or ccs style from nodes and always obtain this error: 2012/03/03 22:36:43 \[error\] 11321#0: \*7 open() “/usr/local/nginx/html/melchor.jpg” fai…

---

## [Disable error page for one location?](https://www.ruby-forum.com/t/disable-error-page-for-one-location/217530)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 4, 2012, 12:01pm UTC](https://www.ruby-forum.com/t/disable-error-page-for-one-location/217530 "2012-03-04T12:01:50Z")

</div>

Hi everyone, I’m using Nginx to proxy to an Apache backend. The backend generates a wide variety of ugly 404- and 500-code error messages that I don’t really want to show to the end-user, so in my server block I’ve …

---

## [Nginx load balancer with geoip?](https://www.ruby-forum.com/t/nginx-load-balancer-with-geoip/217478)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 4, 2012, 10:23am UTC](https://www.ruby-forum.com/t/nginx-load-balancer-with-geoip/217478 "2012-03-04T10:23:53Z")

</div>

i wrote all geoip database in geo.conf, and i wrote these lines in http segment. geo $geo { include geo.conf; } and I set upstream in http segment like: upstream default { server folderfile.net; } upstream kr { …

---

## [Monitor traffic through nginx' reverse proxy](https://www.ruby-forum.com/t/monitor-traffic-through-nginx-reverse-proxy/180431)

<div class="topic-metadata">

**Author:** [@Danny\_Trinh](https://www.ruby-forum.com/u/Danny_Trinh)\
**Replies:** 2\
**Last updated:** [March 3, 2012, 8:47pm UTC](https://www.ruby-forum.com/t/monitor-traffic-through-nginx-reverse-proxy/180431 "2012-03-03T20:47:32Z")

</div>

Hello group, I have setup nginx as reverse proxy only (web users \<-\> reverse proxy \<-\> Firewall \<-\> backend web server). I would like to monitor the performance of nginx reverse proxy, if you know any tool/monitor tha…

---

## [Nginx 1.0.11 + upload module compile error](https://www.ruby-forum.com/t/nginx-1-0-11-upload-module-compile-error/217515)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 3, 2012, 7:00pm UTC](https://www.ruby-forum.com/t/nginx-1-0-11-upload-module-compile-error/217515 "2012-03-03T19:00:26Z")

</div>

Hi all, This is my nginx setup: nginx 1.0.11 nginx-upload-module 2.2.0 (http://www.grid.net.ru/nginx/upload.en.html) I can compile from source with --add-module flag on: OS X Snow Leopard (gcc version 4.2.1) Ubunt…

---

## [NGINX - forbidden custom message](https://www.ruby-forum.com/t/nginx-forbidden-custom-message/217509)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 3, 2012, 6:36pm UTC](https://www.ruby-forum.com/t/nginx-forbidden-custom-message/217509 "2012-03-03T18:36:55Z")

</div>

sorry for being so direct but this is what I need to do… in one of my virtual hosts I need to show a custom message based on user’s IP. for example… if user comes from 1.0.0.0/8 or 12.0.0.0/8 it get a custom message/…

---

## [Log $http\_x\_forwarded\_for behind Cisco ACE LB](https://www.ruby-forum.com/t/log-http-x-forwarded-for-behind-cisco-ace-lb/217470)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 3, 2012, 10:52am UTC](https://www.ruby-forum.com/t/log-http-x-forwarded-for-behind-cisco-ace-lb/217470 "2012-03-03T10:52:25Z")

</div>

Hello ! I’m new to Nginx. I installed Nginx (on Gentoo) instead of Apache behind a Cisco LoadBalancer. My problem is that the directive $http\_x\_forwarded\_for always write local IP of the LoadBalancer instead of Real…

---

## [Get connected IPs and request addresses](https://www.ruby-forum.com/t/get-connected-ips-and-request-addresses/217405)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 3, 2012, 12:54am UTC](https://www.ruby-forum.com/t/get-connected-ips-and-request-addresses/217405 "2012-03-03T00:54:24Z")

</div>

Hello, We are currently serving files using X-Accel-Redirect. Previously, we used lighttpd and we parsed the server-status page to retrieve IPs along with the request and GET query: 192.168.10.11 0/0 157998/1503052…

---

## [Nginx load balancing Tomcat servers](https://www.ruby-forum.com/t/nginx-load-balancing-tomcat-servers/217408)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 2, 2012, 7:56pm UTC](https://www.ruby-forum.com/t/nginx-load-balancing-tomcat-servers/217408 "2012-03-02T19:56:33Z")

</div>

Hello, What is the right way to setup a true load balancing of a few Tomcat servers? By word “true” I understand taking into account at least CPU load of those nodes, not just round robining. I’ve looked at 3rd par…

---

## [Gzip\_disable doesn't disable gzip\_vary](https://www.ruby-forum.com/t/gzip-disable-doesnt-disable-gzip-vary/217467)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 2, 2012, 1:33pm UTC](https://www.ruby-forum.com/t/gzip-disable-doesnt-disable-gzip-vary/217467 "2012-03-02T13:33:55Z")

</div>

I noticed that with this setting: gzip on; gzip\_vary on; gzip\_disable “msie6”; Header “Vary: Accept-Encoding” will always be returned even though the user agent is ie6 (and therefore not using gzip): curl -I http:…

---

## [Compile error for Nginx 1.1.2](https://www.ruby-forum.com/t/compile-error-for-nginx-1-1-2/217438)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 2, 2012, 5:58am UTC](https://www.ruby-forum.com/t/compile-error-for-nginx-1-1-2/217438 "2012-03-02T05:58:07Z")

</div>

Hello all, I am trying to install Nginx-1.1.2 on mac os x-lion,but while doing make i am getting following error,i have searched through forums but didnt found clear steps to resolve the error, please help cc1: warn…

---

## [Nginx-1.0.3](https://www.ruby-forum.com/t/nginx-1-0-3/207423)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 1, 2012, 1:37pm UTC](https://www.ruby-forum.com/t/nginx-1-0-3/207423 "2012-03-01T13:37:47Z")

</div>

Changes with nginx 1.0.3 25 May 2011 \*) Feature: the "auth\_basic\_user\_file" directive supports "$apr1", "{PLAIN}", and "{SSHA}" password encryption methods. Thanks to Maxim…

---

## [Limit Available Methods](https://www.ruby-forum.com/t/limit-available-methods/217419)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 1, 2012, 12:02pm UTC](https://www.ruby-forum.com/t/limit-available-methods/217419 "2012-03-01T12:02:42Z")

</div>

Want to limit OPTIONS and TRACE method from nginx server Referred following post( section #11) Disable certain HTTP methods at global level, below article will help us to restrict at server block level \* http://www…

---

## [Dav module temp files](https://www.ruby-forum.com/t/dav-module-temp-files/217384)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 1, 2012, 10:06am UTC](https://www.ruby-forum.com/t/dav-module-temp-files/217384 "2012-03-01T10:06:42Z")

</div>

Hello, is there a technical reason why the WebDAV module (for PUTs) always makes a temp file rather than use/honour memory buffer (client\_body\_buffer\_size)? wbr rr

---

## [Showing native 404 page and not the custom 404 in some circumstances](https://www.ruby-forum.com/t/showing-native-404-page-and-not-the-custom-404-in-some-circumstances/217418)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 1, 2012, 7:25am UTC](https://www.ruby-forum.com/t/showing-native-404-page-and-not-the-custom-404-in-some-circumstances/217418 "2012-03-01T07:25:19Z")

</div>

I have a 404 page defined as follows. If I purposefully hit a non valid page I see the custom 404 page. But sometimes due to rate limiting and probably busy CPU I see the default nginx 404 page. I can’t narrow this do…

---

## [Tengine-1.2.3](https://www.ruby-forum.com/t/tengine-1-2-3/217357)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 1, 2012, 5:42am UTC](https://www.ruby-forum.com/t/tengine-1-2-3/217357 "2012-03-01T05:42:19Z")

</div>

Hi guys, We’re glad to announce that Tengine-1.2.3 has been released. You can download it here: http://tengine.taobao.org/download/tengine-1.2.3.tar.gz Starting from this release, Tengine is based on Nginx-1.0.12. Ot…

---

## [Uploads with nginx 1.0.12](https://www.ruby-forum.com/t/uploads-with-nginx-1-0-12/217402)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 29, 2012, 10:42pm UTC](https://www.ruby-forum.com/t/uploads-with-nginx-1-0-12/217402 "2012-02-29T22:42:45Z")

</div>

Hello, I am using file uploads with nginx 1.0.12, php5-fpm and php 5.3.10. Currently, big file uploads (~1300 MB) do take about 30 seconds to process after the file is being uploaded, and the CPU load spikes. Is ther…

---

## [Nginx-1.1.16](https://www.ruby-forum.com/t/nginx-1-1-16/217394)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 29, 2012, 10:02pm UTC](https://www.ruby-forum.com/t/nginx-1-1-16/217394 "2012-02-29T22:02:23Z")

</div>

Changes with nginx 1.1.16 29 Feb 2012 \*) Change: the simultaneous subrequest limit has been raised to 200. \*) Feature: the "from" parameter of the "disable\_symlinks" directive. …

---

## [Writing an alias to a proxy with no buffering](https://www.ruby-forum.com/t/writing-an-alias-to-a-proxy-with-no-buffering/217364)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 29, 2012, 8:27pm UTC](https://www.ruby-forum.com/t/writing-an-alias-to-a-proxy-with-no-buffering/217364 "2012-02-29T20:27:25Z")

</div>

Hi to everybody, beginner here. I have a location in my nginx configuration file that connects to a unix domain proxy to stream a real time video. What I would like is to make other locations point to the stream. It s…

---

## [Stub\_status explenation needed](https://www.ruby-forum.com/t/stub-status-explenation-needed/217083)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 29, 2012, 4:45pm UTC](https://www.ruby-forum.com/t/stub-status-explenation-needed/217083 "2012-02-29T16:45:08Z")

</div>

Dear all, I am not quite sure how to understand stub\_status module output. I have three servers, on which I have this module turned on. Maybe servers infrastructure is the key here, so let me explain it: ProxyServer…

---

## [Strip Character from Server Variable](https://www.ruby-forum.com/t/strip-character-from-server-variable/217390)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 29, 2012, 3:57pm UTC](https://www.ruby-forum.com/t/strip-character-from-server-variable/217390 "2012-02-29T15:57:56Z")

</div>

Hi all, I am trying to do something that sounds very simple and yet has me perplexed. I need to strip the leading / from the $uri variable in my nginx.conf. I need to then pass that modified variable to ProxyPass. I…

---

## [Using nginx 1.1 with the intel compiler](https://www.ruby-forum.com/t/using-nginx-1-1-with-the-intel-compiler/217141)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 13\
**Last updated:** [February 29, 2012, 3:25pm UTC](https://www.ruby-forum.com/t/using-nginx-1-1-with-the-intel-compiler/217141 "2012-02-29T15:25:35Z")

</div>

Not sure what I’m doing wrong here… \[root@bob:~/trunk\]# export | grep cc CC=icc LD\_LIBRARY\_PATH=/opt/intel/composer\_xe\_2011\_sp1.9.293/compiler/lib/ia32:/opt/intel/composer\_xe\_2011\_sp1.9.293/ipp/…/compiler/lib/ia32:/op…

---

## [Possible causes for request time taking twice as long as upstream response time](https://www.ruby-forum.com/t/possible-causes-for-request-time-taking-twice-as-long-as-upstream-response-time/202717)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 29, 2012, 12:29pm UTC](https://www.ruby-forum.com/t/possible-causes-for-request-time-taking-twice-as-long-as-upstream-response-time/202717 "2012-02-29T12:29:03Z")

</div>

Hello, I am doing some performance analysis for one of our sites. In the Nginx access\_log, I record the $request\_time and the $upstream\_response\_time. While looking at these logs I can see that sometimes these number…

---

## [Http -\> https redirection, with a twist?](https://www.ruby-forum.com/t/http-https-redirection-with-a-twist/217380)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 29, 2012, 4:43am UTC](https://www.ruby-forum.com/t/http-https-redirection-with-a-twist/217380 "2012-02-29T04:43:30Z")

</div>

Folks, I’ve been trying to figure out how to set this up, I’ve gone through as much of the web site and wiki as I can, and I’ve searched on the net as much as I can. I’m still stumped. We have several different serv…

---

## [Sharing rate limiting data between multiple nginx LB’s](https://www.ruby-forum.com/t/sharing-rate-limiting-data-between-multiple-nginx-lb-s/216743)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 29, 2012, 4:33am UTC](https://www.ruby-forum.com/t/sharing-rate-limiting-data-between-multiple-nginx-lb-s/216743 "2012-02-29T04:33:34Z")

</div>

I have multiple nginx machines running and proxy LB through a round robin DNS mechanism. I do rate limiting as follows limit\_req\_zone $binary\_remote\_addr zone=pw:30m rate=20r/m; location / { lim…

---

## [BitTorrent tracker announce flooding NGinx logs](https://www.ruby-forum.com/t/bittorrent-tracker-announce-flooding-nginx-logs/217331)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 28, 2012, 5:27pm UTC](https://www.ruby-forum.com/t/bittorrent-tracker-announce-flooding-nginx-logs/217331 "2012-02-28T17:27:58Z")

</div>

Hello, I recently installed Transmission 2.03. Since then I get my NGinx error log flooded with messages like "\[error\] 21475#0: \*6383 open() “/var/web/tracker.thepiratebay.org/announce” failed (2: No such file or di…

---

## [Ngx\_slowfs\_cache-1.7](https://www.ruby-forum.com/t/ngx-slowfs-cache-1-7/217347)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [February 28, 2012, 2:43pm UTC](https://www.ruby-forum.com/t/ngx-slowfs-cache-1-7/217347 "2012-02-28T14:43:10Z")

</div>

Version 1.7 is now available at: http://labs.frickle.com/nginx\_ngx\_slowfs\_cache/ GitHub repository is available at: Changes: 2012-02-28 VERSION 1.7 \* Fix on-disk cache size calculation. Since the initial releas…

---

## [Limit\_req does not work](https://www.ruby-forum.com/t/limit-req-does-not-work/217152)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 28, 2012, 2:09pm UTC](https://www.ruby-forum.com/t/limit-req-does-not-work/217152 "2012-02-28T14:09:38Z")

</div>

Nginx 1.1.15 does not block request if I use “try\_files”. This is my markup (simplified): nginx.conf: http { limit\_req\_zone $binary\_remote\_addr zone=zone1:32m rate=2r/s; limit\_req\_zone $binary\_remote\_addr zone=zo…

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

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