# Server

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

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

---

## [Passing/forwarding X\_PASSWORD header from client to mongrel](https://www.ruby-forum.com/t/passing-forwarding-x-password-header-from-client-to-mongrel/134416)

<div class="topic-metadata">

**Author:** [@xleqx](https://www.ruby-forum.com/u/xleqx)\
**Replies:** 1\
**Last updated:** [April 10, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/passing-forwarding-x-password-header-from-client-to-mongrel/134416 "2008-04-10T18:58:53Z")

</div>

Hey all, I’ve run into a problem with my beloved nginx. I’m putting together a back-office payment gateway, which serves requests RESTfully to ActiveResource on various front-end applications. Each ActiveResource req…

---

## [Problem with variables in the proxy definition?](https://www.ruby-forum.com/t/problem-with-variables-in-the-proxy-definition/134425)

<div class="topic-metadata">

**Author:** [@ewildgoose](https://www.ruby-forum.com/u/ewildgoose)\
**Replies:** 0\
**Last updated:** [April 10, 2008, 6:32pm UTC](https://www.ruby-forum.com/t/problem-with-variables-in-the-proxy-definition/134425 "2008-04-10T18:32:02Z")

</div>

Hi, have come across a problem with using variables. Can anyone confirm this is a bug? For my rails app I reverse proxy to mongrel and this works ok: if (!-f $request\_filename) { proxy\_pass http://mongrel\_clust…

---

## [Configuration tuning for best performance with upstream nodes down](https://www.ruby-forum.com/t/configuration-tuning-for-best-performance-with-upstream-nodes-down/134275)

<div class="topic-metadata">

**Author:** [@denis](https://www.ruby-forum.com/u/denis)\
**Replies:** 3\
**Last updated:** [April 9, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/configuration-tuning-for-best-performance-with-upstream-nodes-down/134275 "2008-04-09T16:15:57Z")

</div>

Hi, I’ve had some experience with Nginx working as a reverse proxy loadbalancer only for multiple apache backends. For most of the time performance was excellent. However during a few situations where backends would …

---

## [Nginx in a chrooted environment](https://www.ruby-forum.com/t/nginx-in-a-chrooted-environment/134242)

<div class="topic-metadata">

**Author:** [@Amer\_Shah](https://www.ruby-forum.com/u/Amer_Shah)\
**Replies:** 0\
**Last updated:** [April 9, 2008, 8:14am UTC](https://www.ruby-forum.com/t/nginx-in-a-chrooted-environment/134242 "2008-04-09T08:14:01Z")

</div>

Can anybody point me to a document or some tips on running nginx in a chrooted environment in FreeBsd ?

---

## [Re: Mongrel performance study](https://www.ruby-forum.com/t/re-mongrel-performance-study/134214)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 11:37pm UTC](https://www.ruby-forum.com/t/re-mongrel-performance-study/134214 "2008-04-08T23:37:57Z")

</div>

On Mon, 07 Apr 2008 23:14:47 -0700 http://www.misuse.org/science/2008/04/07/thin-ruby-on-rails-nginx-fair-proxy-performance-testing/ Yay! You mentioned standard deviations. Bad! You didn’t give any. That’d help peo…

---

## [XSLT & hello](https://www.ruby-forum.com/t/xslt-hello/134152)

<div class="topic-metadata">

**Author:** [@Chris\_Farmiloe](https://www.ruby-forum.com/u/Chris_Farmiloe)\
**Replies:** 17\
**Last updated:** [April 8, 2008, 7:00pm UTC](https://www.ruby-forum.com/t/xslt-hello/134152 "2008-04-08T19:00:53Z")

</div>

Hi, I’ve recently been thinking about simplifying my future web applications by making the back ends only speak XML … and using XSL to present the information in browsers. Although the browser world appears to be read…

---

## [Mongrel performance study](https://www.ruby-forum.com/t/mongrel-performance-study/134145)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 3\
**Last updated:** [April 8, 2008, 3:02pm UTC](https://www.ruby-forum.com/t/mongrel-performance-study/134145 "2008-04-08T15:02:30Z")

</div>

Hi mongrelians, I found myself with an unloaded full production server recently which presented an opportunity to run some performance tests against Mongrel and nginx. I thought this list might have some interest in t…

---

## [FreeBsd 7](https://www.ruby-forum.com/t/freebsd-7/134098)

<div class="topic-metadata">

**Author:** [@Amer\_Shah](https://www.ruby-forum.com/u/Amer_Shah)\
**Replies:** 5\
**Last updated:** [April 8, 2008, 8:58am UTC](https://www.ruby-forum.com/t/freebsd-7/134098 "2008-04-08T08:58:48Z")

</div>

Hello guys. I’m currently running nginx 0.6.29 on FreeBsd 6 32 bit version. I’m planning of moving onto FreeBsd 7 64 bit version. I was wondering if anybody on this list has any experience with running nginx on FreeB…

---

## [Nginx and rails configuration question](https://www.ruby-forum.com/t/nginx-and-rails-configuration-question/133680)

<div class="topic-metadata">

**Author:** [@coriordan](https://www.ruby-forum.com/u/coriordan)\
**Replies:** 6\
**Last updated:** [April 7, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/nginx-and-rails-configuration-question/133680 "2008-04-07T17:43:09Z")

</div>

Hi, I’m trying to configure nginx to serve multiple rails applications, each from its own path. app1 is accessible from ‘/’ and app2 is accessible from ‘/app2’. In my configuration I’ve defined two location’s as fol…

---

## [Nginx session-stickiness](https://www.ruby-forum.com/t/nginx-session-stickiness/133773)

<div class="topic-metadata">

**Author:** [@Pavel\_Georgiev](https://www.ruby-forum.com/u/Pavel_Georgiev)\
**Replies:** 13\
**Last updated:** [April 7, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/nginx-session-stickiness/133773 "2008-04-07T15:17:43Z")

</div>

Hi, Is there any way to achieve session stickiness via Nginx proxying? I\`ve read about ip\_hash but this is not going to work if one of the backend servers fails, right? Clients that should go to it wil lnot be served …

---

## [No more mongrel on leopard!](https://www.ruby-forum.com/t/no-more-mongrel-on-leopard/133998)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 4\
**Last updated:** [April 7, 2008, 10:39am UTC](https://www.ruby-forum.com/t/no-more-mongrel-on-leopard/133998 "2008-04-07T10:39:11Z")

</div>

Hi! I’ve got a problem: just changed my mac, now I run leopard. Just updated original gems to rails 2.0.2 and cleaned up each of them. But, when I run script/server, there’s no more mongrel. It starts up webrick! I wa…

---

## [Subject errata](https://www.ruby-forum.com/t/subject-errata/134042)

<div class="topic-metadata">

**Author:** [@Buzzz](https://www.ruby-forum.com/u/Buzzz)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 9:52am UTC](https://www.ruby-forum.com/t/subject-errata/134042 "2008-04-07T09:52:31Z")

</div>

Sorry for the wrong subject in my previous mail, i’ve created a totally brand new thread. Thx, Davide

---

## [Config file for only static files](https://www.ruby-forum.com/t/config-file-for-only-static-files/133935)

<div class="topic-metadata">

**Author:** [@Amer](https://www.ruby-forum.com/u/Amer)\
**Replies:** 21\
**Last updated:** [April 6, 2008, 12:38pm UTC](https://www.ruby-forum.com/t/config-file-for-only-static-files/133935 "2008-04-06T12:38:01Z")

</div>

Hello guys. I wanted to run a particular configuration by you guys to get your thoughts. I’m moving from lighttpd to nginx. First a little bit of background. The site is a single server running FreeBsd. It’s a Dual…

---

## [Nginx breaks 1 million domain mark](https://www.ruby-forum.com/t/nginx-breaks-1-million-domain-mark/133983)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 1\
**Last updated:** [April 6, 2008, 2:42am UTC](https://www.ruby-forum.com/t/nginx-breaks-1-million-domain-mark/133983 "2008-04-06T02:42:18Z")

</div>

Congrats! http://survey.netcraft.com/Reports/200804/ Cliff

---

## [Beginning with nginx](https://www.ruby-forum.com/t/beginning-with-nginx/133942)

<div class="topic-metadata">

**Author:** [@ram](https://www.ruby-forum.com/u/ram)\
**Replies:** 1\
**Last updated:** [April 5, 2008, 2:37pm UTC](https://www.ruby-forum.com/t/beginning-with-nginx/133942 "2008-04-05T14:37:44Z")

</div>

Hi, I have been trying to look for a good proxy server in order to prepare to scale my POP/IMAP services For 40k pop users with around 700 simultaneous connections we are having a single cyrus server, and that is not…

---

## [Question about rewrite](https://www.ruby-forum.com/t/question-about-rewrite/133943)

<div class="topic-metadata">

**Author:** [@Sasa\_Ugrenovic](https://www.ruby-forum.com/u/Sasa_Ugrenovic)\
**Replies:** 8\
**Last updated:** [April 5, 2008, 11:52am UTC](https://www.ruby-forum.com/t/question-about-rewrite/133943 "2008-04-05T11:52:03Z")

</div>

Hello, I moved one site from apache to nginx, and I must say… Im very satisfied. Wont get into details about that now, just to say - thanks on the cool project. Anyway, to get to the point. Im running mostly mobile…

---

## [Rewrite problem after upgrade to 0.6.29](https://www.ruby-forum.com/t/rewrite-problem-after-upgrade-to-0-6-29/133857)

<div class="topic-metadata">

**Author:** [@Raul\_Rivero](https://www.ruby-forum.com/u/Raul_Rivero)\
**Replies:** 0\
**Last updated:** [April 4, 2008, 1:13pm UTC](https://www.ruby-forum.com/t/rewrite-problem-after-upgrade-to-0-6-29/133857 "2008-04-04T13:13:58Z")

</div>

Hi all, Sorry if this issue had been reported before but this one is my first week in the list. We have upgraded from NGINX 0.6.25 to 0.6.29 and we have a big problem with our rewrite rules. For this trial, our conf…

---

## [Problem with vhosts](https://www.ruby-forum.com/t/problem-with-vhosts/133790)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 1\
**Last updated:** [April 4, 2008, 12:07pm UTC](https://www.ruby-forum.com/t/problem-with-vhosts/133790 "2008-04-04T12:07:07Z")

</div>

I want to use 2 domains www.domain1.com and www.domain2.com. When i go to www.domain2.com it goes to domain1.com I have included my nginx.conf (upstream = mongrel) I donÂ´t understand whatÂ´s wrong… user and group …

---

## [Epoll on older glibc](https://www.ruby-forum.com/t/epoll-on-older-glibc/133786)

<div class="topic-metadata">

**Author:** [@Thanos\_Chatziathana](https://www.ruby-forum.com/u/Thanos_Chatziathana)\
**Replies:** 0\
**Last updated:** [April 3, 2008, 4:38pm UTC](https://www.ruby-forum.com/t/epoll-on-older-glibc/133786 "2008-04-03T16:38:37Z")

</div>

I’ve run accross a linux server based off glibc-2.2.5 and running a 2.6(.16.60) kernel. epoll wasn’t a part of glibc back in those days, instead there was libepoll which pretty much works the same way. I’ve run into …

---

## [Benefits of front-end vs. direct serving](https://www.ruby-forum.com/t/benefits-of-front-end-vs-direct-serving/133732)

<div class="topic-metadata">

**Author:** [@riffola](https://www.ruby-forum.com/u/riffola)\
**Replies:** 5\
**Last updated:** [April 3, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/benefits-of-front-end-vs-direct-serving/133732 "2008-04-03T15:49:31Z")

</div>

What are the benefits of running Nginx as a front-end for Apache vs. running PHP, Django, etc via FastCGI directly with Nginx? Especially in terms of a VPS limited to 256MB - 512MB of RAM. Sorry if this a very basic q…

---

## [Limit connections to backend](https://www.ruby-forum.com/t/limit-connections-to-backend/133776)

<div class="topic-metadata">

**Author:** [@PSSSSl-Kristian\_Ham](https://www.ruby-forum.com/u/PSSSSl-Kristian_Ham)\
**Replies:** 0\
**Last updated:** [April 3, 2008, 1:36pm UTC](https://www.ruby-forum.com/t/limit-connections-to-backend/133776 "2008-04-03T13:36:45Z")

</div>

Hi, I’ve setup nginx as a loadbalancer to 8 Zope backends, each setup with 10 threads. Is it possible to limit connections to the backends in nginx? I’ve taken a look at the ngx\_http\_limit\_zone\_module, but it doesnt …

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/133744)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 1\
**Last updated:** [April 3, 2008, 11:56am UTC](https://www.ruby-forum.com/t/no-subject/133744 "2008-04-03T11:56:32Z")

</div>

\-------- Forwarded Message -------- From: chanix removed\_email\_address@domain.invalid To: Cliff W. removed\_email\_address@domain.invalid Subject: question about bandwidth limit Date: Thu, 3 Apr 2008 10:36:09 +0800 (CS…

---

## [Mongrels stop responding](https://www.ruby-forum.com/t/mongrels-stop-responding/133485)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 16\
**Last updated:** [April 3, 2008, 12:07am UTC](https://www.ruby-forum.com/t/mongrels-stop-responding/133485 "2008-04-03T00:07:33Z")

</div>

I have a Rails 1.2.3 app (due for an update, I know) running on a Mongrel 1.1.4 behind Apache 2.2.3 mod\_proxy on Debian 4.0. It keeps hanging up for no reason I can tell. I have tried everything that anyone has ever h…

---

## [Rewrite outside root](https://www.ruby-forum.com/t/rewrite-outside-root/133697)

<div class="topic-metadata">

**Author:** [@Rob\_Ruth](https://www.ruby-forum.com/u/Rob_Ruth)\
**Replies:** 1\
**Last updated:** [April 2, 2008, 8:20pm UTC](https://www.ruby-forum.com/t/rewrite-outside-root/133697 "2008-04-02T20:20:24Z")

</div>

My current Apache setup has a rewrite in place to search the DocumentRoot at ‘/var/www/www.domain.com’ and if a file doesn’t exist it looks in ‘/var/www/common’. All attempts to duplicate this is Nginx result in ‘var…

---

## [X\_FORWARDED\_PROTO issues](https://www.ruby-forum.com/t/x-forwarded-proto-issues/133689)

<div class="topic-metadata">

**Author:** [@evronm](https://www.ruby-forum.com/u/evronm)\
**Replies:** 0\
**Last updated:** [April 2, 2008, 5:18pm UTC](https://www.ruby-forum.com/t/x-forwarded-proto-issues/133689 "2008-04-02T17:18:23Z")

</div>

Hi all - I’m having some behavior that i can’t track down and I’m not sure if this is an Apache problem, a mongrel problem or neither. Anyway - in my production setting I have two Apache 2.2 proxy servers pointing to…

---

## [Mailman web interface on nginx](https://www.ruby-forum.com/t/mailman-web-interface-on-nginx/133687)

<div class="topic-metadata">

**Author:** [@Renaud\_Allard](https://www.ruby-forum.com/u/Renaud_Allard)\
**Replies:** 1\
**Last updated:** [April 2, 2008, 4:54pm UTC](https://www.ruby-forum.com/t/mailman-web-interface-on-nginx/133687 "2008-04-02T16:54:07Z")

</div>

Hello, Does someone run mailman web interface under nginx? Of course, without using another web server such as thttpd. The biggest problem seems to be mailman urls are of the type: http://mailman.example.com/admin/my…

---

## [FastCGI and PHP](https://www.ruby-forum.com/t/fastcgi-and-php/133648)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 7\
**Last updated:** [April 2, 2008, 12:42pm UTC](https://www.ruby-forum.com/t/fastcgi-and-php/133648 "2008-04-02T12:42:22Z")

</div>

After the recent thread on php-fastcgi and memory leaks, I’ve realised that I’m a little unsure as to exactly how nginx and php-fastcgi communicate with one another. I’m wondering whether anyone could spare the time f…

---

## [Addition Module](https://www.ruby-forum.com/t/addition-module/133544)

<div class="topic-metadata">

**Author:** [@Tony\_Holmes](https://www.ruby-forum.com/u/Tony_Holmes)\
**Replies:** 1\
**Last updated:** [April 1, 2008, 3:26pm UTC](https://www.ruby-forum.com/t/addition-module/133544 "2008-04-01T15:26:22Z")

</div>

Hello! I am having difficulty getting the Addition Module to function correctly. I simply want to add a chunk of html to the top of every html file served. My configuration is as follows: (cutting out unneeded port…

---

## [Getting Django & PHP to work together](https://www.ruby-forum.com/t/getting-django-php-to-work-together/133495)

<div class="topic-metadata">

**Author:** [@riffola](https://www.ruby-forum.com/u/riffola)\
**Replies:** 0\
**Last updated:** [April 1, 2008, 2:34am UTC](https://www.ruby-forum.com/t/getting-django-php-to-work-together/133495 "2008-04-01T02:34:12Z")

</div>

Hi, I’m trying to get Django & PHP to work together on one Virtual Host. PHP5 + FastCGi works flawlessly on Nginx 0.6.29, but when I add Django, I have trouble loading files which are index.html or index.php. Please …

---

## [To surf to URL mydomain.com instead of mydomain.com:3000?](https://www.ruby-forum.com/t/to-surf-to-url-mydomain-com-instead-of-mydomain-com-3000/133444)

<div class="topic-metadata">

**Author:** [@axees335](https://www.ruby-forum.com/u/axees335)\
**Replies:** 14\
**Last updated:** [April 1, 2008, 12:21am UTC](https://www.ruby-forum.com/t/to-surf-to-url-mydomain-com-instead-of-mydomain-com-3000/133444 "2008-04-01T00:21:56Z")

</div>

My production server is using mongrel\_rails on Ubuntu linux. With Firefox I can reach my production server with the URL: www.mydomain.com:3000/ but I can’t reach my production server with the URL Is there a way to …

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

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