# Server

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

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

---

## [Question regarding Nginx Configuration](https://www.ruby-forum.com/t/question-regarding-nginx-configuration/212363)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 2, 2011, 3:15pm UTC](https://www.ruby-forum.com/t/question-regarding-nginx-configuration/212363 "2011-10-02T15:15:56Z")

</div>

I have Nginx up and running but I think that the conf file could be improved upon. I have a single server hosting 2 domains (doma and domb). doma is the default virtual host and supports a number of applications all …

---

## [Internal Server Error](https://www.ruby-forum.com/t/internal-server-error/212426)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [October 2, 2011, 12:04pm UTC](https://www.ruby-forum.com/t/internal-server-error/212426 "2011-10-02T12:04:09Z")

</div>

Hello, I have big problem from seven days All my websites down and this massage appeared Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. P…

---

## [GET issue](https://www.ruby-forum.com/t/get-issue/212374)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [October 1, 2011, 1:51pm UTC](https://www.ruby-forum.com/t/get-issue/212374 "2011-10-01T13:51:02Z")

</div>

Hi, i have a application that through sockets sends some data to my web page like touching link.php?name=john&age=32, with apache everything is ok that values are grabbed and inserted in the db but with nginx(all vers…

---

## [Intercepted 400 errors not displaying custom error page](https://www.ruby-forum.com/t/intercepted-400-errors-not-displaying-custom-error-page/212367)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 30, 2011, 10:31pm UTC](https://www.ruby-forum.com/t/intercepted-400-errors-not-displaying-custom-error-page/212367 "2011-09-30T22:31:06Z")

</div>

I am trying to intercept errors from a Unicorn proxy\_pass and display a custom 40x error page that is located on disk. This is what a subscript of my config: proxy\_intercept\_errors on; error\_page 400 403 =404 /404.ht…

---

## [Nginx won't honor limit\_rate](https://www.ruby-forum.com/t/nginx-wont-honor-limit-rate/212305)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [September 30, 2011, 6:14pm UTC](https://www.ruby-forum.com/t/nginx-wont-honor-limit-rate/212305 "2011-09-30T18:14:54Z")

</div>

Hi I have an nginx server nginx version: nginx/1.1.2 I’m using limit\_rate to limt download speed of my users however after an upgrade(I can’t remember the version) it doesn’t work anymore. Do you know why or how ca…

---

## [Nginx-1.0.7](https://www.ruby-forum.com/t/nginx-1-0-7/212354)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 30, 2011, 5:41pm UTC](https://www.ruby-forum.com/t/nginx-1-0-7/212354 "2011-09-30T17:41:32Z")

</div>

Changes with nginx 1.0.7 30 Sep 2011 \*) Change: now if total size of all ranges is greater than source response size, then nginx disables ranges and returns just the source …

---

## [Nginx and upstream Content-Length](https://www.ruby-forum.com/t/nginx-and-upstream-content-length/212347)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 30, 2011, 5:08pm UTC](https://www.ruby-forum.com/t/nginx-and-upstream-content-length/212347 "2011-09-30T17:08:51Z")

</div>

Hi, In a recent thread on the uwsgi mailing list\[1\], I began suspecting that nginx will not honor an upstream’s Content-Length header. i.e., if an upstream mentions a Content-Length of 1,000 bytes, but the connection …

---

## [Range request](https://www.ruby-forum.com/t/range-request/212336)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 30, 2011, 2:33am UTC](https://www.ruby-forum.com/t/range-request/212336 "2011-09-30T02:33:16Z")

</div>

hello how to disable range request ? ciao Posted at Nginx Forum:

---

## [Nginx reverse proxy with cache - dynamic images do not display](https://www.ruby-forum.com/t/nginx-reverse-proxy-with-cache-dynamic-images-do-not-display/212335)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 30, 2011, 1:49am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-with-cache-dynamic-images-do-not-display/212335 "2011-09-30T01:49:28Z")

</div>

Hi, I set up this configuration: http://pastebin.com/R65RiX5n The images that are served by a servelet do not appear. Do you know how I can fix this so that images served by servelets (dotContent, contentAssets, o…

---

## [Odd reverse proxy behavior](https://www.ruby-forum.com/t/odd-reverse-proxy-behavior/212331)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 29, 2011, 11:57pm UTC](https://www.ruby-forum.com/t/odd-reverse-proxy-behavior/212331 "2011-09-29T23:57:01Z")

</div>

Hi, all! I’ve stumbled upon a problem I can’t find a solution for many hours in a row. I use nginx as a reverse proxy to python/spawning web-server. I’ve done it for 1000 times already and all worked fine before this …

---

## [Having Serious trouble and need help with NGINX](https://www.ruby-forum.com/t/having-serious-trouble-and-need-help-with-nginx/212329)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 29, 2011, 10:26pm UTC](https://www.ruby-forum.com/t/having-serious-trouble-and-need-help-with-nginx/212329 "2011-09-29T22:26:57Z")

</div>

I have some issues when I issue: Can someone please help me. (Running NGINX-1.0.4 On RedHat 5) /etc/init.d/nginx start or restart; it return not output. when I issued the command /usr/local/nginx/sbin/nginx -t the t…

