# Server

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

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

---

## [Intermittent SSL negotiation errors](https://www.ruby-forum.com/t/intermittent-ssl-negotiation-errors/143456)

<div class="topic-metadata">

**Author:** [@Michael\_Nachbaur](https://www.ruby-forum.com/u/Michael_Nachbaur)\
**Replies:** 0\
**Last updated:** [July 18, 2008, 8:11pm UTC](https://www.ruby-forum.com/t/intermittent-ssl-negotiation-errors/143456 "2008-07-18T20:11:13Z")

</div>

I’m developing an application in Apache2/mod\_perl with nginx sitting in front of it in a reverse-proxy configuration with SSL/HTTPS on nginx. We have multiple instances of this configuration installed, and they commu…

---

## [The realip module and multiple X-Forwarded-For lines](https://www.ruby-forum.com/t/the-realip-module-and-multiple-x-forwarded-for-lines/143269)

<div class="topic-metadata">

**Author:** [@Martin\_Stitt](https://www.ruby-forum.com/u/Martin_Stitt)\
**Replies:** 2\
**Last updated:** [July 17, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/the-realip-module-and-multiple-x-forwarded-for-lines/143269 "2008-07-17T17:07:13Z")

</div>

hi, we are currently using nginx v0.5.35 in our production environment. fast, lean and stable. thanks! and, we have run into one problem recently. i’ve devised what i believe is a fix. the attached a patch file show…

---

## [Clients hang on large PUTs to Mongrel::HttpHandler-based web service](https://www.ruby-forum.com/t/clients-hang-on-large-puts-to-mongrel-httphandler-based-web-service/139442)

<div class="topic-metadata">

**Author:** [@Randy\_Fischer](https://www.ruby-forum.com/u/Randy_Fischer)\
**Replies:** 9\
**Last updated:** [July 17, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/clients-hang-on-large-puts-to-mongrel-httphandler-based-web-service/139442 "2008-07-17T16:44:48Z")

</div>

Hi folks, I have a problem with a storage web service our group wrote using Mongrel::HttpHandler We have a consistent problem when using http PUT to this service when the data is larger than about 4 GB. The web servi…

---

## [New release from soitu.es: counting users](https://www.ruby-forum.com/t/new-release-from-soitu-es-counting-users/143027)

<div class="topic-metadata">

**Author:** [@Raul\_Rivero](https://www.ruby-forum.com/u/Raul_Rivero)\
**Replies:** 2\
**Last updated:** [July 17, 2008, 11:51am UTC](https://www.ruby-forum.com/t/new-release-from-soitu-es-counting-users/143027 "2008-07-17T11:51:28Z")

</div>

Hi all, Today, we \[soitu.es\] released our patches to sign cookies, httponly property and add user name to the ngx\_http\_userid\_filter\_module’s cookies. The summary: Two new options: userid\_secretforsign "0ur-S3CR…

---

## [Nginx maintenance page](https://www.ruby-forum.com/t/nginx-maintenance-page/143145)

<div class="topic-metadata">

**Author:** [@arfon](https://www.ruby-forum.com/u/arfon)\
**Replies:** 5\
**Last updated:** [July 17, 2008, 11:43am UTC](https://www.ruby-forum.com/t/nginx-maintenance-page/143145 "2008-07-17T11:43:51Z")

</div>

I’m having a little trouble getting the Nginx maintenance pages working as I’d like them to. I have the following rewrite rule in my Nginx config file: if (-f /software/shared/system/maintenance.html) { rewrite ^(.\*…

---

## [Php fastcgi support - how do u do it?](https://www.ruby-forum.com/t/php-fastcgi-support-how-do-u-do-it/142761)

<div class="topic-metadata">

**Author:** [@Jeffrey\_SjfS\_Lim](https://www.ruby-forum.com/u/Jeffrey_SjfS_Lim)\
**Replies:** 22\
**Last updated:** [July 16, 2008, 11:35am UTC](https://www.ruby-forum.com/t/php-fastcgi-support-how-do-u-do-it/142761 "2008-07-16T11:35:19Z")

</div>

hi, folks, I’m thinking of using nginx (quite obviously!!!) for one of my deployments with php. Now since nginx doesnt do cgi, the only way to do nginx with php is using fastcgi. The question now is, how, and in what …

---

## [One domain, two home directories](https://www.ruby-forum.com/t/one-domain-two-home-directories/142143)

<div class="topic-metadata">

**Author:** [@Emers](https://www.ruby-forum.com/u/Emers)\
**Replies:** 2\
**Last updated:** [July 15, 2008, 9:54pm UTC](https://www.ruby-forum.com/t/one-domain-two-home-directories/142143 "2008-07-15T21:54:53Z")

</div>

Hi there. I have problem with handling two different home directories into one domain. For example my domain is mydomain.net and it points to directory /home/emers/www/ \[…\] server { listen 80; server\_name…

---

## [Reverse Proxy](https://www.ruby-forum.com/t/reverse-proxy/143075)

<div class="topic-metadata">

**Author:** [@antonio](https://www.ruby-forum.com/u/antonio)\
**Replies:** 5\
**Last updated:** [July 15, 2008, 11:04am UTC](https://www.ruby-forum.com/t/reverse-proxy/143075 "2008-07-15T11:04:51Z")

</div>

Hello I have a web project in which we have some images taken from a system file, through rewrite and php (http://img.mydomain.com/a331ad44ef → http://img.mydomain.com/index.php?image = a331ad44ef). But to have thou…

---

## [Help on POP3 proxy setup](https://www.ruby-forum.com/t/help-on-pop3-proxy-setup/142524)

<div class="topic-metadata">

**Author:** [@Marcelo\_Souza](https://www.ruby-forum.com/u/Marcelo_Souza)\
**Replies:** 5\
**Last updated:** [July 14, 2008, 10:19pm UTC](https://www.ruby-forum.com/t/help-on-pop3-proxy-setup/142524 "2008-07-14T22:19:41Z")

</div>

Hi all, I was just introduced to Nginx and I’m in trouble to setup it as a proxy for my POP3 servers. I’m using a modified (test) version of the mailauth.pm to understand the program behavior, but it’s showing the …

---

## [Default Configuration of Mongrel Under script/server](https://www.ruby-forum.com/t/default-configuration-of-mongrel-under-script-server/142975)

<div class="topic-metadata">

**Author:** [@tkw722](https://www.ruby-forum.com/u/tkw722)\
**Replies:** 1\
**Last updated:** [July 14, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/default-configuration-of-mongrel-under-script-server/142975 "2008-07-14T16:10:10Z")

</div>

Hey All, I was curious how I can control the default mongrel configuration when it is run through the use of ‘script/server’. Is there a way to edit possibly a default .conf file? Any help would be greatly appreciated…

---

## [Request time](https://www.ruby-forum.com/t/request-time/142957)

<div class="topic-metadata">

**Author:** [@Marcos\_N](https://www.ruby-forum.com/u/Marcos_N)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 2:05pm UTC](https://www.ruby-forum.com/t/request-time/142957 "2008-07-14T14:05:59Z")

</div>

Is it possible to add a header to the client, that says how long the request takes? Examplo, I have nginx proxyng to php using the default: location ~ .php$ { fastcgi\_pass 127.0.0.1:9000; fastcgi\_index index.php; …

---

## [Reverse proxy](https://www.ruby-forum.com/t/reverse-proxy/143003)

<div class="topic-metadata">

**Author:** [@antonio](https://www.ruby-forum.com/u/antonio)\
**Replies:** 0\
**Last updated:** [July 14, 2008, 12:12pm UTC](https://www.ruby-forum.com/t/reverse-proxy/143003 "2008-07-14T12:12:51Z")

</div>

Hello I have a web project in which we have some images taken from a system file, through rewrite and php (http://img.mydomain.com/a331ad44ef → http://img.mydomain.com/index.php?image = a331ad44ef). But to have tho…

---

## [400 response](https://www.ruby-forum.com/t/400-response/142205)

<div class="topic-metadata">

**Author:** [@alanwatts](https://www.ruby-forum.com/u/alanwatts)\
**Replies:** 5\
**Last updated:** [July 14, 2008, 10:35am UTC](https://www.ruby-forum.com/t/400-response/142205 "2008-07-14T10:35:35Z")

</div>

We are getting an awful lot of 400 responses being sent back to our clients. For example, consider these two, first one resultsed in a 400, where as the second one didn’t. 79.a.c.d - - \[04/Jul/2008:13:14:21 +0000\] GE…

---

## [Testing cluster setup](https://www.ruby-forum.com/t/testing-cluster-setup/142968)

<div class="topic-metadata">

**Author:** [@clipper](https://www.ruby-forum.com/u/clipper)\
**Replies:** 1\
**Last updated:** [July 14, 2008, 5:12am UTC](https://www.ruby-forum.com/t/testing-cluster-setup/142968 "2008-07-14T05:12:36Z")

</div>

Hi all, I have 2 questions that are hopefully simple to answer: I’ve set up Apache 2.2 w/ mongrel\_cluster and the proxy balancer, consistent w/ the setup shown on various blogs, and it all seems to work ok. But ho…

---

## [SSI with MEMCACHED down](https://www.ruby-forum.com/t/ssi-with-memcached-down/142839)

<div class="topic-metadata">

**Author:** [@vchav](https://www.ruby-forum.com/u/vchav)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 2:02am UTC](https://www.ruby-forum.com/t/ssi-with-memcached-down/142839 "2008-07-14T02:02:04Z")

</div>

Hi, I made several test on my servers to use memcached with ssi and so make my web application faster. It’s really a great improvement and I’m glad to use it but… I think I have a problem when the memcached server is…

---

## [How optimizing nginx for local large files download](https://www.ruby-forum.com/t/how-optimizing-nginx-for-local-large-files-download/142907)

<div class="topic-metadata">

**Author:** [@lienkai](https://www.ruby-forum.com/u/lienkai)\
**Replies:** 4\
**Last updated:** [July 13, 2008, 9:11pm UTC](https://www.ruby-forum.com/t/how-optimizing-nginx-for-local-large-files-download/142907 "2008-07-13T21:11:38Z")

</div>

Hi, I have some dell860 servers.2GB ram,20Gbits network bandwidth. Twenty local large files(50M-2G) on the lighty server. Nginx online-testing,the single server make use of bandwidth 400M~550Mbits now. I wish optimi…

---

## [User permission](https://www.ruby-forum.com/t/user-permission/142938)

<div class="topic-metadata">

**Author:** [@Marcos\_N](https://www.ruby-forum.com/u/Marcos_N)\
**Replies:** 2\
**Last updated:** [July 13, 2008, 9:02pm UTC](https://www.ruby-forum.com/t/user-permission/142938 "2008-07-13T21:02:51Z")

</div>

Hi, What user did you use to run nginx? And php? Now IÂ´m using nobody:nogroup but IÂ´m planning in change to www-data. Or shoul I create a nginx user? What is more secure?

---

## [Warnings from 2.6.24.5 kernel](https://www.ruby-forum.com/t/warnings-from-2-6-24-5-kernel/142871)

<div class="topic-metadata">

**Author:** [@Emers](https://www.ruby-forum.com/u/Emers)\
**Replies:** 1\
**Last updated:** [July 12, 2008, 2:41pm UTC](https://www.ruby-forum.com/t/warnings-from-2-6-24-5-kernel/142871 "2008-07-12T14:41:55Z")

</div>

After installing 2.6.24.5 kernel I noticed warnings in messages logfile: kernel: warning: process \`nginx’ used the deprecated sysctl system call with 1.33. Is this wrong, or I shouldn’t be concerned about it? – Rega…

---

## [Simple module question](https://www.ruby-forum.com/t/simple-module-question/142793)

<div class="topic-metadata">

**Author:** [@vchav](https://www.ruby-forum.com/u/vchav)\
**Replies:** 8\
**Last updated:** [July 12, 2008, 12:09am UTC](https://www.ruby-forum.com/t/simple-module-question/142793 "2008-07-12T00:09:45Z")

</div>

Hi, I just want to make a simple module which get uploaded image to a directory with a custom name. All things seem to be good but ngx\_http\_read\_client\_request\_body create local image with the form header (filename=“…

---

## [Location not allowed here?](https://www.ruby-forum.com/t/location-not-allowed-here/142749)

<div class="topic-metadata">

**Author:** [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Replies:** 1\
**Last updated:** [July 11, 2008, 2:56am UTC](https://www.ruby-forum.com/t/location-not-allowed-here/142749 "2008-07-11T02:56:19Z")

</div>

using 0.6.31 i’m getting an error trying to start nginx: Starting nginx: 2008/07/10 20:24:57 \[emerg\] 2477#0: “location” directive is not allowed here in /usr/local/nginx/sites/secure.mysite.conf:35 strange thing is,…

---

## [The location behaviour in 0.7 - bug or feature?](https://www.ruby-forum.com/t/the-location-behaviour-in-0-7-bug-or-feature/142734)

<div class="topic-metadata">

**Author:** [@Georgi\_H](https://www.ruby-forum.com/u/Georgi_H)\
**Replies:** 3\
**Last updated:** [July 10, 2008, 11:58pm UTC](https://www.ruby-forum.com/t/the-location-behaviour-in-0-7-bug-or-feature/142734 "2008-07-10T23:58:27Z")

</div>

Hello, I’m happily using nginx 0.6 as a proxy to my Apache server. Nginx is serving the static content and Apache is doing the complicated work. I’ve been using rules like this to proxy the requests: location ~ .php…

---

## [Nginx-0.6.32](https://www.ruby-forum.com/t/nginx-0-6-32/142384)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 23\
**Last updated:** [July 10, 2008, 5:21pm UTC](https://www.ruby-forum.com/t/nginx-0-6-32/142384 "2008-07-10T17:21:36Z")

</div>

Changes with nginx 0.6.32 07 Jul 2008 \*) Change: the "none" parameter in the "ssl\_session\_cache" directive; now this is default parameter. Thanks to Rob M… \*) Change: now the…

---

## [Geo module question](https://www.ruby-forum.com/t/geo-module-question/142666)

<div class="topic-metadata">

**Author:** [@allins](https://www.ruby-forum.com/u/allins)\
**Replies:** 3\
**Last updated:** [July 10, 2008, 2:59pm UTC](https://www.ruby-forum.com/t/geo-module-question/142666 "2008-07-10T14:59:47Z")

</div>

geo $country { default no; include conf/geo.conf; 127.0.0.0/24 us; 127.0.0.1/32 ru; 10.1.0.0/16 ru; 192.168.1.0/24 uk; } is from the wiki. if conf/geo.conf happened to have 12…

---

## [Processing config files as ERB templates](https://www.ruby-forum.com/t/processing-config-files-as-erb-templates/142529)

<div class="topic-metadata">

**Author:** [@Jeff\_Everett](https://www.ruby-forum.com/u/Jeff_Everett)\
**Replies:** 1\
**Last updated:** [July 10, 2008, 3:45am UTC](https://www.ruby-forum.com/t/processing-config-files-as-erb-templates/142529 "2008-07-10T03:45:29Z")

</div>

For various reasons it’s very handy for us to process our mongrel cluster configuration files as ERB templates during start up. I found a post from a couple of years ago on this mailing list about possibly adding that…

---

## [Forwarding Requests to Multiple Upstream Servers?](https://www.ruby-forum.com/t/forwarding-requests-to-multiple-upstream-servers/142564)

<div class="topic-metadata">

**Author:** [@Sven\_CSKoehler](https://www.ruby-forum.com/u/Sven_CSKoehler)\
**Replies:** 12\
**Last updated:** [July 9, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/forwarding-requests-to-multiple-upstream-servers/142564 "2008-07-09T22:41:28Z")

</div>

Hello, I am wondering whether it’s possible from within an nginx module to forward a request to multiple upstream servers… AFAIU nginx’s existing infrastructure does normally only support sending requests to one ups…

---

## [Broadcasting requests](https://www.ruby-forum.com/t/broadcasting-requests/142587)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [July 9, 2008, 9:35pm UTC](https://www.ruby-forum.com/t/broadcasting-requests/142587 "2008-07-09T21:35:52Z")

</div>

Hello, I’m trying to broadcast a request to multiple upstream servers. This would be only for POST requests which reflect data changes that need to be done to multiple machines. The response could be generated by the…

---

## [Nginx 0.7.6 sends original POST body in proxied GET subrequests from SSI](https://www.ruby-forum.com/t/nginx-0-7-6-sends-original-post-body-in-proxied-get-subrequests-from-ssi/142499)

<div class="topic-metadata">

**Author:** [@piespy](https://www.ruby-forum.com/u/piespy)\
**Replies:** 2\
**Last updated:** [July 8, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/nginx-0-7-6-sends-original-post-body-in-proxied-get-subrequests-from-ssi/142499 "2008-07-08T19:14:39Z")

</div>

Apologies if you get this twice, apparently the first time I sent it my confirmation hadn’t been processed yet. I have a PHP script (proxied via Apache) that accepts file uploads. These are then processed by an exter…

---

## [Starting Mongrel as Windows service](https://www.ruby-forum.com/t/starting-mongrel-as-windows-service/142444)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 3\
**Last updated:** [July 8, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/starting-mongrel-as-windows-service/142444 "2008-07-08T18:42:23Z")

</div>

Hi, I’m very new to Mongrel and RoR. I found this command: $ mongrel\_rails\_service install -n blog -r c:\\data\\blog -p 4000 -e production But I’m not sure if I’m suppose to modify any of those commands. Or should I …

---

## [Variables in include?](https://www.ruby-forum.com/t/variables-in-include/142506)

<div class="topic-metadata">

**Author:** [@allins](https://www.ruby-forum.com/u/allins)\
**Replies:** 1\
**Last updated:** [July 8, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/variables-in-include/142506 "2008-07-08T17:58:41Z")

</div>

any plans on adding ability to use variables in include statements anytime?

---

## [$fastcgi\_script\_name and $document\_uri chenged after 0.5.34?](https://www.ruby-forum.com/t/fastcgi-script-name-and-document-uri-chenged-after-0-5-34/142484)

<div class="topic-metadata">

**Author:** [@Kelvin](https://www.ruby-forum.com/u/Kelvin)\
**Replies:** 1\
**Last updated:** [July 8, 2008, 2:00pm UTC](https://www.ruby-forum.com/t/fastcgi-script-name-and-document-uri-chenged-after-0-5-34/142484 "2008-07-08T14:00:47Z")

</div>

I have used nginx 0.5.34 for some days. The backend server is Django (run as fastcgi). I want to upgrade nginx to newer version now, but I find that all the versions after 0.5.34 seem to change something with $fastcg…

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

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