# Server

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

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

---

## [ANNOUNCE: nginx 0.7.2 for Windows (2000, XP, Vista) (win32)](https://www.ruby-forum.com/t/announce-nginx-0-7-2-for-windows-2000-xp-vista-win32/140605)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [June 16, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/announce-nginx-0-7-2-for-windows-2000-xp-vista-win32/140605 "2008-06-16T18:55:51Z")

</div>

Announcement here; Feedback is always welcome: http://www.kevinworthington.com/index.php/2008/06/16/announcing-nginx-072-for-windows-win32/ Download nginx/0.7.2-win32 here: http://www.kevinworthington.com/nginx/win32/ …

---

## [Geza Tendai/NB/BII is out of the office](https://www.ruby-forum.com/t/geza-tendai-nb-bii-is-out-of-the-office/140579)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 16, 2008, 1:21pm UTC](https://www.ruby-forum.com/t/geza-tendai-nb-bii-is-out-of-the-office/140579 "2008-06-16T13:21:49Z")

</div>

I will be out of the office starting 06/16/2008 and will not return until 06/28/2008. I will respond to your message when I return. The server made the following annotations This message contains information that…

---

## [Apache rewrites with mongrel](https://www.ruby-forum.com/t/apache-rewrites-with-mongrel/140571)

<div class="topic-metadata">

