# Server

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

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

---

## [Nginx-0.7.5](https://www.ruby-forum.com/t/nginx-0-7-5/141870)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [July 1, 2008, 9:46am UTC](https://www.ruby-forum.com/t/nginx-0-7-5/141870 "2008-07-01T09:46:39Z")

</div>

Changes with nginx 0.7.5 01 Jul 2008 \*) Bugfixes in variables support in the "access\_log" directive; the bug had appeared in 0.7.4. \*) Bugfix: nginx could not be built --with…

---

## [Re: Is it possible to monitor the fair proxy balancer?](https://www.ruby-forum.com/t/re-is-it-possible-to-monitor-the-fair-proxy-balancer/141828)

<div class="topic-metadata">

**Author:** [@Brice\_F](https://www.ruby-forum.com/u/Brice_F)\
**Replies:** 1\
**Last updated:** [June 30, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-monitor-the-fair-proxy-balancer/141828 "2008-06-30T21:56:50Z")

</div>

Hi, On Sun, June 29, 2008 19:57, Grzegorz N. wrote: On sob, cze 28, 2008 at 11:36:51 +0200, Brice F. wrote: I think we could all (I mean mainly module authors) benefits from an nginx API (like the configuration sy…

---

## [Nginx-0.7.4](https://www.ruby-forum.com/t/nginx-0-7-4/141770)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 8\
**Last updated:** [June 30, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/nginx-0-7-4/141770 "2008-06-30T21:56:15Z")

</div>

Changes with nginx 0.7.4 30 Jun 2008 \*) Feature: variables support in the "access\_log" directive. \*) Feature: the "open\_log\_file\_cache" directive. \*) Feature: the -g switch. \*…

---

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

<div class="topic-metadata">

