# Server

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

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

---

## [No file uploads possible with mongrel?](https://www.ruby-forum.com/t/no-file-uploads-possible-with-mongrel/186720)

<div class="topic-metadata">

**Author:** [@logicat2001](https://www.ruby-forum.com/u/logicat2001)\
**Replies:** 3\
**Last updated:** [September 3, 2010, 2:19pm UTC](https://www.ruby-forum.com/t/no-file-uploads-possible-with-mongrel/186720 "2010-09-03T14:19:13Z")

</div>

Hello all! I am using mongrel in several production environments and it is working great! Now I have to put up some really large files (html multipart, no plugin used, some hundret Mb). The only thing I can produce wi…

---

## [Is Windows version still unstable?](https://www.ruby-forum.com/t/is-windows-version-still-unstable/194383)

<div class="topic-metadata">

**Author:** [@Robert\_Toth](https://www.ruby-forum.com/u/Robert_Toth)\
**Replies:** 1\
**Last updated:** [September 3, 2010, 2:02pm UTC](https://www.ruby-forum.com/t/is-windows-version-still-unstable/194383 "2010-09-03T14:02:56Z")

</div>

Hi, We are considering using Nginx as a web server (mainly for uploading files). We’d like to use it on Windows - unfortunately Linux is not an option for us. I’ve been searching the Internet and this forum for quite …

---

## [Conditional cache](https://www.ruby-forum.com/t/conditional-cache/194268)

<div class="topic-metadata">

**Author:** [@paul2791](https://www.ruby-forum.com/u/paul2791)\
**Replies:** 5\
**Last updated:** [September 3, 2010, 12:31pm UTC](https://www.ruby-forum.com/t/conditional-cache/194268 "2010-09-03T12:31:35Z")

</div>

I’ve been trying to set up two separate proxy caches, one for logged in users, one for guests. The one for guests had a very long expiry as guest pages don’t change much, User pages are very dynamic and expiry is very…

---

## [Mongrel Cluster fails to start](https://www.ruby-forum.com/t/mongrel-cluster-fails-to-start/194005)

<div class="topic-metadata">

**Author:** [@gnaroji](https://www.ruby-forum.com/u/gnaroji)\
**Replies:** 3\
**Last updated:** [September 3, 2010, 2:56am UTC](https://www.ruby-forum.com/t/mongrel-cluster-fails-to-start/194005 "2010-09-03T02:56:13Z")

</div>

Mongrel Cluster fails to start Hello, I have an issue with Mongrel cluster start-up, when I start the cluster I am getting the following error: /usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in ‘gem…

---

## [Map optimizing question](https://www.ruby-forum.com/t/map-optimizing-question/194360)

<div class="topic-metadata">

**Author:** [@Roman\_V](https://www.ruby-forum.com/u/Roman_V)\
**Replies:** 0\
**Last updated:** [September 3, 2010, 2:24am UTC](https://www.ruby-forum.com/t/map-optimizing-question/194360 "2010-09-03T02:24:00Z")

</div>

Hello, I have 2 huge map variables in my nginx.conf first one contains 350000 hostname records; second one: 115000; First map used for some conditional substitution by hostname in my module which happening not frequ…

---

## [Mogilefs module 1.0.4](https://www.ruby-forum.com/t/mogilefs-module-1-0-4/194348)

<div class="topic-metadata">

**Author:** [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Replies:** 0\
**Last updated:** [September 2, 2010, 8:46pm UTC](https://www.ruby-forum.com/t/mogilefs-module-1-0-4/194348 "2010-09-02T20:46:47Z")

</div>

Greetings! nginx mogilefs module 1.0.4 is available for testing. Changes in version 1.0.4: Added feature: multiple $mogilefs\_path variables Fixed bug: segfault on reconfiguration due to uninitialized class template …

---

## [ContentType - text/css for css files in 304 Not Modified](https://www.ruby-forum.com/t/contenttype-text-css-for-css-files-in-304-not-modified/194271)

<div class="topic-metadata">

**Author:** [@kevin](https://www.ruby-forum.com/u/kevin)\
**Replies:** 3\
**Last updated:** [September 2, 2010, 7:09pm UTC](https://www.ruby-forum.com/t/contenttype-text-css-for-css-files-in-304-not-modified/194271 "2010-09-02T19:09:35Z")

</div>

i want nginx to include ContentType text/css for css files in 304 Not Modified request here is the headers for the static css file request. you can see that there is no ContentType sent. GET /static/fan.css HTTP/1.…

---

## [Error Worker process with substitutions4nginx](https://www.ruby-forum.com/t/error-worker-process-with-substitutions4nginx/194329)

<div class="topic-metadata">

**Author:** [@Martronic\_SA](https://www.ruby-forum.com/u/Martronic_SA)\
**Replies:** 0\
**Last updated:** [September 2, 2010, 2:22pm UTC](https://www.ruby-forum.com/t/error-worker-process-with-substitutions4nginx/194329 "2010-09-02T14:22:05Z")

</div>

Hello! I need you help… I’m using nginx for two years without having any problems. I want to create sub-domains on a website and I have to rewrite the urls with the “substitutions4nginx” module. Since the installati…

---

## [What is the correct way to flush/delete proxy\_cache without restart nginx?](https://www.ruby-forum.com/t/what-is-the-correct-way-to-flush-delete-proxy-cache-without-restart-nginx/180455)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [September 2, 2010, 10:34am UTC](https://www.ruby-forum.com/t/what-is-the-correct-way-to-flush-delete-proxy-cache-without-restart-nginx/180455 "2010-09-02T10:34:54Z")

</div>

what is the correct way to flush/delete proxy\_cache without restart nginx? kill -HUP doesn’t seems to work. I tried use script like find /data/nginx/proxy\_cache2 -type f -exec rm -f {}; but the file still there, it …

---

## [Ngx\_set\_misc v0.14: extending ngx\_rewrite's "set" directive](https://www.ruby-forum.com/t/ngx-set-misc-v0-14-extending-ngx-rewrites-set-directive/194312)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [September 2, 2010, 10:14am UTC](https://www.ruby-forum.com/t/ngx-set-misc-v0-14-extending-ngx-rewrites-set-directive/194312 "2010-09-02T10:14:59Z")

</div>

Hi, folks! I’m happy to announce the first public release of our Taobao.com ngx\_set\_misc module, v0.14. ngx\_set\_misc is an nginx module that extends the standard ngx\_rewrite module’s “set” directive to support variou…

---

## [Ngx\_drizzle v0.0.12: better timeout control](https://www.ruby-forum.com/t/ngx-drizzle-v0-0-12-better-timeout-control/194310)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [September 2, 2010, 9:49am UTC](https://www.ruby-forum.com/t/ngx-drizzle-v0-0-12-better-timeout-control/194310 "2010-09-02T09:49:48Z")

</div>

Hi, folks! I’m delighted to announce the v0.0.12 release of ngx\_drizzle, a non-blocking upstream module that helps nginx talk directly to mysql, drizzle, and sqlite3 servers (and with an optional connection pool). Th…

---

## [Conditional return of proxied responses](https://www.ruby-forum.com/t/conditional-return-of-proxied-responses/194307)

<div class="topic-metadata">

**Author:** [@Neal\_Richter](https://www.ruby-forum.com/u/Neal_Richter)\
**Replies:** 0\
**Last updated:** [September 2, 2010, 9:21am UTC](https://www.ruby-forum.com/t/conditional-return-of-proxied-responses/194307 "2010-09-02T09:21:42Z")

</div>

We’re using elastic IPs yet for an auto scaling backend’s pool with possibly hundreds of instances… Costs and other irritations add up. I’ve implemented this and other useful extensions to apaches mod\_proxy here: An…

---

## [Nginx core dump](https://www.ruby-forum.com/t/nginx-core-dump/194281)

<div class="topic-metadata">

**Author:** [@iceman](https://www.ruby-forum.com/u/iceman)\
**Replies:** 3\
**Last updated:** [September 2, 2010, 3:09am UTC](https://www.ruby-forum.com/t/nginx-core-dump/194281 "2010-09-02T03:09:27Z")

</div>

Hi We are using the nginx imap mail module and we are seeing coredumps Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it …

---

## [Conditional return of proxied responses](https://www.ruby-forum.com/t/conditional-return-of-proxied-responses/194289)

<div class="topic-metadata">

**Author:** [@Neal\_Richter](https://www.ruby-forum.com/u/Neal_Richter)\
**Replies:** 0\
**Last updated:** [September 2, 2010, 1:38am UTC](https://www.ruby-forum.com/t/conditional-return-of-proxied-responses/194289 "2010-09-02T01:38:43Z")

</div>

Hi Nginx! I’m using nginx-0.8.49 as a caching proxy and would like to configure or implement the following: Proxy incoming request to back-end servers Check HTTP response headers for a unique string in either “Server…

---

## [Upstream timed out error](https://www.ruby-forum.com/t/upstream-timed-out-error/194262)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 1\
**Last updated:** [September 1, 2010, 8:37pm UTC](https://www.ruby-forum.com/t/upstream-timed-out-error/194262 "2010-09-01T20:37:09Z")

</div>

Our current configuration which uses php-fpm and nginx is causing timeout issues due to high load, we did have a server that failed this AM so that’s part of the issue. In the meantime, where / how do I increase the…

---

## [FastCGI Authorizers with nginx](https://www.ruby-forum.com/t/fastcgi-authorizers-with-nginx/194178)

<div class="topic-metadata">

**Author:** [@iT0m](https://www.ruby-forum.com/u/iT0m)\
**Replies:** 1\
**Last updated:** [August 31, 2010, 5:47pm UTC](https://www.ruby-forum.com/t/fastcgi-authorizers-with-nginx/194178 "2010-08-31T17:47:11Z")

</div>

According to the specification FastCGI supports responders, filters and authorizers. Nginx surely supports responders. I’m not sure, if it supports filters, but it definitely doesn’t support authorizers. Is there a ar…

---

## [IMAP Proxy?](https://www.ruby-forum.com/t/imap-proxy/194170)

<div class="topic-metadata">

**Author:** [@phillipoertel](https://www.ruby-forum.com/u/phillipoertel)\
**Replies:** 3\
**Last updated:** [August 31, 2010, 5:20pm UTC](https://www.ruby-forum.com/t/imap-proxy/194170 "2010-08-31T17:20:14Z")

</div>

Can nginx be used as a proxy for IMAP, so that multiple users can connect to nginx but the proxied server only sees one connection? If so, how would this be configured? Background: We have 20 users who all need acces…

---

## [GEOIP not honoring REALIP\_MODULE](https://www.ruby-forum.com/t/geoip-not-honoring-realip-module/194177)

<div class="topic-metadata">

**Author:** [@syle](https://www.ruby-forum.com/u/syle)\
**Replies:** 0\
**Last updated:** [August 31, 2010, 5:10pm UTC](https://www.ruby-forum.com/t/geoip-not-honoring-realip-module/194177 "2010-08-31T17:10:17Z")

</div>

It is assumed when we use REALIP\_MODULE and purposely set REMOTE\_ADDR to real ip of our proxies in front that this is the real client IP that GEOIP should be using. example: proxy of nginx in front of a fastcgi nginx…

---

## [Re: Nginx capping at 320 requests per second](https://www.ruby-forum.com/t/re-nginx-capping-at-320-requests-per-second/194157)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 31, 2010, 11:20am UTC](https://www.ruby-forum.com/t/re-nginx-capping-at-320-requests-per-second/194157 "2010-08-31T11:20:46Z")

</div>

Hard to say… I am not personally familiar with Tornado but I do know nginx with a very similar config with keepalive’s at 5/10 seconds will do much more than that… It’s a very odd situation. I know it sounds dumb but …

---

## [Cancel upload file](https://www.ruby-forum.com/t/cancel-upload-file/194100)

<div class="topic-metadata">

**Author:** [@ramzesua](https://www.ruby-forum.com/u/ramzesua)\
**Replies:** 1\
**Last updated:** [August 31, 2010, 11:13am UTC](https://www.ruby-forum.com/t/cancel-upload-file/194100 "2010-08-31T11:13:10Z")

</div>

Hi everyone! I’m using Nginx + upload progress module and I have a question: is there a way to stop the download file? Posted at Nginx Forum:

---

## [Too many open files](https://www.ruby-forum.com/t/too-many-open-files/194136)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 2\
**Last updated:** [August 30, 2010, 11:35pm UTC](https://www.ruby-forum.com/t/too-many-open-files/194136 "2010-08-30T23:35:19Z")

</div>

Our site is getting busy and we are now getting these errors: 2010/08/30 16:10:47 \[alert\] 4729#0: accept() failed (24: Too many open files) I’ve already looked online in several places but am unclear about how to mor…

---

## [Possible widespread PHP configuration issue - security risk](https://www.ruby-forum.com/t/possible-widespread-php-configuration-issue-security-risk/193999)

<div class="topic-metadata">

**Author:** [@ewildgoose](https://www.ruby-forum.com/u/ewildgoose)\
**Replies:** 35\
**Last updated:** [August 30, 2010, 6:47pm UTC](https://www.ruby-forum.com/t/possible-widespread-php-configuration-issue-security-risk/193999 "2010-08-30T18:47:14Z")

</div>

Look, not had a lot of success raising this quietly. The Nginx wiki has a number of very insecure PHP configuration suggestions. Anyone using these example configurations should immediately review their configuratio…

---

## [Rewrite lookup via MySQL table](https://www.ruby-forum.com/t/rewrite-lookup-via-mysql-table/193766)

<div class="topic-metadata">

**Author:** [@btafoya](https://www.ruby-forum.com/u/btafoya)\
**Replies:** 20\
**Last updated:** [August 30, 2010, 12:33pm UTC](https://www.ruby-forum.com/t/rewrite-lookup-via-mysql-table/193766 "2010-08-30T12:33:04Z")

</div>

Any chance I can use a MySQL database table to do a lookup to return the url to rewrite to? Let me explain the situation first… Magento utilizes rewrite rules heavily but does the majority of the rewrite within the F…

---

## [.htaccess rewrite rule to mongrel rewrite rule](https://www.ruby-forum.com/t/htaccess-rewrite-rule-to-mongrel-rewrite-rule/194097)

<div class="topic-metadata">

**Author:** [@rapbhan](https://www.ruby-forum.com/u/rapbhan)\
**Replies:** 0\
**Last updated:** [August 30, 2010, 10:19am UTC](https://www.ruby-forum.com/t/htaccess-rewrite-rule-to-mongrel-rewrite-rule/194097 "2010-08-30T10:19:46Z")

</div>

Hi All, The application is running on mongrel cluster and its used to serve different contents for each domain and I had implemented the cache per domain level using the below plugin: Now the problem is, since the …

---

## [Subrequest in range-filter](https://www.ruby-forum.com/t/subrequest-in-range-filter/194094)

<div class="topic-metadata">

**Author:** [@WuSSSSBingzheng](https://www.ruby-forum.com/u/WuSSSSBingzheng)\
**Replies:** 0\
**Last updated:** [August 30, 2010, 9:12am UTC](https://www.ruby-forum.com/t/subrequest-in-range-filter/194094 "2010-08-30T09:12:17Z")

</div>

hi, I want to write a filter, which may create some subrequests. And all of these subrequests need be supported by range-filter (src/http/modules/ngx\_http\_range\_filter\_module.c). But there is a check in range-header-…

---

## [How to Rip DVD to AVI/WMV/MP4/MPG/FLV/MOV/DIVX/XVID/MP3/AAC/AC3/WMA/WAV](https://www.ruby-forum.com/t/how-to-rip-dvd-to-avi-wmv-mp4-mpg-flv-mov-divx-xvid-mp3-aac-ac3-wma-wav/194083)

<div class="topic-metadata">

**Author:** [@vissjj1](https://www.ruby-forum.com/u/vissjj1)\
**Replies:** 0\
**Last updated:** [August 30, 2010, 4:50am UTC](https://www.ruby-forum.com/t/how-to-rip-dvd-to-avi-wmv-mp4-mpg-flv-mov-divx-xvid-mp3-aac-ac3-wma-wav/194083 "2010-08-30T04:50:05Z")

</div>

How to Rip DVD to AVI/WMV/MP4/MPG/FLV/MOV/DIVX/XVID/MP3/AAC/AC3/WMA/WAV…How to Rip DVD to AVI/WMV/MP4/MPG/FLV/MOV/DIVX/XVID/MP3/AAC/AC3/WMA/WAV…How to Rip DVD to AVI/WMV/MP4/MPG/FLV/MOV/DIVX/XVID/MP3/AAC/AC3/WMA/WAV…H…

---

## [RFC: Feasibility of a "dynamic module loader" built in to nginx?](https://www.ruby-forum.com/t/rfc-feasibility-of-a-dynamic-module-loader-built-in-to-nginx/193909)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 9\
**Last updated:** [August 30, 2010, 2:32am UTC](https://www.ruby-forum.com/t/rfc-feasibility-of-a-dynamic-module-loader-built-in-to-nginx/193909 "2010-08-30T02:32:32Z")

</div>

It seems (at least to me) that the past year has seen explosive growth in nginx usage and third party module development. I believe that for package management, as well as module adoption, it would be a definite move …

---

## [Test](https://www.ruby-forum.com/t/test/194078)

<div class="topic-metadata">

**Author:** [@jasedchase](https://www.ruby-forum.com/u/jasedchase)\
**Replies:** 0\
**Last updated:** [August 30, 2010, 2:12am UTC](https://www.ruby-forum.com/t/test/194078 "2010-08-30T02:12:03Z")

</div>

test Posted at Nginx Forum:

---

## [uWSGI 0.9.6](https://www.ruby-forum.com/t/uwsgi-0-9-6/194052)

<div class="topic-metadata">

**Author:** [@Roberto\_De\_Ioris](https://www.ruby-forum.com/u/Roberto_De_Ioris)\
**Replies:** 0\
**Last updated:** [August 29, 2010, 9:22am UTC](https://www.ruby-forum.com/t/uwsgi-0-9-6/194052 "2010-08-29T09:22:20Z")

</div>

I am pleased to announce the 0.9.6 release of the uWSGI project http://projects.unbit.it/uwsgi/wiki updated documentation: http://projects.unbit.it/uwsgi/wiki/Doc http://projects.unbit.it/uwsgi/wiki/Example direct d…

---

## [Nginx as a reverse proxy and SOGo](https://www.ruby-forum.com/t/nginx-as-a-reverse-proxy-and-sogo/194050)

<div class="topic-metadata">

**Author:** [@artie](https://www.ruby-forum.com/u/artie)\
**Replies:** 0\
**Last updated:** [August 29, 2010, 9:02am UTC](https://www.ruby-forum.com/t/nginx-as-a-reverse-proxy-and-sogo/194050 "2010-08-29T09:02:27Z")

</div>

Hi All, I have successfully installed SOGo and it works fine when accessed directly from the machine where it is installed. I have now set up another server which which will run nginx as a reverse proxy for traffic …

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

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