# Server

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

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

---

## [How do i cofigure in mongrel's http\_request.rb](https://www.ruby-forum.com/t/how-do-i-cofigure-in-mongrels-http-request-rb/197290)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 0\
**Last updated:** [October 6, 2010, 10:47am UTC](https://www.ruby-forum.com/t/how-do-i-cofigure-in-mongrels-http-request-rb/197290 "2010-10-06T10:47:59Z")

</div>

Hi all , Am looking to configure mongrels’s http\_request.rb in order to delete mongrel temporary file after upload .This is what i would like to have def initialize(params, socket, dispatchers) @params = params @s…

---

## [Thread support in Nginx](https://www.ruby-forum.com/t/thread-support-in-nginx/196025)

<div class="topic-metadata">

**Author:** [@cachenewbie](https://www.ruby-forum.com/u/cachenewbie)\
**Replies:** 3\
**Last updated:** [October 5, 2010, 8:21pm UTC](https://www.ruby-forum.com/t/thread-support-in-nginx/196025 "2010-10-05T20:21:16Z")

</div>

Is there any plan to fix thread support in Nginx ? Are there significant drawbacks in running multiple threads in each Nginx process ? Posted at Nginx Forum:

---

## [Include problem in config](https://www.ruby-forum.com/t/include-problem-in-config/196021)

<div class="topic-metadata">

**Author:** [@friizer](https://www.ruby-forum.com/u/friizer)\
**Replies:** 0\
**Last updated:** [October 5, 2010, 4:05pm UTC](https://www.ruby-forum.com/t/include-problem-in-config/196021 "2010-10-05T16:05:26Z")

</div>

Hi! im migrating my nginx farm from 0.6.x → 0.7.x (ubuntu 8.04-\>10.x) with 0.6 version of nginx i used a simple “include /etc/nginx/ports.conf;” in nginx.conf in a “virtual” server directive to include a “listen 1…

---

## [Too many cache](https://www.ruby-forum.com/t/too-many-cache/196011)

<div class="topic-metadata">

**Author:** [@Avalon](https://www.ruby-forum.com/u/Avalon)\
**Replies:** 3\
**Last updated:** [October 5, 2010, 2:57pm UTC](https://www.ruby-forum.com/t/too-many-cache/196011 "2010-10-05T14:57:31Z")

</div>

Hello, I’v got an heavy problem of cache overflow… First I give you the problem in an image (by munin) : Like you can see, the cache is taking about 900 Mo ! The installation :\[list\] \[\] NGINX - 0.7.67 \[\] PHP - 5.…

---

## [Conditional auth\_basic](https://www.ruby-forum.com/t/conditional-auth-basic/196003)

<div class="topic-metadata">

**Author:** [@cedjo](https://www.ruby-forum.com/u/cedjo)\
**Replies:** 2\
**Last updated:** [October 5, 2010, 2:01pm UTC](https://www.ruby-forum.com/t/conditional-auth-basic/196003 "2010-10-05T14:01:19Z")

</div>

Hello, I have a special setup involving a wildcard : server { server\_name \*.domain.ltd access\_log /var/log/nginx/itnux\_acces.log main; error\_log /var/log/nginx/itnux\_error.log info; add\_h…

---

## [Rewrite server responses](https://www.ruby-forum.com/t/rewrite-server-responses/195899)

<div class="topic-metadata">

**Author:** [@Julien\_Vehent](https://www.ruby-forum.com/u/Julien_Vehent)\
**Replies:** 8\
**Last updated:** [October 5, 2010, 2:00pm UTC](https://www.ruby-forum.com/t/rewrite-server-responses/195899 "2010-10-05T14:00:08Z")

</div>

Hello list, I have a nginx server that runs on 127.0.0.1:5004 (behind a load balancer) and I’m having difficulties with HTTP responses. It seems that the application (in PHP5, Dotclear) sends a 302 when I try to conn…

---

## [Nginx cache for Wordpress](https://www.ruby-forum.com/t/nginx-cache-for-wordpress/196005)

<div class="topic-metadata">

**Author:** [@Simone\_fumagalli](https://www.ruby-forum.com/u/Simone_fumagalli)\
**Replies:** 0\
**Last updated:** [October 5, 2010, 10:32am UTC](https://www.ruby-forum.com/t/nginx-cache-for-wordpress/196005 "2010-10-05T10:32:56Z")

</div>

Hello to everybody. Just want to tell you that I’ve just published a plugin that allow you to manage Nginx cache from your Wordpress installation. Basically each time a post is published the plugin clear the cached v…

---

## [HACKERS. MUST read!](https://www.ruby-forum.com/t/hackers-must-read/196000)

<div class="topic-metadata">

**Author:** [@Hacked](https://www.ruby-forum.com/u/Hacked)\
**Replies:** 0\
**Last updated:** [October 5, 2010, 6:48am UTC](https://www.ruby-forum.com/t/hackers-must-read/196000 "2010-10-05T06:48:48Z")

</div>

THEY FUING HACKED MY EMAIL. NEVER TRUST THESE BASRDS!!! NOT COOL TO HACK OTHERS EMAIL! BIT\*\*ES!!! Posted at Nginx Forum:

---

## [Proxy\_cache\_bypass documentation?](https://www.ruby-forum.com/t/proxy-cache-bypass-documentation/195850)

<div class="topic-metadata">

**Author:** [@Dayo](https://www.ruby-forum.com/u/Dayo)\
**Replies:** 2\
**Last updated:** [October 4, 2010, 6:13pm UTC](https://www.ruby-forum.com/t/proxy-cache-bypass-documentation/195850 "2010-10-04T18:13:15Z")

</div>

I moved my installation from the old stable 0.7.x branch to the new stable 0.8.x and cannot proceed as I get an error message saying proxy\_cache\_bypass must be used along with proxy\_no\_cache since v0.8.46. However, it…

---

## [Found memory leakage in Mongrel](https://www.ruby-forum.com/t/found-memory-leakage-in-mongrel/195974)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 0\
**Last updated:** [October 4, 2010, 3:45pm UTC](https://www.ruby-forum.com/t/found-memory-leakage-in-mongrel/195974 "2010-10-04T15:45:08Z")

</div>

Hii ALL, Running ruby 1.8.6 (2007-09-24 patchlevel 111) \[i386-mswin32\],Mongerl 1.1.5. Scenario /Observation : While uploading some large files,i Found memory leakage in mongrel.I start uploading large file what happe…

---

## [Sort of nginx specific](https://www.ruby-forum.com/t/sort-of-nginx-specific/195946)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 2\
**Last updated:** [October 4, 2010, 2:12pm UTC](https://www.ruby-forum.com/t/sort-of-nginx-specific/195946 "2010-10-04T14:12:38Z")

</div>

Hi All, I’m setting up Nagios to run thorugh Nginx. I have the CGI wrapper working (yey). However, some nagios web based functions require access to a nagios command file (a pipe) in the nagios /var/rw directory. …

---

## [Running nagios on nginx -- I guess I need a cgi wrapper, any recommendations?](https://www.ruby-forum.com/t/running-nagios-on-nginx-i-guess-i-need-a-cgi-wrapper-any-recommendations/195931)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 5\
**Last updated:** [October 4, 2010, 10:40am UTC](https://www.ruby-forum.com/t/running-nagios-on-nginx-i-guess-i-need-a-cgi-wrapper-any-recommendations/195931 "2010-10-04T10:40:11Z")

</div>

Hi All, I didn’t realize that I needed a CGI wrapper for the nagios CGI scripts, oops… found this article: http://www.matejunkie.com/howto-let-nginx-serve-the-nagios-web-interface/ Before I go this route, any better…

---

## [Maximum number of file descriptors](https://www.ruby-forum.com/t/maximum-number-of-file-descriptors/195715)

<div class="topic-metadata">

**Author:** [@pablo\_platt](https://www.ruby-forum.com/u/pablo_platt)\
**Replies:** 7\
**Last updated:** [October 3, 2010, 4:20pm UTC](https://www.ruby-forum.com/t/maximum-number-of-file-descriptors/195715 "2010-10-03T16:20:36Z")

</div>

Hi I’m using nginx for long polling requests. Each user will have at least one hanging request in addition to requesting static files when needed. I understand that each connection needs a file descriptor. The defa…

---

## [Upstream server max\_fails and fail\_timeout question/discussion](https://www.ruby-forum.com/t/upstream-server-max-fails-and-fail-timeout-question-discussion/195865)

<div class="topic-metadata">

**Author:** [@rsawer](https://www.ruby-forum.com/u/rsawer)\
**Replies:** 1\
**Last updated:** [October 3, 2010, 1:32pm UTC](https://www.ruby-forum.com/t/upstream-server-max-fails-and-fail-timeout-question-discussion/195865 "2010-10-03T13:32:03Z")

</div>

Hi! I have a question about the impact of the max\_fails and fail\_timeout settings to the error pages which nginx is showing. First, the God created an upstream: upstream my\_upstream { server 192.168.104.58:81 max\_fa…

---

## [What's the simplest way to serve php files through an alias?](https://www.ruby-forum.com/t/whats-the-simplest-way-to-serve-php-files-through-an-alias/195927)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 10\
**Last updated:** [October 3, 2010, 6:51am UTC](https://www.ruby-forum.com/t/whats-the-simplest-way-to-serve-php-files-through-an-alias/195927 "2010-10-03T06:51:10Z")

</div>

we have a very simple configuration. server block with location block php is served through fastcgi and works fine would like to add something like this: location /nameofalias/ { alias /usr/local/nameofalias; } b…

---

## [What Does This Mean?](https://www.ruby-forum.com/t/what-does-this-mean/195929)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [October 3, 2010, 6:35am UTC](https://www.ruby-forum.com/t/what-does-this-mean/195929 "2010-10-03T06:35:22Z")

</div>

2010/10/02 18:55:43 \[error\] 13550#0: \*47 FastCGI sent in stderr: “PHP Parse error: syntax error, unexpected $end in /home/nginx/domains/domain.com/public/202-config/functions.php on line 229” while reading response he…

---

## [Make fails on nginx-0.8.49](https://www.ruby-forum.com/t/make-fails-on-nginx-0-8-49/195921)

<div class="topic-metadata">

**Author:** [@bluethundr](https://www.ruby-forum.com/u/bluethundr)\
**Replies:** 1\
**Last updated:** [October 2, 2010, 11:04pm UTC](https://www.ruby-forum.com/t/make-fails-on-nginx-0-8-49/195921 "2010-10-02T23:04:48Z")

</div>

Greetings I am attempting to compile nginx-0.8.49 with the upstream fair module. The configure script seems to run ok with the following options: #./configure --add-module=../upfair but when I run make it fails with t…

---

## [Make fails on nginx-0.8.49](https://www.ruby-forum.com/t/make-fails-on-nginx-0-8-49/195922)

<div class="topic-metadata">

**Author:** [@bluethundr](https://www.ruby-forum.com/u/bluethundr)\
**Replies:** 0\
**Last updated:** [October 2, 2010, 10:48pm UTC](https://www.ruby-forum.com/t/make-fails-on-nginx-0-8-49/195922 "2010-10-02T22:48:25Z")

</div>

Greetings I am attempting to compile nginx-0.8.49 with the upstream fair module. The configure script seems to run ok with the following options: #./configure --add-module=../upfair but when I run make it fails with t…

---

## [Oddmuse cgi though thttpd--\> localhost links](https://www.ruby-forum.com/t/oddmuse-cgi-though-thttpd-localhost-links/195920)

<div class="topic-metadata">

**Author:** [@Xan](https://www.ruby-forum.com/u/Xan)\
**Replies:** 0\
**Last updated:** [October 2, 2010, 10:48pm UTC](https://www.ruby-forum.com/t/oddmuse-cgi-though-thttpd-localhost-links/195920 "2010-10-02T22:48:25Z")

</div>

Hi, I follow http://wiki.nginx.org/ThttpdCGI for running oddmuse. This are my configurations: nginx: \[…\] location ~ .pl$ { proxy\_pass http://127.0.0.1:8082; #8080 → thttpd proxy\_set\_header X-Real-IP $remote\_addr…

---

## [WebSockets support in nginx?](https://www.ruby-forum.com/t/websockets-support-in-nginx/195905)

<div class="topic-metadata">

**Author:** [@Andreas\_RSSSSsdal](https://www.ruby-forum.com/u/Andreas_RSSSSsdal)\
**Replies:** 0\
**Last updated:** [October 2, 2010, 2:05pm UTC](https://www.ruby-forum.com/t/websockets-support-in-nginx/195905 "2010-10-02T14:05:10Z")

</div>

Hello! I would really like to see support for HTML5 WebSockets in nginx. However, in the latest version this isn’t supported yet, all I get is 404 errors. I’ve also read several places that nginx doesn’t support WebS…

---

## [Proxy Cache 502 Problem](https://www.ruby-forum.com/t/proxy-cache-502-problem/195856)

<div class="topic-metadata">

**Author:** [@gsyi](https://www.ruby-forum.com/u/gsyi)\
**Replies:** 1\
**Last updated:** [October 2, 2010, 7:13am UTC](https://www.ruby-forum.com/t/proxy-cache-502-problem/195856 "2010-10-02T07:13:11Z")

</div>

WeÂ´re trying to cache all of our JS files using Proxy Cache from HttpProxyModule but somehow we always get confused responses from the server, sometimes we get a 502 error and sometimes we get the cached JS files… he…

---

## [Test.php being downloaded instead of displayed](https://www.ruby-forum.com/t/test-php-being-downloaded-instead-of-displayed/195894)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [October 2, 2010, 4:35am UTC](https://www.ruby-forum.com/t/test-php-being-downloaded-instead-of-displayed/195894 "2010-10-02T04:35:12Z")

</div>

I set up a simple test.php on my server with \<?php phpinfo(); ?\> but it seems like when i browse to the file its being downloaded instead of displayed in the browser window. does anyone know how i can fix this?

---

## [Understanding URL rewrite in sites-available](https://www.ruby-forum.com/t/understanding-url-rewrite-in-sites-available/195891)

<div class="topic-metadata">

**Author:** [@ashrobertent](https://www.ruby-forum.com/u/ashrobertent)\
**Replies:** 2\
**Last updated:** [October 2, 2010, 3:46am UTC](https://www.ruby-forum.com/t/understanding-url-rewrite-in-sites-available/195891 "2010-10-02T03:46:02Z")

</div>

Okay, I am using CodeIgniter which likes to use URL rewrites. I can turn it off, but don’t want to. I was able to deny direct access to index.php and at one point I was able to have the URL rewrite accept index.php/no…

---

## [Is there any way to avoid fork() for debugging?](https://www.ruby-forum.com/t/is-there-any-way-to-avoid-fork-for-debugging/195879)

<div class="topic-metadata">

**Author:** [@Fabio\_Kaminski](https://www.ruby-forum.com/u/Fabio_Kaminski)\
**Replies:** 4\
**Last updated:** [October 1, 2010, 8:30pm UTC](https://www.ruby-forum.com/t/is-there-any-way-to-avoid-fork-for-debugging/195879 "2010-10-01T20:30:03Z")

</div>

Is there any way to avoid fork() for debugging, like the -X option from apache? i’ve tried to set workers to 0 on config… just the master process alright… but there’s still a fork… how you guys use gdb? Thanks Fab…

---

## [Bug report!](https://www.ruby-forum.com/t/bug-report/195824)

<div class="topic-metadata">

**Author:** [@with4u](https://www.ruby-forum.com/u/with4u)\
**Replies:** 1\
**Last updated:** [October 1, 2010, 2:18pm UTC](https://www.ruby-forum.com/t/bug-report/195824 "2010-10-01T14:18:17Z")

</div>

fastcgi\_cache can not be used in the second virtual host. fastcgi\_cache can not be used twice.(The first valid second invalid!) keys\_zone=all\_cache:10m —\>this “all\_cache” can not use “\_”. 2010-09-26 a7a2

---

## [%2F problem in query string](https://www.ruby-forum.com/t/2f-problem-in-query-string/195860)

<div class="topic-metadata">

**Author:** [@Davide\_DSAmico](https://www.ruby-forum.com/u/Davide_DSAmico)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 12:32pm UTC](https://www.ruby-forum.com/t/2f-problem-in-query-string/195860 "2010-10-01T12:32:55Z")

</div>

Hi, I’ve this location stanza: location ~ .(gif|jpg|png)$ { rewrite ^/images/s/(.).jpg$ /img.php?f=s&e=$1 break; rewrite ^/images/t/(.).jpg$ /img.php?f=t&e=$1 break; proxy\_pass http://127.0.0.1:80; proxy\_cache BACKE…

---

## [Keep getting 502 Bad Gateway](https://www.ruby-forum.com/t/keep-getting-502-bad-gateway/195848)

<div class="topic-metadata">

**Author:** [@illusime](https://www.ruby-forum.com/u/illusime)\
**Replies:** 1\
**Last updated:** [October 1, 2010, 7:55am UTC](https://www.ruby-forum.com/t/keep-getting-502-bad-gateway/195848 "2010-10-01T07:55:31Z")

</div>

Hi, I have set up a drupal site using nginx. But after a few weeks it will get 502 bad gateway error on the site. I’m still at the testing stage and my site doesn’t receive any traffic but keeps going down. After I r…

---

## [General protection 64bit](https://www.ruby-forum.com/t/general-protection-64bit/195820)

<div class="topic-metadata">

**Author:** [@frankatchoopa](https://www.ruby-forum.com/u/frankatchoopa)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 7:24pm UTC](https://www.ruby-forum.com/t/general-protection-64bit/195820 "2010-09-30T19:24:08Z")

</div>

Hello Nginx Mailing list, As of recent seeing errors filling up my dmesg lately was wondering if anyone has seen something similar to this in there dmesg nginx\[21958\] general protection rip:408caa rsp:7fffe6203850 err…

---

## [Logging Connection termination reason](https://www.ruby-forum.com/t/logging-connection-termination-reason/195804)

<div class="topic-metadata">

**Author:** [@Georg](https://www.ruby-forum.com/u/Georg)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 12:47pm UTC](https://www.ruby-forum.com/t/logging-connection-termination-reason/195804 "2010-09-30T12:47:48Z")

</div>

Hi, i do have problems with some clients downloading a adobe flex rsl file (application/x-swz) - I see a lot of requests with different/invalid $body\_bytes\_sent values - however the file in the zone cache directory i…

---

## [Proxy\_cache: Activity vs. Validity](https://www.ruby-forum.com/t/proxy-cache-activity-vs-validity/195744)

<div class="topic-metadata">

**Author:** [@janedenone](https://www.ruby-forum.com/u/janedenone)\
**Replies:** 1\
**Last updated:** [September 30, 2010, 10:58am UTC](https://www.ruby-forum.com/t/proxy-cache-activity-vs-validity/195744 "2010-09-30T10:58:55Z")

</div>

Hi, I am new to nginx (and to caching proxies), and I’d like to make sure I use the Proxy module correctly. As far as I understand, the following directive proxy\_cache\_path /data/nginx/cache/one levels=1 keys\_zo…

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

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