# Server

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

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

---

## [Questions about proxy logging and a sanity check](https://www.ruby-forum.com/t/questions-about-proxy-logging-and-a-sanity-check/135260)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 5\
**Last updated:** [April 20, 2008, 11:46am UTC](https://www.ruby-forum.com/t/questions-about-proxy-logging-and-a-sanity-check/135260 "2008-04-20T11:46:02Z")

</div>

I am attempting to replace LVS with nginx for load balancing. Basically, one front-end load balancer (running nginx) to 3 backend servers (soon to be running nginx + fastcgi/php) Using these variables, it looks like i…

---

## [Request-URI Too Large settings help](https://www.ruby-forum.com/t/request-uri-too-large-settings-help/134891)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [April 19, 2008, 8:51pm UTC](https://www.ruby-forum.com/t/request-uri-too-large-settings-help/134891 "2008-04-19T20:51:41Z")

</div>

Hi I am getting this error: Request-URI Too Large The requested URL’s length exceeds the capacity limit for this server. request failed: URI too long even with these settings… client\_header\_buffer\_size 8k; large\_…

---

## [Ncache?](https://www.ruby-forum.com/t/ncache/135095)

<div class="topic-metadata">

**Author:** [@eliott](https://www.ruby-forum.com/u/eliott)\
**Replies:** 2\
**Last updated:** [April 18, 2008, 12:07pm UTC](https://www.ruby-forum.com/t/ncache/135095 "2008-04-18T12:07:31Z")

</div>

Not sure if anyone else saw this yet. http://code.google.com/p/ncache/ Looks interesting. Anyone play with it yet?

---

## [Qrp followup, deployment results](https://www.ruby-forum.com/t/qrp-followup-deployment-results/135115)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 1:40am UTC](https://www.ruby-forum.com/t/qrp-followup-deployment-results/135115 "2008-04-18T01:40:44Z")

</div>

I posted about qrp (http://qrp.rubyforge.org/) many weeks ago, but only deployed it to a live site a few weeks ago (after a few bug fixes leading up to qrp v0.4.0). qrp was deployed late on 2008-03-27 to roughly half …

---

## [Fastthread only needed on ruby \<=1.8](https://www.ruby-forum.com/t/fastthread-only-needed-on-ruby-1-8/135072)

<div class="topic-metadata">

**Author:** [@cdr](https://www.ruby-forum.com/u/cdr)\
**Replies:** 2\
**Last updated:** [April 17, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/fastthread-only-needed-on-ruby-1-8/135072 "2008-04-17T22:43:18Z")

</div>

hey… havent learned gemspec stuff yet, maybe someone who already knows can make the fastthread dep optional? its just kind of annoying, since ‘gem install mongrel’ always breaks on 1.9, even tho mongrel works fine, p…

---

## [reStructuredText support in the wiki](https://www.ruby-forum.com/t/restructuredtext-support-in-the-wiki/135035)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 2\
**Last updated:** [April 17, 2008, 10:09pm UTC](https://www.ruby-forum.com/t/restructuredtext-support-in-the-wiki/135035 "2008-04-17T22:09:12Z")

</div>

It seems that Python docutils is no more available for the wiki. What’s the problem? Thanks and regards Manlio P.

---

## [\[patch\] RSTRING fixes for 1.9](https://www.ruby-forum.com/t/patch-rstring-fixes-for-1-9/135078)

<div class="topic-metadata">

**Author:** [@cdr](https://www.ruby-forum.com/u/cdr)\
**Replies:** 1\
**Last updated:** [April 17, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/patch-rstring-fixes-for-1-9/135078 "2008-04-17T17:33:21Z")

</div>

doing what ebb did. change RSTRING(str)-\>ptr and RSTRING(str)-\>len to RSTRING\_PTR(str) and RSTRING\_LEN(str) and define a backwards-compatible macro… i dont think i had to fix this before. maybe thin or something alrea…

---

## [Error log, when using apache2.2.x modproxy with mongrel](https://www.ruby-forum.com/t/error-log-when-using-apache2-2-x-modproxy-with-mongrel/135034)

<div class="topic-metadata">

**Author:** [@koji\_Lin](https://www.ruby-forum.com/u/koji_Lin)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 11:23am UTC](https://www.ruby-forum.com/t/error-log-when-using-apache2-2-x-modproxy-with-mongrel/135034 "2008-04-17T11:23:24Z")

</div>

Hi all im new to use mongrel, my mongrel version is 1.1.4 and apache is 2.2.8 when i using apapche+mod\_proxy+mongrel, there are some error in my log file and make apache 502 prxoy error. ex: proxy: error reading s…

---

## [Serving embedded video files with X-Accel-Redirect to IE 6 browser](https://www.ruby-forum.com/t/serving-embedded-video-files-with-x-accel-redirect-to-ie-6-browser/134890)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 7\
**Last updated:** [April 17, 2008, 12:22am UTC](https://www.ruby-forum.com/t/serving-embedded-video-files-with-x-accel-redirect-to-ie-6-browser/134890 "2008-04-17T00:22:21Z")

</div>

Hi list, I am able to serve embedded quicktime movie files to Safari 3.1 and Firefox2 browsers, but I fail serving to Internet Explorer 6. The quicktime logo gets displayed, but the movie never starts. Are there some…

---

## [Configuration assistance?](https://www.ruby-forum.com/t/configuration-assistance/134955)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 1\
**Last updated:** [April 16, 2008, 4:13pm UTC](https://www.ruby-forum.com/t/configuration-assistance/134955 "2008-04-16T16:13:09Z")

</div>

I’ve got a URL scheme currently in use for our project on our dev server. It works well, but I’m using lighttpd and the config is getting a bit of a pain to manage. Basically, the projects are set up as: p1.ourdevser…

---

## [Wordpress.com switches to Nginx? 4 million page views per day](https://www.ruby-forum.com/t/wordpress-com-switches-to-nginx-4-million-page-views-per-day/134908)

<div class="topic-metadata">

**Author:** [@HonDev\_D](https://www.ruby-forum.com/u/HonDev_D)\
**Replies:** 4\
**Last updated:** [April 16, 2008, 6:10am UTC](https://www.ruby-forum.com/t/wordpress-com-switches-to-nginx-4-million-page-views-per-day/134908 "2008-04-16T06:10:52Z")

</div>

Wordpress.com which serves 4 million page views per day now appears to have Nginx 06.29 as its frontend. http://whois.domaintools.com/wordpress.com Wordpress.com is one of the top 100 most visited website in the State…

---

## [General Mongrel Question](https://www.ruby-forum.com/t/general-mongrel-question/134866)

<div class="topic-metadata">

**Author:** [@russianbandit](https://www.ruby-forum.com/u/russianbandit)\
**Replies:** 3\
**Last updated:** [April 15, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/general-mongrel-question/134866 "2008-04-15T21:46:31Z")

</div>

Could someone please clarify for me what is mongrel cluster vs. proxy vs. all that other stuff you use with mongrel? I’m basically confused why I can’t simply run one mongrel server and be happy. Why do I need a clus…

---

## [Nginx as a forward proxy, supporting gzip compression](https://www.ruby-forum.com/t/nginx-as-a-forward-proxy-supporting-gzip-compression/134867)

<div class="topic-metadata">

**Author:** [@Janusz](https://www.ruby-forum.com/u/Janusz)\
**Replies:** 1\
**Last updated:** [April 15, 2008, 7:42pm UTC](https://www.ruby-forum.com/t/nginx-as-a-forward-proxy-supporting-gzip-compression/134867 "2008-04-15T19:42:49Z")

</div>

Helllo, is it possible to use nginx as a froward proxy server supporting gzip compression (my browser doesn’t support compression, so between browser and proxy server, it should be connection without compression, but…

---

## [How to get ssl to work without adding port 413](https://www.ruby-forum.com/t/how-to-get-ssl-to-work-without-adding-port-413/134799)

<div class="topic-metadata">

**Author:** [@Maxime\_Pelletier](https://www.ruby-forum.com/u/Maxime_Pelletier)\
**Replies:** 4\
**Last updated:** [April 15, 2008, 6:53pm UTC](https://www.ruby-forum.com/t/how-to-get-ssl-to-work-without-adding-port-413/134799 "2008-04-15T18:53:19Z")

</div>

I have been trying to get ssl to work like I want it for a few hours without success. The problem is that https://localhost:413/index.php works but not https://localhost/index.php. Firefox can’t establish a connectio…

---

## [Scgi?](https://www.ruby-forum.com/t/scgi/134721)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 5\
**Last updated:** [April 14, 2008, 9:58pm UTC](https://www.ruby-forum.com/t/scgi/134721 "2008-04-14T21:58:51Z")

</div>

Can nginx interact SCGI processes? Phillip B Oldham The Activity People removed\_email\_address@domain.invalid mailto:removed\_email\_address@domain.invalid Policies This e-mail and its attachments are intended for the…

---

## [Worker cpu balance](https://www.ruby-forum.com/t/worker-cpu-balance/134624)

<div class="topic-metadata">

**Author:** [@Aleksandar\_L](https://www.ruby-forum.com/u/Aleksandar_L)\
**Replies:** 11\
**Last updated:** [April 14, 2008, 4:33pm UTC](https://www.ruby-forum.com/t/worker-cpu-balance/134624 "2008-04-14T16:33:15Z")

</div>

Hi all, during the testing with the donated 10GB network cards of Myricom to the haproxy project http://haproxy.1wt.eu/ I have asked the author of this nice peace of SW if he will be so pleasent to run a test with ngi…

---

## [Gzip compression - pre-compression vs. on-the-fly](https://www.ruby-forum.com/t/gzip-compression-pre-compression-vs-on-the-fly/134640)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 5\
**Last updated:** [April 14, 2008, 10:15am UTC](https://www.ruby-forum.com/t/gzip-compression-pre-compression-vs-on-the-fly/134640 "2008-04-14T10:15:38Z")

</div>

Just wondering why there is not a standard method of storing the gzipped file in a cache directory in nginx. Seems to me that would be developed before the pre-compression module. Like in Lighty, there is a /var/tmp/l…

---

## [Re: Firewall really necessary?](https://www.ruby-forum.com/t/re-firewall-really-necessary/134632)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 14, 2008, 7:39am UTC](https://www.ruby-forum.com/t/re-firewall-really-necessary/134632 "2008-04-14T07:39:55Z")

</div>

In my humble opinion… It is always best to have a firewall between you and the outside world. In some circumstances, two firewalls back to back is even better (make sure the two are from different manufacturers…) The…

---

## [Config Problem for Wordpress 2.5](https://www.ruby-forum.com/t/config-problem-for-wordpress-2-5/134612)

<div class="topic-metadata">

**Author:** [@thuss](https://www.ruby-forum.com/u/thuss)\
**Replies:** 8\
**Last updated:** [April 13, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/config-problem-for-wordpress-2-5/134612 "2008-04-13T19:10:20Z")

</div>

I am currently using Nginx to serve images only, but I have written a script to launch the Nginx process, and php-cgi processes needed to run Wordpress. I don’t seem to have the cofiguration correctly written, and I’m…

---

## [Rewrite rule for php easter eggs](https://www.ruby-forum.com/t/rewrite-rule-for-php-easter-eggs/134641)

<div class="topic-metadata">

**Author:** [@Renaud\_Allard](https://www.ruby-forum.com/u/Renaud_Allard)\
**Replies:** 7\
**Last updated:** [April 13, 2008, 5:29pm UTC](https://www.ruby-forum.com/t/rewrite-rule-for-php-easter-eggs/134641 "2008-04-13T17:29:48Z")

</div>

Hello, I am trying to wrote a rewrite rule to forbid the request of PHP easter eggs. So I’d like the request: http://site.domain.tld/?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 to be redirected to index.php I tried: …

---

## [Firewall really necessary?](https://www.ruby-forum.com/t/firewall-really-necessary/134628)

<div class="topic-metadata">

**Author:** [@Amer\_Shah](https://www.ruby-forum.com/u/Amer_Shah)\
**Replies:** 1\
**Last updated:** [April 13, 2008, 5:17pm UTC](https://www.ruby-forum.com/t/firewall-really-necessary/134628 "2008-04-13T17:17:26Z")

</div>

Hello friends. This isn’t strictly an nginx question but I thought it might be useful to others on this list as well so I’ll ask. So I have a freebsd 7.0 server running. Inetd is disabled and I’m only running 2 serv…

---

## [Security question](https://www.ruby-forum.com/t/security-question/134490)

<div class="topic-metadata">

**Author:** [@Amer\_Shah](https://www.ruby-forum.com/u/Amer_Shah)\
**Replies:** 13\
**Last updated:** [April 12, 2008, 7:17pm UTC](https://www.ruby-forum.com/t/security-question/134490 "2008-04-12T19:17:38Z")

</div>

I know there isn’t a definite answer to this but I thought I’d throw it out here anyway. I’m running FreeBsd 7 with nginx. I have a total of 3 daemons. sshd , ftpd and nginx. I’ve tried to for a day now to get nginx…

---

## [Proxy\_set\_header inheritance not working?](https://www.ruby-forum.com/t/proxy-set-header-inheritance-not-working/133141)

<div class="topic-metadata">

**Author:** [@elucify](https://www.ruby-forum.com/u/elucify)\
**Replies:** 14\
**Last updated:** [April 11, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/proxy-set-header-inheritance-not-working/133141 "2008-04-11T17:30:33Z")

</div>

Hi, To prevent duplication between ssl and non-ssl configs I wanted to do this: server { listen 80; include common.conf; } server { listen 443; ssl on; proxy\_set\_header X\_FORWARDED\_PROTO https; include common.…

---

## [Efficient rewrite](https://www.ruby-forum.com/t/efficient-rewrite/134327)

<div class="topic-metadata">

**Author:** [@J\_Davis](https://www.ruby-forum.com/u/J_Davis)\
**Replies:** 3\
**Last updated:** [April 11, 2008, 5:15pm UTC](https://www.ruby-forum.com/t/efficient-rewrite/134327 "2008-04-11T17:15:50Z")

</div>

Greetings. I want to redirect certain URL’s to https. I’ve come up with a few ways that I think will work but I’m wondering which method is more efficient in terms of how much processing nginx would do. 1st method:…

---

## [Include and variable settings](https://www.ruby-forum.com/t/include-and-variable-settings/134483)

<div class="topic-metadata">

**Author:** [@archfiend997](https://www.ruby-forum.com/u/archfiend997)\
**Replies:** 1\
**Last updated:** [April 11, 2008, 5:03pm UTC](https://www.ruby-forum.com/t/include-and-variable-settings/134483 "2008-04-11T17:03:59Z")

</div>

Hello, I would like to set a directive in a common configuration file, and explicitly override it if need be. Example: proxy.conf proxy\_redirect off; proxy\_set\_header Host $host; proxy\_set\_header …

---

## [Wildcard subdomain - logging](https://www.ruby-forum.com/t/wildcard-subdomain-logging/134487)

<div class="topic-metadata">

**Author:** [@unclouded](https://www.ruby-forum.com/u/unclouded)\
**Replies:** 1\
**Last updated:** [April 11, 2008, 5:01pm UTC](https://www.ruby-forum.com/t/wildcard-subdomain-logging/134487 "2008-04-11T17:01:38Z")

</div>

Hello, I’m trying to figure out my logging. Right now, I have nginx acting as a reverse proxy, sending requests to backend web servers running apache. For one part of my site, I have wildcard subdomains - these are…

---

## [Using variables in access\_log statement?](https://www.ruby-forum.com/t/using-variables-in-access-log-statement/134332)

<div class="topic-metadata">

**Author:** [@ewildgoose](https://www.ruby-forum.com/u/ewildgoose)\
**Replies:** 1\
**Last updated:** [April 11, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/using-variables-in-access-log-statement/134332 "2008-04-11T16:06:13Z")

</div>

Hi, Is is possible to use variables to construct the access\_log location? eg something like: access\_log /var/log/nginx/$server\_name.access\_log (needless to say the above doesn’t work) Thanks Ed W

---

## [Passing extra headers along with a X-Accel-Redirect](https://www.ruby-forum.com/t/passing-extra-headers-along-with-a-x-accel-redirect/133864)

<div class="topic-metadata">

**Author:** [@Joaquin\_Cuenca\_Abel](https://www.ruby-forum.com/u/Joaquin_Cuenca_Abel)\
**Replies:** 4\
**Last updated:** [April 10, 2008, 10:57pm UTC](https://www.ruby-forum.com/t/passing-extra-headers-along-with-a-x-accel-redirect/133864 "2008-04-10T22:57:22Z")

</div>

Hi, I have a backend in PHP that is using X-Accel-Redirect to make nginx send a file. Along with that file, I have to set up some headers, with content that will be decided by the PHP backend. If I just add a header …

---

## [Nginx Wiki - alternatives](https://www.ruby-forum.com/t/nginx-wiki-alternatives/133718)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 14\
**Last updated:** [April 10, 2008, 9:19pm UTC](https://www.ruby-forum.com/t/nginx-wiki-alternatives/133718 "2008-04-10T21:19:06Z")

</div>

Hi all, I’d like to bring up the idea of getting off of MoinMoin at some point. The spam issue is a constant headache and Moin 1.6’s solution isn’t appealing (textcha’s) for several reasons: it’s annoying and error-…

---

## [Problems using limit\_zone and limit\_conn](https://www.ruby-forum.com/t/problems-using-limit-zone-and-limit-conn/134437)

<div class="topic-metadata">

**Author:** [@Stuart\_McKim](https://www.ruby-forum.com/u/Stuart_McKim)\
**Replies:** 0\
**Last updated:** [April 10, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/problems-using-limit-zone-and-limit-conn/134437 "2008-04-10T20:17:20Z")

</div>

I am trying to limit the number of connections to my server from a single IP address using the limit\_zone module as described on the wiki \[2\], but nginx is not sending a 503 to the client as expected. In the past I ha…

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

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