---

## [Happy birthday, Igor?](https://www.ruby-forum.com/t/happy-birthday-igor/212288)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 24\
**Last updated:** [September 29, 2011, 12:27pm UTC](https://www.ruby-forum.com/t/happy-birthday-igor/212288 "2011-09-29T12:27:01Z")

</div>

Given the amount of times Sep 28th 1970 is mentioned in the nginx code (see below), I am putting a rough guess that this is your birthday. So, in this very special day, I wanted to thank you for your amazing little ki…

---

## [Conflicting server name "" on 0.0.0.0:80, ignored](https://www.ruby-forum.com/t/conflicting-server-name-on-0-0-0-0-80-ignored/212314)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 29, 2011, 12:19pm UTC](https://www.ruby-forum.com/t/conflicting-server-name-on-0-0-0-0-80-ignored/212314 "2011-09-29T12:19:37Z")

</div>

Hello, I have an Ubuntu for drupal development with 2+1 local domain. I putted 2 domain name to my hosts file, I have the default and two similar configuration files in my sites-enabled folder: – server { if ($requ…

---

## [Fastcgi msg\_id always 1?](https://www.ruby-forum.com/t/fastcgi-msg-id-always-1/212311)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 29, 2011, 9:58am UTC](https://www.ruby-forum.com/t/fastcgi-msg-id-always-1/212311 "2011-09-29T09:58:43Z")

</div>

I was looking at the fastcgi, I found out that all fcgi request have a msg\_id of 1? What happens when more than 1 fcgi requests comes in and first one is still being handled. how does the fcgi server know the the dif…

---

## [Re: Happy birthday, Igor?](https://www.ruby-forum.com/t/re-happy-birthday-igor/212298)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 29, 2011, 5:20am UTC](https://www.ruby-forum.com/t/re-happy-birthday-igor/212298 "2011-09-29T05:20:38Z")

</div>

Hi Igor, Many many returns of the day! Happy Birthday!! – with Debian package maintainer hat on. Proud to be working with one of the nicest and quick upstream I’ve seen :slight\_smile: – Kartik M. Debian GNU/Linux D…

---

## [Nginx build under Debian Hurd i386](https://www.ruby-forum.com/t/nginx-build-under-debian-hurd-i386/212285)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 28, 2011, 3:14pm UTC](https://www.ruby-forum.com/t/nginx-build-under-debian-hurd-i386/212285 "2011-09-28T15:14:28Z")

</div>

Hi nginx lovers. As it’s my first mail on this mailing list, I will introduce myself a little bit. I’m Cyril Lavier, a 25 years old System A. from France. I use nginx for barely a year now. I use it for my own websi…

---

## [Small bug in rewrite rules using if (ugh, yes, if is bad.)](https://www.ruby-forum.com/t/small-bug-in-rewrite-rules-using-if-ugh-yes-if-is-bad/211283)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 28, 2011, 10:26am UTC](https://www.ruby-forum.com/t/small-bug-in-rewrite-rules-using-if-ugh-yes-if-is-bad/211283 "2011-09-28T10:26:01Z")

</div>

Hello folks, Just thought I would report a small bug with rewrite interacting with if. Here is my simple setup: server { server\_name example.dev.com; location ^~ /salad/add { if ($arg\_paramThree = “foobar…

---

## [Static Files](https://www.ruby-forum.com/t/static-files/212259)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 28, 2011, 5:49am UTC](https://www.ruby-forum.com/t/static-files/212259 "2011-09-28T05:49:07Z")

</div>

Hi I am intend to use NGINX (LINUX) for serving static files with high concurrency and bandwidth. Some of the files is served from the disk and some from cache. I am trying to find the configuration for best perform…

---

## [How can i run/debug nginx in eclipse?](https://www.ruby-forum.com/t/how-can-i-run-debug-nginx-in-eclipse/212253)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 28, 2011, 12:49am UTC](https://www.ruby-forum.com/t/how-can-i-run-debug-nginx-in-eclipse/212253 "2011-09-28T00:49:05Z")

</div>

hi, all: I want to run/debug the nginx in Eclipse, how can i configure it ? thanks in advance! – best regards rmn190

---

## [Nginx and/or Passenger failing](https://www.ruby-forum.com/t/nginx-and-or-passenger-failing/212254)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [September 27, 2011, 4:03pm UTC](https://www.ruby-forum.com/t/nginx-and-or-passenger-failing/212254 "2011-09-27T16:03:51Z")

</div>

Hi, Envirionment: Passenger 3.0.9 nginx 1.0.6 Suse SLE 11 Rails 3.0.7 Ruby 1.9.2 p136 Quad core 8 GB Single Rails application nginx settings: worker\_processes 3; worker\_rlimit\_nofile 8192; worker\_priority 0; …

---

## [Php-fpm Input/output error](https://www.ruby-forum.com/t/php-fpm-input-output-error/212258)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 27, 2011, 1:08pm UTC](https://www.ruby-forum.com/t/php-fpm-input-output-error/212258 "2011-09-27T13:08:27Z")

</div>

hi all ,please help me php-fpm error log \[27-Sep-2011 11:42:20\] ERROR: ptrace(PEEKDATA) failed: Input/output error (5) php-fpm.slow.log \[27-Sep-2011 13:49:50\] \[pool www\] pid 24386 script\_filename = /www/nmarket/ind…

---

## [Log response errors to a separate file](https://www.ruby-forum.com/t/log-response-errors-to-a-separate-file/212225)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 26, 2011, 12:57pm UTC](https://www.ruby-forum.com/t/log-response-errors-to-a-separate-file/212225 "2011-09-26T12:57:41Z")

</div>

Hello, I would like to log to the general access log and also to a separate log 404, 403, 500, 501, 502, 503 responses. Is there a way of doing this? Is anyone doing this? Currently nginx is running in front of fast…

---

## [How to tune nginx for 800-1200 concurrent connections?](https://www.ruby-forum.com/t/how-to-tune-nginx-for-800-1200-concurrent-connections/211993)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [September 26, 2011, 11:31am UTC](https://www.ruby-forum.com/t/how-to-tune-nginx-for-800-1200-concurrent-connections/211993 "2011-09-26T11:31:09Z")

</div>

Dear all, I run nginx as stand-alone webserver (not as Apache proxy) on an image gallery website. The server has to handle up to 1,200 concurrent connections on Port 80, the average number throughout the day is around …

---

## [Cannot remove Content Length header](https://www.ruby-forum.com/t/cannot-remove-content-length-header/212177)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [September 26, 2011, 10:16am UTC](https://www.ruby-forum.com/t/cannot-remove-content-length-header/212177 "2011-09-26T10:16:00Z")

</div>

Hello, I’m using Nginx as a front end to my node.js application, nginx proxying https request to my app. When the browser gets the response back, instead of pure json ({“error”:“query error”,“message”:“Parameter(s) m…

---

## [Flv](https://www.ruby-forum.com/t/flv/212203)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 26, 2011, 9:06am UTC](https://www.ruby-forum.com/t/flv/212203 "2011-09-26T09:06:37Z")

</div>

Hi My question is about FLV Module NGINX documentation mentions that FLV module supports time-based offsets\* “This module provides the ability to seek within FLV (Flash) files using time-based offsets.”\* http://wik…

---

## [Help: My rewriting does not work](https://www.ruby-forum.com/t/help-my-rewriting-does-not-work/212191)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 26, 2011, 6:19am UTC](https://www.ruby-forum.com/t/help-my-rewriting-does-not-work/212191 "2011-09-26T06:19:59Z")

</div>

I want to rewrite an old page to a new location, I use this code: rewrite ^/%C8%CB%CC%E5%D1%A8%CE%BB%CD%BC.html /w/新页面 permanent; But it does not work. I still can open the old page from http://mysite.com/����Ѩλͼ.html,…

---

## [Will NGX\_AGAIN kill performance?](https://www.ruby-forum.com/t/will-ngx-again-kill-performance/212180)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 26, 2011, 4:59am UTC](https://www.ruby-forum.com/t/will-ngx-again-kill-performance/212180 "2011-09-26T04:59:45Z")

</div>

hi, i currently dev a module which makes multi subrequest sequently in the access phase handler, via returning NGX\_AGAIN. my question is, will this kill the performance? and how far could it go in killing performanc…

---

## [Nginx redirect loop under ssl](https://www.ruby-forum.com/t/nginx-redirect-loop-under-ssl/201581)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 25, 2011, 11:51pm UTC](https://www.ruby-forum.com/t/nginx-redirect-loop-under-ssl/201581 "2011-09-25T23:51:30Z")

</div>

I’ve been banging my head on it for a few days now with no luck. Nothing seems to be busted, just keeps redirecting to the root domain when ever I try and visit any url requiring ssl Posted at Nginx Forum:

---

## [Trouble getting UploadProgress module to work](https://www.ruby-forum.com/t/trouble-getting-uploadprogress-module-to-work/188977)

<div class="topic-metadata">

**Author:** [@george\_x](https://www.ruby-forum.com/u/george_x)\
**Replies:** 4\
**Last updated:** [September 25, 2011, 3:03pm UTC](https://www.ruby-forum.com/t/trouble-getting-uploadprogress-module-to-work/188977 "2011-09-25T15:03:22Z")

</div>

My setup: Debian Lenny nginx-0.8.36 installed from source nginx\_upload\_module-2.0.12 compiled in. masterzen-nginx-upload-progress-module-v0.8.1-0 compiled in. spawn-fcgi-1.6.2 installed from source, running on port 900…

---

## [Weird behavior on SSL, and corruption on reload](https://www.ruby-forum.com/t/weird-behavior-on-ssl-and-corruption-on-reload/212197)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 25, 2011, 2:14pm UTC](https://www.ruby-forum.com/t/weird-behavior-on-ssl-and-corruption-on-reload/212197 "2011-09-25T14:14:01Z")

</div>

Hello, I had a weird behavior in nginx, in which SSL connections were suddenly denied. It happened with no apparent reason. A reload of nginx seemed to have solved it, but on reload, error.log had this stack trace: \*…

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

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