**Author:** [@der\_guido](https://www.ruby-forum.com/u/der_guido)\
**Replies:** 3\
**Last updated:** [June 16, 2008, 1:01pm UTC](https://www.ruby-forum.com/t/apache-rewrites-with-mongrel/140571 "2008-06-16T13:01:46Z")

</div>

IÂ´m knew to rewrites on apache in combination with mongrelcluster. ItÂ´s urgend for me, because the server has an loadaverage about 10 :-((((( Ok so IÂ´m using 3 mongrel-server on an mongrelcluster. The Loadbalancer …

---

## [Nginx-0.7.2](https://www.ruby-forum.com/t/nginx-0-7-2/140568)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [June 16, 2008, 11:19am UTC](https://www.ruby-forum.com/t/nginx-0-7-2/140568 "2008-06-16T11:19:59Z")

</div>

Changes with nginx 0.7.2 16 Jun 2008 \*) Feature: now nginx supports EDH key exchange ciphers. \*) Feature: the "ssl\_dhparam" directive. \*) Feature: the $ssl\_client\_cert variable…

---

## [Proxy\_buffering for file uploads](https://www.ruby-forum.com/t/proxy-buffering-for-file-uploads/140564)

<div class="topic-metadata">

**Author:** [@Rapsey](https://www.ruby-forum.com/u/Rapsey)\
**Replies:** 2\
**Last updated:** [June 16, 2008, 11:09am UTC](https://www.ruby-forum.com/t/proxy-buffering-for-file-uploads/140564 "2008-06-16T11:09:58Z")

</div>

I just noticed proxy\_buffering only works for file downloads, but not uploads. Is there a way to get it to work for uploads? thank you Sergej

---

## [Nginx fails to build on sparc with gcc 4.3](https://www.ruby-forum.com/t/nginx-fails-to-build-on-sparc-with-gcc-4-3/140555)

<div class="topic-metadata">

**Author:** [@Fabio\_Tranchitella](https://www.ruby-forum.com/u/Fabio_Tranchitella)\
**Replies:** 0\
**Last updated:** [June 16, 2008, 7:33am UTC](https://www.ruby-forum.com/t/nginx-fails-to-build-on-sparc-with-gcc-4-3/140555 "2008-06-16T07:33:01Z")

</div>

Hello all, I’m one of the Debian maintainers of nginx; after switching from gcc 4.2 to gcc 4.3 on sparc, we can’t compile anymore nginx on that architecture. More details can be found here: http://bugs.debian.org/c…

---

## [Mod\_rails aka mod\_rack aka mod\_ruby](https://www.ruby-forum.com/t/mod-rails-aka-mod-rack-aka-mod-ruby/139622)

<div class="topic-metadata">

**Author:** [@MichaSSSSSJaszczyk](https://www.ruby-forum.com/u/MichaSSSSSJaszczyk)\
**Replies:** 32\
**Last updated:** [June 16, 2008, 4:49am UTC](https://www.ruby-forum.com/t/mod-rails-aka-mod-rack-aka-mod-ruby/139622 "2008-06-16T04:49:42Z")

</div>

Hi guys, I did a little research on how Nginx supports Ruby/Rails and if I’m right, you can only do proxy or FastCGI to make it working. So I thought… There’s this mod\_wsgi module for Python apps which I have recentl…

---

## [A problem with](https://www.ruby-forum.com/t/a-problem-with/140508)

<div class="topic-metadata">

**Author:** [@baalchina](https://www.ruby-forum.com/u/baalchina)\
**Replies:** 3\
**Last updated:** [June 16, 2008, 4:15am UTC](https://www.ruby-forum.com/t/a-problem-with/140508 "2008-06-16T04:15:48Z")

</div>

Hello everyone, I have a problem with anti leech config my config file, like this: location / { valid\_referers none blocked bbs.mysite.com \*.mysite.com; if ($invalid\_referer) { return 403; } …

---

## [Igor - are you ignoring my emails? :)](https://www.ruby-forum.com/t/igor-are-you-ignoring-my-emails/140414)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 9\
**Last updated:** [June 15, 2008, 9:53am UTC](https://www.ruby-forum.com/t/igor-are-you-ignoring-my-emails/140414 "2008-06-15T09:53:45Z")

</div>

I keep asking about mixing auth and fastcgi. I want /admin/ and everything below it protected. However, if user goes to /admin/foo.php directly, it skips that location block and matches the fastcgi location block for …

---

## [Tell me your feature request about nginx](https://www.ruby-forum.com/t/tell-me-your-feature-request-about-nginx/140331)

<div class="topic-metadata">

**Author:** [@MichaSSSSSJaszczyk](https://www.ruby-forum.com/u/MichaSSSSSJaszczyk)\
**Replies:** 29\
**Last updated:** [June 15, 2008, 1:49am UTC](https://www.ruby-forum.com/t/tell-me-your-feature-request-about-nginx/140331 "2008-06-15T01:49:24Z")

</div>

Hi, It’s me again, the mod\_rails/mod\_ruby/mod\_rack guy :). As you may remember, I’m a CS student looking for a subject for my masters thesis :). I had this great idea about making mod\_r\* for Nginx, but it turned out …

---

## [Log file rotation script](https://www.ruby-forum.com/t/log-file-rotation-script/139915)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 7\
**Last updated:** [June 14, 2008, 9:34pm UTC](https://www.ruby-forum.com/t/log-file-rotation-script/139915 "2008-06-14T21:34:46Z")

</div>

Hi - does anyone have a log file rotation script for nginx they can share? Basically just looking for something simple I can set up in cron once a day that will tell nginx to roll the log file and set its file name to…

---

## [Nginx and ephemeral Diffie-Hellman keys](https://www.ruby-forum.com/t/nginx-and-ephemeral-diffie-hellman-keys/140349)

<div class="topic-metadata">

**Author:** [@jauderho](https://www.ruby-forum.com/u/jauderho)\
**Replies:** 16\
**Last updated:** [June 14, 2008, 5:15pm UTC](https://www.ruby-forum.com/t/nginx-and-ephemeral-diffie-hellman-keys/140349 "2008-06-14T17:15:09Z")

</div>

I’ve been fighting with this all do so hopefully someone can help shed some light. I have a site configured to use SSL and it current does successfully negotiate SSL. However, I am not able for the life of me to get n…

---

## [No-www problem](https://www.ruby-forum.com/t/no-www-problem/140358)

<div class="topic-metadata">

**Author:** [@Joe\_Jacobs](https://www.ruby-forum.com/u/Joe_Jacobs)\
**Replies:** 3\
**Last updated:** [June 13, 2008, 3:20pm UTC](https://www.ruby-forum.com/t/no-www-problem/140358 "2008-06-13T15:20:30Z")

</div>

I’ve got a weird problem with my nginx install. I cannot access any site at all without the www prefix. It’s probably my stupidity but I was wondering if anyone could help point out what my problem is. I’ve installed…

---

## [Mongrel won't start ... mongrel\_rails (MissingSourceFile)](https://www.ruby-forum.com/t/mongrel-wont-start-mongrel-rails-missingsourcefile/140318)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [June 13, 2008, 11:43am UTC](https://www.ruby-forum.com/t/mongrel-wont-start-mongrel-rails-missingsourcefile/140318 "2008-06-13T11:43:47Z")

</div>

Hi All, I’m a newbie and I’m soooo confused at the moment! Here’s my setup: I’ve installed Ruby 1.8 on an Ubuntu 7.10 platform. I used apt to install that. I downloaded rubygems\_1.1.1 and installed that (tar -x…

---

## [Nginx + fair load balancer patch looping](https://www.ruby-forum.com/t/nginx-fair-load-balancer-patch-looping/130554)

<div class="topic-metadata">

**Author:** [@san](https://www.ruby-forum.com/u/san)\
**Replies:** 16\
**Last updated:** [June 13, 2008, 9:09am UTC](https://www.ruby-forum.com/t/nginx-fair-load-balancer-patch-looping/130554 "2008-06-13T09:09:36Z")

</div>

An Nginx instance suddenly started spewing the following to its error log at a rate of about 1GB/minute, and using a bit more CPU than usual: 2008/02/29 10:33:47 \[error\] 16875#0: \*126309461 upstream prematurely close…

---

## [Re: tell me your feature request about nginx](https://www.ruby-forum.com/t/re-tell-me-your-feature-request-about-nginx/140339)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 0\
**Last updated:** [June 13, 2008, 2:07am UTC](https://www.ruby-forum.com/t/re-tell-me-your-feature-request-about-nginx/140339 "2008-06-13T02:07:48Z")

</div>

We’ve been through this a few times. nginx decides when to take an upstream server offline based on the configuration settings for timeouts etc. monit has no idea about this. the server could be fine as far as moni…

---

## [Re: tell me your feature request about nginx](https://www.ruby-forum.com/t/re-tell-me-your-feature-request-about-nginx/140336)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 2\
**Last updated:** [June 13, 2008, 1:42am UTC](https://www.ruby-forum.com/t/re-tell-me-your-feature-request-about-nginx/140336 "2008-06-13T01:42:39Z")

</div>

Hi Mike, We could REALLY use a way to get the status of upstream servers - in particular a notification that nginx has declared an upstream server (as used in load balancing) offline, and a notification that nginx has …

---

## [Nginx health checks](https://www.ruby-forum.com/t/nginx-health-checks/140087)

<div class="topic-metadata">

**Author:** [@barrysfarm](https://www.ruby-forum.com/u/barrysfarm)\
**Replies:** 20\
**Last updated:** [June 12, 2008, 12:41pm UTC](https://www.ruby-forum.com/t/nginx-health-checks/140087 "2008-06-12T12:41:02Z")

</div>

Howdy, First let me say how happy we are with Nginx :slight\_smile: Yesterday was a pretty big traffic day for us, about 36 million dynamic pageviews peaking at about 15k requests/sec. Couldn’t have done it without N…

---

## [Question regarding rewrite from http to https](https://www.ruby-forum.com/t/question-regarding-rewrite-from-http-to-https/140158)

<div class="topic-metadata">

**Author:** [@Mansoor\_P](https://www.ruby-forum.com/u/Mansoor_P)\
**Replies:** 2\
**Last updated:** [June 12, 2008, 8:38am UTC](https://www.ruby-forum.com/t/question-regarding-rewrite-from-http-to-https/140158 "2008-06-12T08:38:45Z")

</div>

Hello, I am using NGINX as an HTTP proxy, and in some cases, I need to rewrite all requests from http:// to https:// My proxy configuration has two server {} blocks, one with http, and one with https So if my sample…

---

## [Re: Why not ignore stale PID files?](https://www.ruby-forum.com/t/re-why-not-ignore-stale-pid-files/140116)

<div class="topic-metadata">

**Author:** [@foobarwidget](https://www.ruby-forum.com/u/foobarwidget)\
**Replies:** 6\
**Last updated:** [June 12, 2008, 1:47am UTC](https://www.ruby-forum.com/t/re-why-not-ignore-stale-pid-files/140116 "2008-06-12T01:47:33Z")

</div>

Zed A. Shaw wrote: That would be the ideal situation, but Ruby doesn’t have good enough process management APIs to do this portably. Erik Hetzner: … but not the edge case where a process is running, with the same…

---

## [Nginx - TCP balancer](https://www.ruby-forum.com/t/nginx-tcp-balancer/140203)

<div class="topic-metadata">

**Author:** [@grymuz](https://www.ruby-forum.com/u/grymuz)\
**Replies:** 6\
**Last updated:** [June 11, 2008, 11:50pm UTC](https://www.ruby-forum.com/t/nginx-tcp-balancer/140203 "2008-06-11T23:50:42Z")

</div>

Hi all, I have question about Nginx “features”. Is it possible to run Nginx as a transparent load balancer (which works on TCP layer, not HTTP)?? My case is that I have 5 of backends (strong, 4 core machines) which c…

---

## [Multiple server\_name entries not working with FastCGI?](https://www.ruby-forum.com/t/multiple-server-name-entries-not-working-with-fastcgi/140096)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 3\
**Last updated:** [June 11, 2008, 11:45pm UTC](https://www.ruby-forum.com/t/multiple-server-name-entries-not-working-with-fastcgi/140096 "2008-06-11T23:45:25Z")

</div>

I probably just overlooked something in the documentation… I have the following config (sans less relevant things): server { server\_name test.domain.com test; location / { fastcgi\_pass 127.0.0.1:10001; } } If I b…

---

## [Mongrel multipart HTTP response (not request)](https://www.ruby-forum.com/t/mongrel-multipart-http-response-not-request/140197)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 0\
**Last updated:** [June 11, 2008, 8:19pm UTC](https://www.ruby-forum.com/t/mongrel-multipart-http-response-not-request/140197 "2008-06-11T20:19:51Z")

</div>

Hi, Is this possible to send a Multipart response on Mongrel ? How would I do that in the handler? Thanks Emmanuel

---

## ["upstream sent too big header"](https://www.ruby-forum.com/t/upstream-sent-too-big-header/140159)

<div class="topic-metadata">

**Author:** [@BjSSSSrn\_Keil](https://www.ruby-forum.com/u/BjSSSSrn_Keil)\
**Replies:** 2\
**Last updated:** [June 11, 2008, 3:59pm UTC](https://www.ruby-forum.com/t/upstream-sent-too-big-header/140159 "2008-06-11T15:59:24Z")

</div>

Hello, I am having a problem with the headers coming back from my upstream - not on all but on a lot requests. How can I make the space reserved for those larger? I tried playing around with the client\_header\_buffer\_…

---

## [Debug Http 400 Errors](https://www.ruby-forum.com/t/debug-http-400-errors/140066)

<div class="topic-metadata">

**Author:** [@Davy\_C](https://www.ruby-forum.com/u/Davy_C)\
**Replies:** 2\
**Last updated:** [June 11, 2008, 7:03am UTC](https://www.ruby-forum.com/t/debug-http-400-errors/140066 "2008-06-11T07:03:20Z")

</div>

I’m getting some 400 errors in my logs, and I’m wondering if there is a log variable which will tell me the attempted url that was trying to be accessed. I have tried both $request and $request\_uri, but both look li…

---

## [Re: Nginx health checks](https://www.ruby-forum.com/t/re-nginx-health-checks/140122)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 0\
**Last updated:** [June 11, 2008, 2:15am UTC](https://www.ruby-forum.com/t/re-nginx-health-checks/140122 "2008-06-11T02:15:03Z")

</div>

This topic seems to come up from time to time. I was very surprised when I moved to nginx to find out that it is very limited in its self-monitoring / restoration approach when used as a load balancer. Nginx is fantas…

---

## ["Bad Gateway" problems](https://www.ruby-forum.com/t/bad-gateway-problems/140045)

<div class="topic-metadata">

**Author:** [@BjSSSSrn\_Keil](https://www.ruby-forum.com/u/BjSSSSrn_Keil)\
**Replies:** 1\
**Last updated:** [June 11, 2008, 1:25am UTC](https://www.ruby-forum.com/t/bad-gateway-problems/140045 "2008-06-11T01:25:16Z")

</div>

Hello, I’ve been trying out nginx as reverse proxy, SSL wrapper and load balancer on our internal site for now. The problem I have is that if some backend servers are down I keep getting “Bad Gateway” errors, even if…

---

## [Am I going crazy? Mixing auth and PHP](https://www.ruby-forum.com/t/am-i-going-crazy-mixing-auth-and-php/139339)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 4\
**Last updated:** [June 10, 2008, 8:46pm UTC](https://www.ruby-forum.com/t/am-i-going-crazy-mixing-auth-and-php/139339 "2008-06-10T20:46:47Z")

</div>

http://foo.com/reports/ - prompts for auth like it should http://foo.com/reports/report.php - bypasses http auth the .php is being matched and the other location is ignored completely? server { listen …

---

## [Re: Log file rotation script](https://www.ruby-forum.com/t/re-log-file-rotation-script/140065)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 0\
**Last updated:** [June 10, 2008, 3:19pm UTC](https://www.ruby-forum.com/t/re-log-file-rotation-script/140065 "2008-06-10T15:19:34Z")

</div>

nginx still writes to the (renamed) old file Ahh, that’s the part I didn’t realize. I thought once it was renamed no new log entries would be written there. Glad to know this! AmI missing something or using logrot…

---

## [Double slash in my url](https://www.ruby-forum.com/t/double-slash-in-my-url/139919)

<div class="topic-metadata">

**Author:** [@leandre\_dupont](https://www.ruby-forum.com/u/leandre_dupont)\
**Replies:** 2\
**Last updated:** [June 10, 2008, 2:38pm UTC](https://www.ruby-forum.com/t/double-slash-in-my-url/139919 "2008-06-10T14:38:52Z")

</div>

Hello, I have little problem witch double (or more) // in my url Ex : www.example.com//toto = 200 Ex : www.example.com/tata//lolo/bobo/ = 200 Ex : www.example.com/tata/lolo///bobo/ = 200 Ect. Im search solution for…

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

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