**Author:** [@allins](https://www.ruby-forum.com/u/allins)\
**Replies:** 0\
**Last updated:** [June 30, 2008, 7:42pm UTC](https://www.ruby-forum.com/t/geo-module-usage/141815 "2008-06-30T19:42:15Z")

</div>

want to make sure i understand this: 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;…

---

## [Couple of questions: mongrel + apache (shared host)](https://www.ruby-forum.com/t/couple-of-questions-mongrel-apache-shared-host/141647)

<div class="topic-metadata">

**Author:** [@chovy](https://www.ruby-forum.com/u/chovy)\
**Replies:** 1\
**Last updated:** [June 30, 2008, 6:51pm UTC](https://www.ruby-forum.com/t/couple-of-questions-mongrel-apache-shared-host/141647 "2008-06-30T18:51:46Z")

</div>

I’m on a shared host (Dreamhost to be exact). I’m only allowed one mongrel instance per application (domain). Are there any foreseeable problems with running just one mongrel? They don’t support mongrel\_clusters unle…

---

## [0.7.4 access\_log](https://www.ruby-forum.com/t/0-7-4-access-log/141792)

<div class="topic-metadata">

**Author:** [@Marcos\_N](https://www.ruby-forum.com/u/Marcos_N)\
**Replies:** 5\
**Last updated:** [June 30, 2008, 6:04pm UTC](https://www.ruby-forum.com/t/0-7-4-access-log/141792 "2008-06-30T18:04:18Z")

</div>

access\_log with variable is a features that I requested and was waiting anxious, but I try here and the access logs simple stop working. This is what I did: access\_log /qi/nginx/logs/$host.log; Any body succeed?

---

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

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [June 30, 2008, 3:43pm UTC](https://www.ruby-forum.com/t/announce-nginx-0-7-4-for-windows-win32-2000-xp-vista/141782 "2008-06-30T15:43:29Z")

</div>

Announcement here - Feedback is always welcome: http://www.kevinworthington.com/index.php/2008/06/30/announcing-nginx-074-for-windows-win32/ Download nginx/0.7.4-win32 here: http://www.kevinworthington.com/nginx/win32…

---

## [Re: Is it possible to monitor the fair proxy balancer?](https://www.ruby-forum.com/t/re-is-it-possible-to-monitor-the-fair-proxy-balancer/141671)

<div class="topic-metadata">

**Author:** [@Brice\_F](https://www.ruby-forum.com/u/Brice_F)\
**Replies:** 2\
**Last updated:** [June 29, 2008, 8:08pm UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-monitor-the-fair-proxy-balancer/141671 "2008-06-29T20:08:55Z")

</div>

On Sat, June 28, 2008 13:51, Grzegorz N. wrote: slightly overkill. I think we could all (I mean mainly module authors) benefits from an nginx API (like the configuration system) to declare centrally counters/variab…

---

## [Working with include directive and wildcards?](https://www.ruby-forum.com/t/working-with-include-directive-and-wildcards/141681)

<div class="topic-metadata">

**Author:** [@Ian\_Sefferman](https://www.ruby-forum.com/u/Ian_Sefferman)\
**Replies:** 3\
**Last updated:** [June 29, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/working-with-include-directive-and-wildcards/141681 "2008-06-29T15:49:26Z")

</div>

Hi, I’m trying to figure out an issue with the include directive and wildcards in v0.5.33 (on Ubuntu Hardy). My nginx.conf file looks like so (trimmed): http { include /u/apps/\*/current/config/nginx.conf; } Then, …

---

## [Vlad the Deployer: Problems with Paths](https://www.ruby-forum.com/t/vlad-the-deployer-problems-with-paths/141613)

<div class="topic-metadata">

**Author:** [@jonathan2000](https://www.ruby-forum.com/u/jonathan2000)\
**Replies:** 1\
**Last updated:** [June 29, 2008, 2:43pm UTC](https://www.ruby-forum.com/t/vlad-the-deployer-problems-with-paths/141613 "2008-06-29T14:43:24Z")

</div>

Hi, Having difficulty with Vlad - it’s throwing a hissy-fit, claiming it can’t find Mongrel (it was SVN earlier…). And interim solution (or “hack”) has been to put the full path to the app inside the deploy.rb, but n…

---

## [Is it possible to monitor the fair proxy balancer?](https://www.ruby-forum.com/t/is-it-possible-to-monitor-the-fair-proxy-balancer/141641)

<div class="topic-metadata">

**Author:** [@roallen](https://www.ruby-forum.com/u/roallen)\
**Replies:** 11\
**Last updated:** [June 29, 2008, 1:10am UTC](https://www.ruby-forum.com/t/is-it-possible-to-monitor-the-fair-proxy-balancer/141641 "2008-06-29T01:10:38Z")

</div>

Periodically one or more of my mongrel instances will stop getting requests from nginx (via upstream fair). The mongrel process is still running, but not getting any requests. How can I verify if nginx has taken it o…

---

## [Nginx\_uploadprogress\_module v0.5](https://www.ruby-forum.com/t/nginx-uploadprogress-module-v0-5/141653)

<div class="topic-metadata">

**Author:** [@Brice\_F](https://www.ruby-forum.com/u/Brice_F)\
**Replies:** 0\
**Last updated:** [June 28, 2008, 1:35pm UTC](https://www.ruby-forum.com/t/nginx-uploadprogress-module-v0-5/141653 "2008-06-28T13:35:55Z")

</div>

Hi, I’m proud to announce the availability of the version 0.5 of the nginx\_upload\_progress\_module. This version fixes two bugs introduced in v0.4. This version seems now stable enough to be used (but still with cauti…

---

## [Patching Ruby 1.8.6 p11X To Avoid SEGFAULTs](https://www.ruby-forum.com/t/patching-ruby-1-8-6-p11x-to-avoid-segfaults/141424)

<div class="topic-metadata">

**Author:** [@Zed\_ASShaw](https://www.ruby-forum.com/u/Zed_ASShaw)\
**Replies:** 6\
**Last updated:** [June 28, 2008, 6:22am UTC](https://www.ruby-forum.com/t/patching-ruby-1-8-6-p11x-to-avoid-segfaults/141424 "2008-06-28T06:22:53Z")

</div>

Hey everyone, I know some of you have ran into the latest security fix causing SEGFAULTs in Rails applications. This is apparently due to changes in the class duplication code in Ruby, but I don’t have much more inf…

---

## [Issue with proxy\_set\_header](https://www.ruby-forum.com/t/issue-with-proxy-set-header/141625)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 0\
**Last updated:** [June 27, 2008, 10:24pm UTC](https://www.ruby-forum.com/t/issue-with-proxy-set-header/141625 "2008-06-27T22:24:46Z")

</div>

I was having a problem where values I was setting using proxy\_set\_header in higher directives were getting lost when trying to use proxy\_set\_header in lower directives to add additional information. Then I found this …

---

## [POST, memcached, 405, and gateway timeouts](https://www.ruby-forum.com/t/post-memcached-405-and-gateway-timeouts/140937)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [June 27, 2008, 6:43pm UTC](https://www.ruby-forum.com/t/post-memcached-405-and-gateway-timeouts/140937 "2008-06-27T18:43:03Z")

</div>

I have the following situation: location ~ “foo” { error\_page 404 = /; error\_page 405 =200 /; set $memcached\_key "default"; if ($request\_uri ~ "bar") { set $memcached\_key "non-default"; } memcached\_pass ...; } lo…

---

## [Nginx + mono + fastcgi?](https://www.ruby-forum.com/t/nginx-mono-fastcgi/141606)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 1\
**Last updated:** [June 27, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/nginx-mono-fastcgi/141606 "2008-06-27T18:30:08Z")

</div>

Hi all - I am trying to port an ASP.NET web app from Windows to Linux and front end it with nginx. However I’m not sure of the process here… I installed mono packages with yum and that went ok. But I’m not sure what…

---

## [Ngx\_http\_upstream\_hash\_module with the latest stable nginx version?](https://www.ruby-forum.com/t/ngx-http-upstream-hash-module-with-the-latest-stable-nginx-version/141573)

<div class="topic-metadata">

**Author:** [@Armin\_R](https://www.ruby-forum.com/u/Armin_R)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/ngx-http-upstream-hash-module-with-the-latest-stable-nginx-version/141573 "2008-06-27T16:44:44Z")

</div>

Heya, is the latest (version 0.2?) ngx\_http\_upstream\_hash\_module working well with the latest stable nginx version, or should I use it only with nginx 0.5.21? Thaks, -A

---

## [SSL not initialized properly in a server section containing a syntax error in the server\_name direct](https://www.ruby-forum.com/t/ssl-not-initialized-properly-in-a-server-section-containing-a-syntax-error-in-the-server-name-direct/141601)

<div class="topic-metadata">

**Author:** [@Just\_Marc](https://www.ruby-forum.com/u/Just_Marc)\
**Replies:** 3\
**Last updated:** [June 27, 2008, 3:57pm UTC](https://www.ruby-forum.com/t/ssl-not-initialized-properly-in-a-server-section-containing-a-syntax-error-in-the-server-name-direct/141601 "2008-06-27T15:57:52Z")

</div>

Hi Igor, The below configuration causes SSL not to be initialized for that server section, silently. nginx listens on the port but rejects SSL connections as "client sent invalid method while reading client request …

---

## [Configless vhost](https://www.ruby-forum.com/t/configless-vhost/141482)

<div class="topic-metadata">

**Author:** [@Marcos\_N](https://www.ruby-forum.com/u/Marcos_N)\
**Replies:** 2\
**Last updated:** [June 26, 2008, 10:51pm UTC](https://www.ruby-forum.com/t/configless-vhost/141482 "2008-06-26T22:51:46Z")

</div>

I have virtualhost with configuration less feature that works like a charm! server { server\_name \_; set $host\_without\_www $host; if ($host ~\* www\\.(.\*)) { set $host\_without\_www $1; } root /var…

---

## [Access log missing info](https://www.ruby-forum.com/t/access-log-missing-info/141537)

<div class="topic-metadata">

**Author:** [@Mark\_Foster](https://www.ruby-forum.com/u/Mark_Foster)\
**Replies:** 2\
**Last updated:** [June 26, 2008, 9:43pm UTC](https://www.ruby-forum.com/t/access-log-missing-info/141537 "2008-06-26T21:43:39Z")

</div>

We are running nginx/0.6.24 on FreeBSD 6.2 The access log is not showing the client IPs as it should. Instead we see something like this: \[26/Jun/2008:11:32:14 -0700\] “GET /schee/s20/ HTTP/1.1” 200 17995 “-” “Ba…

---

## [AJP Support](https://www.ruby-forum.com/t/ajp-support/141186)

<div class="topic-metadata">

**Author:** [@Stephen\_Nelson-Smit](https://www.ruby-forum.com/u/Stephen_Nelson-Smit)\
**Replies:** 19\
**Last updated:** [June 26, 2008, 9:30pm UTC](https://www.ruby-forum.com/t/ajp-support/141186 "2008-06-26T21:30:08Z")

</div>

Hello, I currently use apache 2.2 with mod\_proxy\_ajp to load-balance a Java application running on 3 tomcat servers. I’ve had good results with nginx for a php and RoR site, and would be interested in replacing apach…

---

## [Using compiled from source Nginx 0.6.31 to stream flv](https://www.ruby-forum.com/t/using-compiled-from-source-nginx-0-6-31-to-stream-flv/141507)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 0\
**Last updated:** [June 26, 2008, 2:58pm UTC](https://www.ruby-forum.com/t/using-compiled-from-source-nginx-0-6-31-to-stream-flv/141507 "2008-06-26T14:58:57Z")

</div>

Hi list, I was able to stream flv files on my local dev machine, but now that I moved to a remote server, I get the following error message when trying to scrub through my video using FLV media player: \[warn\] 4669#0:…

---

## [Simple rewrite but](https://www.ruby-forum.com/t/simple-rewrite-but/141493)

<div class="topic-metadata">

**Author:** [@Drazen\_Milosevic](https://www.ruby-forum.com/u/Drazen_Milosevic)\
**Replies:** 1\
**Last updated:** [June 26, 2008, 1:22pm UTC](https://www.ruby-forum.com/t/simple-rewrite-but/141493 "2008-06-26T13:22:07Z")

</div>

i can’t get it working. this is the rule for Apache wich works RewriteRule ^reservation.html$ /reservation.php In nginx I tried like this rewrite ^.\*$ /reservation.php$1 last; and rewrite ^reservation.html$ /reserv…

---

## [Question about proxy\_store](https://www.ruby-forum.com/t/question-about-proxy-store/141361)

<div class="topic-metadata">

**Author:** [@Aleksandar\_L](https://www.ruby-forum.com/u/Aleksandar_L)\
**Replies:** 6\
**Last updated:** [June 26, 2008, 5:18am UTC](https://www.ruby-forum.com/t/question-about-proxy-store/141361 "2008-06-26T05:18:31Z")

</div>

Hi all, as far as I have understand this option right nginx safes the response in the proxy\_store or alias or root path. When the file is there then only a manually remove from the path can force nginx to geth a newe…

---

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

<div class="topic-metadata">

**Author:** [@allins](https://www.ruby-forum.com/u/allins)\
**Replies:** 2\
**Last updated:** [June 25, 2008, 9:12pm UTC](https://www.ruby-forum.com/t/geo-module-question/141416 "2008-06-25T21:12:31Z")

</div>

before i go to far down this road: can we do something like: 127.0.0.0/24 us/ca; ie. can we use a ‘/’ in the last part of the mapping? are their characters that can’t be used in the mapping?

---

## [Possible rewrite regular expression bug?](https://www.ruby-forum.com/t/possible-rewrite-regular-expression-bug/141185)

<div class="topic-metadata">

**Author:** [@tekhne](https://www.ruby-forum.com/u/tekhne)\
**Replies:** 16\
**Last updated:** [June 25, 2008, 8:57pm UTC](https://www.ruby-forum.com/t/possible-rewrite-regular-expression-bug/141185 "2008-06-25T20:57:03Z")

</div>

Hi all, I’m trying to migrate our server from Lighttpd. Everything has been going smoothly until I have this problem with regular expression. I suspect this is a bug with NGINX regular expression. Consider the follow…

---

## [Working offline](https://www.ruby-forum.com/t/working-offline/141121)

<div class="topic-metadata">

**Author:** [@df-sean](https://www.ruby-forum.com/u/df-sean)\
**Replies:** 2\
**Last updated:** [June 25, 2008, 8:52pm UTC](https://www.ruby-forum.com/t/working-offline/141121 "2008-06-25T20:52:04Z")

</div>

I noticed that the server will not work when I am disconnected to the internet. Should this always be the case?

---

## [One directory with 500 000 files (5-8mb each)](https://www.ruby-forum.com/t/one-directory-with-500-000-files-5-8mb-each/141056)

<div class="topic-metadata">

**Author:** [@stasbz](https://www.ruby-forum.com/u/stasbz)\
**Replies:** 10\
**Last updated:** [June 24, 2008, 10:08pm UTC](https://www.ruby-forum.com/t/one-directory-with-500-000-files-5-8mb-each/141056 "2008-06-24T22:08:52Z")

</div>

Please, Could you tell me. I will have server with nginx (OS centos +php) and one directory with 500 000 files (5-8mb each). Nginx would give files to other web server. Would i have problem in my case?

---

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

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/announce-nginx-0-7-3-for-windows-2000-xp-vista-win32/141313 "2008-06-24T16:55:43Z")

</div>

Announcement here - Feedback is always welcome: http://www.kevinworthington.com/index.php/2008/06/24/announcing-nginx-073-for-windows-win32/ Download nginx/0.7.3-win32 here: http://www.kevinworthington.com/nginx/win32…

---

## [Talk me through the upstream process](https://www.ruby-forum.com/t/talk-me-through-the-upstream-process/141295)

<div class="topic-metadata">

**Author:** [@alanwatts](https://www.ruby-forum.com/u/alanwatts)\
**Replies:** 1\
**Last updated:** [June 24, 2008, 1:08pm UTC](https://www.ruby-forum.com/t/talk-me-through-the-upstream-process/141295 "2008-06-24T13:08:30Z")

</div>

So far I am loving nginx; its doing what lighhtpd was doing but no where near consuming the CPU. Result. I would like to understand how it manages the pool of backend machines. Say for example I have: upstream backe…

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

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