# Server

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

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

---

## [Simple proxy occasionally fails](https://www.ruby-forum.com/t/simple-proxy-occasionally-fails/145705)

<div class="topic-metadata">

**Author:** [@Kris\_SSAmundson](https://www.ruby-forum.com/u/Kris_SSAmundson)\
**Replies:** 1\
**Last updated:** [August 13, 2008, 10:30am UTC](https://www.ruby-forum.com/t/simple-proxy-occasionally-fails/145705 "2008-08-13T10:30:55Z")

</div>

Simple proxy config fails occasionally with errors. Apache and nginx are running on 4 web servers. Nginx is used by the web app to proxy between two lucene/solr search servers. Nginx config on each web server: ht…

---

## [How to setup custom error page](https://www.ruby-forum.com/t/how-to-setup-custom-error-page/145712)

<div class="topic-metadata">

**Author:** [@Delta\_Y](https://www.ruby-forum.com/u/Delta_Y)\
**Replies:** 2\
**Last updated:** [August 13, 2008, 8:36am UTC](https://www.ruby-forum.com/t/how-to-setup-custom-error-page/145712 "2008-08-13T08:36:42Z")

</div>

I want to use nginx to proxy 2 web server and I want to use custom error page on nginx box. The following config doesn’t work. error\_page 404 /web\_errors/404.html; error\_page 503 /web\_errors/503.html; error\_page 502…

---

## [Problem in SSL dynamic content proxying from nginx to apache](https://www.ruby-forum.com/t/problem-in-ssl-dynamic-content-proxying-from-nginx-to-apache/145693)

<div class="topic-metadata">

**Author:** [@alexp](https://www.ruby-forum.com/u/alexp)\
**Replies:** 0\
**Last updated:** [August 13, 2008, 12:34am UTC](https://www.ruby-forum.com/t/problem-in-ssl-dynamic-content-proxying-from-nginx-to-apache/145693 "2008-08-13T00:34:02Z")

</div>

Hi, I’ve got the following problem I have apache2+php backend server serving both static and dynamic pages and nginx+fastcgi frontent server also serving both static and dynamic pages there are some location which th…

---

## [Serving static versions of dynamic pages (non-RoR)](https://www.ruby-forum.com/t/serving-static-versions-of-dynamic-pages-non-ror/145262)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 7\
**Last updated:** [August 12, 2008, 7:42pm UTC](https://www.ruby-forum.com/t/serving-static-versions-of-dynamic-pages-non-ror/145262 "2008-08-12T19:42:25Z")

</div>

As you might remember from the “fastcgi php migration” thread back in March, the list helped solve a problem migrating our apache setup where php ran through files with extensions (.php, .shtml) and extensionless file…

---

## [Expires header - with variable value or without break](https://www.ruby-forum.com/t/expires-header-with-variable-value-or-without-break/145589)

<div class="topic-metadata">

**Author:** [@rdennett](https://www.ruby-forum.com/u/rdennett)\
**Replies:** 2\
**Last updated:** [August 12, 2008, 11:50am UTC](https://www.ruby-forum.com/t/expires-header-with-variable-value-or-without-break/145589 "2008-08-12T11:50:19Z")

</div>

Hi. I’m trying to sort out expires headers for my rails app. I’m trying two approaches, neither of which seem to work: Approach 1 - (simple expires in if block): location / { if ( $request\_uri ~\* .(css|js|gif|jpe?g…

---

## [Problem with Upload module](https://www.ruby-forum.com/t/problem-with-upload-module/145497)

<div class="topic-metadata">

**Author:** [@rub3n](https://www.ruby-forum.com/u/rub3n)\
**Replies:** 8\
**Last updated:** [August 11, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/problem-with-upload-module/145497 "2008-08-11T22:43:52Z")

</div>

Hi friends, I’m testing the Upload module, and I’ve a litle problem, the fields of the form are not sent to my Rails app, here is my complete config: http://pastie.org/250944 Very thanks for your help ;).

---

## [TIME\_WAITs and sustained connections was: Re: Memcached module -- unix domain socket support? (too m](https://www.ruby-forum.com/t/time-waits-and-sustained-connections-was-re-memcached-module-unix-domain-socket-support-too-m/145342)

<div class="topic-metadata">

**Author:** [@Kon\_W](https://www.ruby-forum.com/u/Kon_W)\
**Replies:** 3\
**Last updated:** [August 11, 2008, 7:57pm UTC](https://www.ruby-forum.com/t/time-waits-and-sustained-connections-was-re-memcached-module-unix-domain-socket-support-too-m/145342 "2008-08-11T19:57:17Z")

</div>

On Thu, Aug 7, 2008 at 11:03 AM, Chavelle V. removed\_email\_address@domain.invalid wrote: definitly not an expert but when I read your post, it’s the idea that I have had. From what I read ncache works by caching it…

---

## [Why Mongrel with NginX](https://www.ruby-forum.com/t/why-mongrel-with-nginx/145394)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 5\
**Last updated:** [August 11, 2008, 2:01pm UTC](https://www.ruby-forum.com/t/why-mongrel-with-nginx/145394 "2008-08-11T14:01:40Z")

</div>

Hi, I’m a newbie to Ruby. I’m installing an small server (256MB RAM) with NginX, Neko, Perl, PHP4, PHP5, Ruby & MySQL. It’s easy Perl, Neko & PHP with FastCGI but why to use a mongrel cluster? It’s my first time with …

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/145511)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 11, 2008, 4:16am UTC](https://www.ruby-forum.com/t/unsubscribe/145511 "2008-08-11T04:16:38Z")

</div>

unsubscribe

---

## [Custom\_require.rb:27:in \`gem\_original\_require': no such file](https://www.ruby-forum.com/t/custom-require-rbin-gem-original-require-no-such-file/145462)

<div class="topic-metadata">

**Author:** [@luizbiagi](https://www.ruby-forum.com/u/luizbiagi)\
**Replies:** 4\
**Last updated:** [August 10, 2008, 11:45pm UTC](https://www.ruby-forum.com/t/custom-require-rbin-gem-original-require-no-such-file/145462 "2008-08-10T23:45:40Z")

</div>

Hi, maybe that’s a lame question but it’s hard to find about’t. I don’t know what is happening but my mongrel just don’t start, I’m using: RubyGems Environment: RUBYGEMS VERSION: 1.2.0 RUBY VERSION: 1.8.6 (2008-07-1…

---

## [SSL Problems with 0.7](https://www.ruby-forum.com/t/ssl-problems-with-0-7/145209)

<div class="topic-metadata">

**Author:** [@Joshua\_Schmidlkofer](https://www.ruby-forum.com/u/Joshua_Schmidlkofer)\
**Replies:** 13\
**Last updated:** [August 10, 2008, 9:07pm UTC](https://www.ruby-forum.com/t/ssl-problems-with-0-7/145209 "2008-08-10T21:07:51Z")

</div>

I put up a gentoo box this weekend, and I installed nginx 0.7.7 on it. I put a php backend on via fastcgi. No matter what I did, Firefox+HTTPS didn’t work properly. I used Firefox 3.0.x from Mac and Linux. Webkit/…

---

## [Directory permissions behavior changed?](https://www.ruby-forum.com/t/directory-permissions-behavior-changed/145338)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 10\
**Last updated:** [August 8, 2008, 8:42pm UTC](https://www.ruby-forum.com/t/directory-permissions-behavior-changed/145338 "2008-08-08T20:42:22Z")

</div>

I just upgraded from 0.7.4 or so to 0.7.8. One of my clients complained his website wasnt working. In the error log it showed permission denied on the directory. The directory had 0711 on it. Changing to 0755 fixed it…

---

## [Restart mongrel](https://www.ruby-forum.com/t/restart-mongrel/145225)

<div class="topic-metadata">

**Author:** [@azazel](https://www.ruby-forum.com/u/azazel)\
**Replies:** 1\
**Last updated:** [August 7, 2008, 10:31pm UTC](https://www.ruby-forum.com/t/restart-mongrel/145225 "2008-08-07T22:31:36Z")

</div>

can i, restart my mongrel server, from a rails application… i need to do it because i have to modify my database.yml and ldap.yml from my settings\_controller

---

## [Issue with nginx not waiting for a response from mongrel](https://www.ruby-forum.com/t/issue-with-nginx-not-waiting-for-a-response-from-mongrel/144688)

<div class="topic-metadata">

**Author:** [@Rupert\_Fiasco](https://www.ruby-forum.com/u/Rupert_Fiasco)\
**Replies:** 2\
**Last updated:** [August 7, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/issue-with-nginx-not-waiting-for-a-response-from-mongrel/144688 "2008-08-07T19:44:31Z")

</div>

This might be more of a mongrel issue, not sure where the problem lies. We are proxying mongrels behind an instance of nginx 0.6.29 and are seeing situations where nginx passes off a request to a mongrel but then does…

---

## [Changing Case of Variables in Nginx](https://www.ruby-forum.com/t/changing-case-of-variables-in-nginx/145299)

<div class="topic-metadata">

**Author:** [@Resi\_C](https://www.ruby-forum.com/u/Resi_C)\
**Replies:** 2\
**Last updated:** [August 7, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/changing-case-of-variables-in-nginx/145299 "2008-08-07T17:54:36Z")

</div>

Sorry for the resend, I didn’t see the email in my sent folder, so I don’t know if it was sent or not. If it was, then I apologize for the duplicate. Hi, I am trying to change the case of a variable to all lowercase…

---

## [Upload module 2.0.4](https://www.ruby-forum.com/t/upload-module-2-0-4/145220)

<div class="topic-metadata">

**Author:** [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Replies:** 7\
**Last updated:** [August 7, 2008, 5:12pm UTC](https://www.ruby-forum.com/t/upload-module-2-0-4/145220 "2008-08-07T17:12:57Z")

</div>

Changes (2008-08-06): Fixed bug: location configuration of upload\_set\_form\_field and upload\_pass\_form\_field was not inheritable from server configuration. Added feature: directive upload\_aggregate\_form\_field to pass …

---

## [Updated syslog patch](https://www.ruby-forum.com/t/updated-syslog-patch/145032)

<div class="topic-metadata">

**Author:** [@SSSSSyvind\_Kolbu](https://www.ruby-forum.com/u/SSSSSyvind_Kolbu)\
**Replies:** 2\
**Last updated:** [August 7, 2008, 9:28am UTC](https://www.ruby-forum.com/t/updated-syslog-patch/145032 "2008-08-07T09:28:12Z")

</div>

Hi I’ve cleaned up a few nits in Marlon’s syslog patch, e.g to allow it to compile with -Werror on gcc 4, and avoid adding the timestamp in ngx\_log\_error\_core(). We are using this patch in production where nginx is …

---

## [Installation issues nginx-0.6.32 and mod\_zip-1.1.1](https://www.ruby-forum.com/t/installation-issues-nginx-0-6-32-and-mod-zip-1-1-1/145240)

<div class="topic-metadata">

**Author:** [@Mark\_Jarecki](https://www.ruby-forum.com/u/Mark_Jarecki)\
**Replies:** 3\
**Last updated:** [August 7, 2008, 6:42am UTC](https://www.ruby-forum.com/t/installation-issues-nginx-0-6-32-and-mod-zip-1-1-1/145240 "2008-08-07T06:42:05Z")

</div>

Hi there, just starting out with Nginx, started installing and have a few warnings appearing during ‘make’. I’m running Debian Etch 32-bit with latest set of updates. I undergo the following install procedure: wget …

---

## [Server\_name nginx more than one name](https://www.ruby-forum.com/t/server-name-nginx-more-than-one-name/145103)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [August 6, 2008, 3:06am UTC](https://www.ruby-forum.com/t/server-name-nginx-more-than-one-name/145103 "2008-08-06T03:06:32Z")

</div>

server { server\_name site1.com site1.site2.com; }

---

## [Multiple proxy\_pass](https://www.ruby-forum.com/t/multiple-proxy-pass/144882)

<div class="topic-metadata">

**Author:** [@J\_Davis](https://www.ruby-forum.com/u/J_Davis)\
**Replies:** 3\
**Last updated:** [August 5, 2008, 3:36pm UTC](https://www.ruby-forum.com/t/multiple-proxy-pass/144882 "2008-08-05T15:36:05Z")

</div>

Should it be possible to use a different proxy\_pass statement under a single location using if statement? I’ve tried using the following config but all traffic gets passed to the ‘primary’ upstream regardless of the …

---

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

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 2:50pm UTC](https://www.ruby-forum.com/t/announce-nginx-0-7-8-for-windows-2000-xp-vista-win32/145034 "2008-08-05T14:50:47Z")

</div>

Hello all, Just released Nginx 0.7.8 for Windows, less than 24 hours after the release of 0.7.7. Download and release notes here: http://www.kevinworthington.com/2008/08/05/announce-nginx-for-windows-078-win32-is-now-…

---

## [Please help me get FastCGI working with nginx](https://www.ruby-forum.com/t/please-help-me-get-fastcgi-working-with-nginx/144902)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 18\
**Last updated:** [August 5, 2008, 2:13pm UTC](https://www.ruby-forum.com/t/please-help-me-get-fastcgi-working-with-nginx/144902 "2008-08-05T14:13:53Z")

</div>

I’ve spent the past several days going around and around trying to get FastCGI working with Nginx and I am stuck. Hopefully someone here can guide me please. In summary I am trying to use nginx to front-end a PHP web …

---

## [How does nginx handle random seed for ssl connections?](https://www.ruby-forum.com/t/how-does-nginx-handle-random-seed-for-ssl-connections/144992)

<div class="topic-metadata">

**Author:** [@alexp](https://www.ruby-forum.com/u/alexp)\
**Replies:** 1\
**Last updated:** [August 5, 2008, 8:01am UTC](https://www.ruby-forum.com/t/how-does-nginx-handle-random-seed-for-ssl-connections/144992 "2008-08-05T08:01:00Z")

</div>

Is there a apache’s SSLRandomSeed alternative in nginx? I just want to make nginx use specific device like /dev/urandom or /dev/random. All i could see that nginx code uses srandom() a pseudo random generator. Thanks …

---

## [ANN: mod\_zip 1.1](https://www.ruby-forum.com/t/ann-mod-zip-1-1/145011)

<div class="topic-metadata">

**Author:** [@Evan\_M](https://www.ruby-forum.com/u/Evan_M)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 6:19am UTC](https://www.ruby-forum.com/t/ann-mod-zip-1-1/145011 "2008-08-05T06:19:18Z")

</div>

mod\_zip (formerly ngx\_zip) is an Nginx module that creates ZIP archives from upstream servers on the fly. It never uses more than a few kilobytes of RAM at a time, even while creating and sending archives that are gig…

---

## [Parsing rest of locations if not found in memcached](https://www.ruby-forum.com/t/parsing-rest-of-locations-if-not-found-in-memcached/144889)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 1\
**Last updated:** [August 5, 2008, 4:45am UTC](https://www.ruby-forum.com/t/parsing-rest-of-locations-if-not-found-in-memcached/144889 "2008-08-05T04:45:10Z")

</div>

Please bear with me as I’m just beginning to read up on using memcached with nginx and might not have all the terms right. Most of the memcached/nginx conf examples I’ve seen fallback to a backend if the key does not …

---

## [Nginx-0.7.8](https://www.ruby-forum.com/t/nginx-0-7-8/144954)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 7\
**Last updated:** [August 4, 2008, 10:38pm UTC](https://www.ruby-forum.com/t/nginx-0-7-8/144954 "2008-08-04T22:38:53Z")

</div>

Changes with nginx 0.7.8 04 Aug 2008 \*) Feature: the ngx\_http\_xslt\_module. \*) Feature: the "$arg\_..." variables. \*) Feature: Solaris directio support. Thanks to Ivan Debnar.…

---

## [Forward all posts through proxy to mongrels](https://www.ruby-forum.com/t/forward-all-posts-through-proxy-to-mongrels/144968)

<div class="topic-metadata">

**Author:** [@toro04](https://www.ruby-forum.com/u/toro04)\
**Replies:** 0\
**Last updated:** [August 4, 2008, 8:32pm UTC](https://www.ruby-forum.com/t/forward-all-posts-through-proxy-to-mongrels/144968 "2008-08-04T20:32:09Z")

</div>

I’m using caching in rails, as well as restful routes. My issue is that the url for the save action looks exactly like the url for the show action, so attempts to save get sent by nginx directly to the cache instead …

---

## [A disk space problem when using nginx 0.6.32 and apache2](https://www.ruby-forum.com/t/a-disk-space-problem-when-using-nginx-0-6-32-and-apache2/144698)

<div class="topic-metadata">

**Author:** [@baalchina](https://www.ruby-forum.com/u/baalchina)\
**Replies:** 3\
**Last updated:** [August 4, 2008, 6:13pm UTC](https://www.ruby-forum.com/t/a-disk-space-problem-when-using-nginx-0-6-32-and-apache2/144698 "2008-08-04T18:13:12Z")

</div>

Hi, everyone. I am using an nginx 0.6.32 and apache2 in a CentOS 4.4 server, running a php web forum. Apache listening in 127.0.0.1:81, and nginx proxy php requests to apache. I made my /usr/local 10g space. But I fo…

---

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

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [August 4, 2008, 5:53pm UTC](https://www.ruby-forum.com/t/announce-nginx-0-7-7-for-windows-2000-xp-vista-win32/144953 "2008-08-04T17:53:49Z")

</div>

Nginx for Windows 0.7.7 is not available for download: http://www.kevinworthington.com/2008/08/04/nginx-for-windows-077-is-now-available/ Thanks, Kevin

---

## [Why $scheme in proxy\_pass url does not work](https://www.ruby-forum.com/t/why-scheme-in-proxy-pass-url-does-not-work/144886)

<div class="topic-metadata">

**Author:** [@alexp](https://www.ruby-forum.com/u/alexp)\
**Replies:** 0\
**Last updated:** [August 4, 2008, 12:03am UTC](https://www.ruby-forum.com/t/why-scheme-in-proxy-pass-url-does-not-work/144886 "2008-08-04T00:03:31Z")

</div>

Hi, I’m wondering why $scheme in proxy\_pass url does not work? Using nginx 0.6.24 The following does not work and results in BAD gateway error location ~ ^/~ { proxy\_pass $scheme://user-web.zopa.org; include /etc/n…

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

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