# Server

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

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

---

## [0.8.0 + fancyindex = error](https://www.ruby-forum.com/t/0-8-0-fancyindex-error/169355)

<div class="topic-metadata">

**Author:** [@gregbugaj](https://www.ruby-forum.com/u/gregbugaj)\
**Replies:** 6\
**Last updated:** [November 16, 2009, 6:29pm UTC](https://www.ruby-forum.com/t/0-8-0-fancyindex-error/169355 "2009-11-16T18:29:15Z")

</div>

Hello. I have problem during make with nginx 0.8.0 and fancyindex module. Error that I get: -o objs/addon/nginx\_fancyindex/ngx\_http\_fancyindex\_module.o /usr/src/nginx\_fancyindex/ngx\_http\_fancyindex\_modu…

---

## [Proxy\_cache\_key generation issues (read: globbing cache invalidation)](https://www.ruby-forum.com/t/proxy-cache-key-generation-issues-read-globbing-cache-invalidation/179054)

<div class="topic-metadata">

**Author:** [@Johan\_BergstrSSSSm](https://www.ruby-forum.com/u/Johan_BergstrSSSSm)\
**Replies:** 0\
**Last updated:** [November 16, 2009, 5:26pm UTC](https://www.ruby-forum.com/t/proxy-cache-key-generation-issues-read-globbing-cache-invalidation/179054 "2009-11-16T17:26:03Z")

</div>

Hey! At my place, we have a pretty image api written in Python. The generated images are then cached using proxy\_cache (which is awesome) and optionally purged by either a) calculating the hash and deleting in file s…

---

## [Nginx-0.7.64](https://www.ruby-forum.com/t/nginx-0-7-64/179053)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [November 16, 2009, 4:43pm UTC](https://www.ruby-forum.com/t/nginx-0-7-64/179053 "2009-11-16T16:43:19Z")

</div>

Changes with nginx 0.7.64 16 Nov 2009 \*) Security: now SSL/TLS renegotiation is disabled. Thanks to Maxim D.. \*) Bugfix: nginx sent gzipped responses to clients those do not …

---

## [Using nginx with mogilefs](https://www.ruby-forum.com/t/using-nginx-with-mogilefs/179008)

<div class="topic-metadata">

**Author:** [@Runner\_Up](https://www.ruby-forum.com/u/Runner_Up)\
**Replies:** 1\
**Last updated:** [November 16, 2009, 1:28pm UTC](https://www.ruby-forum.com/t/using-nginx-with-mogilefs/179008 "2009-11-16T13:28:26Z")

</div>

I’m already using nginx for all my web-server needs (+ reverse proxy to apache for php). I’m preparing a setup to use mogilefs for storing large media files. wish to use nginx to server the files via a “X-Accel-Redire…

---

## [Error\_log formating](https://www.ruby-forum.com/t/error-log-formating/179031)

<div class="topic-metadata">

**Author:** [@Nam](https://www.ruby-forum.com/u/Nam)\
**Replies:** 1\
**Last updated:** [November 16, 2009, 12:52pm UTC](https://www.ruby-forum.com/t/error-log-formating/179031 "2009-11-16T12:52:44Z")

</div>

Hello Everyone, I need to be able to have access to live logs, so what I have done applied the syslog patch, which works wonderfully, but there is only problem. While I am able to customize the access\_log format, the …

---

## [Error\_log format and cronosplit](https://www.ruby-forum.com/t/error-log-format-and-cronosplit/179013)

<div class="topic-metadata">

**Author:** [@William\_Dode](https://www.ruby-forum.com/u/William_Dode)\
**Replies:** 0\
**Last updated:** [November 15, 2009, 6:45pm UTC](https://www.ruby-forum.com/t/error-log-format-and-cronosplit/179013 "2009-11-15T18:45:56Z")

</div>

Hi, Is it possible to set the error\_log with combined format to can use cronosplit ? Or an other similar solution for this ? Thanks

---

## [Is it possible to deny requests automatically from all ips that request bad malformed requests 400](https://www.ruby-forum.com/t/is-it-possible-to-deny-requests-automatically-from-all-ips-that-request-bad-malformed-requests-400/179009)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [November 15, 2009, 5:31pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-deny-requests-automatically-from-all-ips-that-request-bad-malformed-requests-400/179009 "2009-11-15T17:31:36Z")

</div>

58.187.34.61 - - \[15/Nov/2009:08:22:15 -0800\] “-” 400 0 “-” “-” 58.187.34.61 - - \[15/Nov/2009:08:22:15 -0800\] “-” 400 0 “-” “-” 58.187.34.61 - - \[15/Nov/2009:08:22:15 -0800\] “-” 400 0 “-” “-” 58.187.34.61 - - \[15/Nov/…

---

## [Best way to use PHP with nginx?](https://www.ruby-forum.com/t/best-way-to-use-php-with-nginx/178920)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 18\
**Last updated:** [November 15, 2009, 4:56pm UTC](https://www.ruby-forum.com/t/best-way-to-use-php-with-nginx/178920 "2009-11-15T16:56:29Z")

</div>

I have come across a handful of different methods detailed on the Internet for getting PHP running with nginx, but haven’t come across the ‘definitive’ version. What method do the regular nginx users on here favour?

---

## [Number of connections for reverse proxy](https://www.ruby-forum.com/t/number-of-connections-for-reverse-proxy/178644)

<div class="topic-metadata">

**Author:** [@jamflava](https://www.ruby-forum.com/u/jamflava)\
**Replies:** 2\
**Last updated:** [November 15, 2009, 7:22am UTC](https://www.ruby-forum.com/t/number-of-connections-for-reverse-proxy/178644 "2009-11-15T07:22:59Z")

</div>

Hi, i have a question about the revere proxy feature: if i have 10 different IP addresses connecting to an nginx instance, and all these will be reveres-proxied to an internal server on port 8080. Will nginx also gen…

---

## [Proxy\_pass bug](https://www.ruby-forum.com/t/proxy-pass-bug/178979)

<div class="topic-metadata">

**Author:** [@supeng](https://www.ruby-forum.com/u/supeng)\
**Replies:** 3\
**Last updated:** [November 15, 2009, 3:54am UTC](https://www.ruby-forum.com/t/proxy-pass-bug/178979 "2009-11-15T03:54:41Z")

</div>

I have a tomcat server bind localhost:8080, and my nginx 0.8.24’s conf is … … server { listen 80; server\_name localhost; location / { proxy\_pass http://localhost:8080; } } … … when I access ht…

---

## [Ubuntu 9.04 + NGINX + MAGENTO = backend rewriting problem](https://www.ruby-forum.com/t/ubuntu-9-04-nginx-magento-backend-rewriting-problem/178966)

<div class="topic-metadata">

**Author:** [@bodyst](https://www.ruby-forum.com/u/bodyst)\
**Replies:** 0\
**Last updated:** [November 14, 2009, 12:56pm UTC](https://www.ruby-forum.com/t/ubuntu-9-04-nginx-magento-backend-rewriting-problem/178966 "2009-11-14T12:56:32Z")

</div>

Hello all. Im totally noob, so please hang on with me. I’ve tried to install magento ecommerce without success on my ubuntu dedicated, with nginx. Frontend works ‘ok’ i guess, but backend “doesn’t do anything”. I can …

---

## [Regex named captures patch](https://www.ruby-forum.com/t/regex-named-captures-patch/178948)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [November 13, 2009, 11:14pm UTC](https://www.ruby-forum.com/t/regex-named-captures-patch/178948 "2009-11-13T23:14:05Z")

</div>

The patch against 0.8.20. Usage examples: server { server\_name ~^(www\\.)?(?\<name\>.+)$; root $name; } location ~^(?\<script\_name\>/.+\\.php)(?\<path\_info\>.\*)$ { fastcgi\_param SCRIPT\_FILENAME /path/to/php$scr…

---

## [New HTTP protocol from Google](https://www.ruby-forum.com/t/new-http-protocol-from-google/178903)

<div class="topic-metadata">

**Author:** [@Johan\_BergstrSSSSm](https://www.ruby-forum.com/u/Johan_BergstrSSSSm)\
**Replies:** 6\
**Last updated:** [November 13, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/new-http-protocol-from-google/178903 "2009-11-13T21:50:24Z")

</div>

Hey, please don’t see this as a feature request - I just wanted to inform those who’ve missed the news about SPDY, an interesting new alternative protocol to HTTP. There are of course a plethora of alternatives even …

---

## [Re: Writing a cache module](https://www.ruby-forum.com/t/re-writing-a-cache-module/178929)

<div class="topic-metadata">

**Author:** [@cripy](https://www.ruby-forum.com/u/cripy)\
**Replies:** 1\
**Last updated:** [November 13, 2009, 7:00pm UTC](https://www.ruby-forum.com/t/re-writing-a-cache-module/178929 "2009-11-13T19:00:38Z")

</div>

Any luck on this mod\_cache like feature for Nginx Brian? I’m in a VERY similar situation as yours except I am dealing with large files. (1GB each) What really puts Nginx at the top with it’s built in proxy caching f…

---

## [Problems with authentication on nginx 0.8.19+](https://www.ruby-forum.com/t/problems-with-authentication-on-nginx-0-8-19/178914)

<div class="topic-metadata">

**Author:** [@Renaud\_Allard](https://www.ruby-forum.com/u/Renaud_Allard)\
**Replies:** 2\
**Last updated:** [November 13, 2009, 3:07pm UTC](https://www.ruby-forum.com/t/problems-with-authentication-on-nginx-0-8-19/178914 "2009-11-13T15:07:03Z")

</div>

Hello, I am currently running nginx 0.8.19 on OpenBSD 4.6 amd64 I tried upgrading to all versions above this one, but for all of them I get some very strange problems. I am running roundcube webmail (in https) using …

---

## [Mulitiple rails application with different domain name](https://www.ruby-forum.com/t/mulitiple-rails-application-with-different-domain-name/178854)

<div class="topic-metadata">

**Author:** [@geethasg](https://www.ruby-forum.com/u/geethasg)\
**Replies:** 6\
**Last updated:** [November 13, 2009, 2:14pm UTC](https://www.ruby-forum.com/t/mulitiple-rails-application-with-different-domain-name/178854 "2009-11-13T14:14:21Z")

</div>

I am using Slackware 12.1 OS, I need to deploy two rails applications (mongrel) with two different domain name with single ip. for example, maths.exam.info - path is /srv/maths.com/www/ grammar.exam.info - path i…

---

## [Module inquiry: random id / variable](https://www.ruby-forum.com/t/module-inquiry-random-id-variable/178877)

<div class="topic-metadata">

**Author:** [@icqheretic](https://www.ruby-forum.com/u/icqheretic)\
**Replies:** 1\
**Last updated:** [November 13, 2009, 10:33am UTC](https://www.ruby-forum.com/t/module-inquiry-random-id-variable/178877 "2009-11-13T10:33:04Z")

</div>

Hi all. Just fielding a question. Anyone know of a module that will set a random number? For example: seedrandom on; The goal is to have the value stored / accessible throug a variable: $randomid Just wondering if …

---

## [Try\_files internal redirect stripping QUERY\_STRING?](https://www.ruby-forum.com/t/try-files-internal-redirect-stripping-query-string/178895)

<div class="topic-metadata">

**Author:** [@jwigal](https://www.ruby-forum.com/u/jwigal)\
**Replies:** 5\
**Last updated:** [November 13, 2009, 7:37am UTC](https://www.ruby-forum.com/t/try-files-internal-redirect-stripping-query-string/178895 "2009-11-13T07:37:29Z")

</div>

Hi all, Using a fairly bog-standard try\_files → php/fastcgi config here with nginx 0.8.22. Looks very much like this: index index.php; location / { try\_files $uri $uri/ /index.php; } location ~ .php$ { includ…

---

## [ColdFusion](https://www.ruby-forum.com/t/coldfusion/166694)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [November 13, 2009, 7:20am UTC](https://www.ruby-forum.com/t/coldfusion/166694 "2009-11-13T07:20:31Z")

</div>

Hello, i would like to use cold fusion with Nginx. it’s possible ? Do you any post or tutorial can you share with me thanks you Posted at Nginx Forum:

---

## [Problem with vhost](https://www.ruby-forum.com/t/problem-with-vhost/178885)

<div class="topic-metadata">

**Author:** [@varix](https://www.ruby-forum.com/u/varix)\
**Replies:** 2\
**Last updated:** [November 13, 2009, 2:19am UTC](https://www.ruby-forum.com/t/problem-with-vhost/178885 "2009-11-13T02:19:35Z")

</div>

hallo, I have this problem: I can only show domain1 index.html file with browser adress and title. The domain2 and domain3 show’s the index.html of the default index.html file. But the browser adress and title are O…

---

## [Fails to compile with prefix on Mac?](https://www.ruby-forum.com/t/fails-to-compile-with-prefix-on-mac/178842)

<div class="topic-metadata">

**Author:** [@peterneillewis](https://www.ruby-forum.com/u/peterneillewis)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 12:41pm UTC](https://www.ruby-forum.com/t/fails-to-compile-with-prefix-on-mac/178842 "2009-11-12T12:41:12Z")

</div>

I tried both the stable (0.7.63.) and development (0.8.24) version, but both fail to even start compiling on Mac OS X 10.6 with a prefix. setenv MACOSX\_DEPLOYMENT\_TARGET 10.6 setenv CPPFLAGS -I$HOME/unix/local/include …

---

## [Proxy-forwarding to Icecast with Nginx](https://www.ruby-forum.com/t/proxy-forwarding-to-icecast-with-nginx/177829)

<div class="topic-metadata">

**Author:** [@curtisdf](https://www.ruby-forum.com/u/curtisdf)\
**Replies:** 3\
**Last updated:** [November 12, 2009, 6:00am UTC](https://www.ruby-forum.com/t/proxy-forwarding-to-icecast-with-nginx/177829 "2009-11-12T06:00:50Z")

</div>

Has anyone successfully gotten Nginx to forward-proxy to an Icecast server running on the same machine? I am trying to set up an online radio station with Icecast on my web server, but I need to tie it in with my Ngi…

---

## [Proxy\_cache with document root](https://www.ruby-forum.com/t/proxy-cache-with-document-root/178838)

<div class="topic-metadata">

**Author:** [@cripy](https://www.ruby-forum.com/u/cripy)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/proxy-cache-with-document-root/178838 "2009-11-11T23:37:29Z")

</div>

Hello all, We have a situation where we have a document root that is a network filesystem. We’d like to use Nginx to cache data locally to offload some load from the network filesystem. For our particular situation …

---

## [Nginx-0.8.23](https://www.ruby-forum.com/t/nginx-0-8-23/178789)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 6\
**Last updated:** [November 11, 2009, 7:48pm UTC](https://www.ruby-forum.com/t/nginx-0-8-23/178789 "2009-11-11T19:48:00Z")

</div>

Changes with nginx 0.8.23 11 Nov 2009 \*) Security: now SSL/TLS renegotiation is disabled. Thanks to Maxim D.. \*) Bugfix: listen unix domain socket did not inherit while online…

---

## [Nginx-0.8.24](https://www.ruby-forum.com/t/nginx-0-8-24/178806)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 4:04pm UTC](https://www.ruby-forum.com/t/nginx-0-8-24/178806 "2009-11-11T16:04:23Z")

</div>

Changes with nginx 0.8.24 11 Nov 2009 \*) Bugfix: nginx always added "Content-Encoding: gzip" response header line in 304 responses sent by ngx\_http\_gzip\_static\_module. \*) Bugf…

---

## [Occupancy of SSL connections?](https://www.ruby-forum.com/t/occupancy-of-ssl-connections/178695)

<div class="topic-metadata">

**Author:** [@Edward\_Hibbert](https://www.ruby-forum.com/u/Edward_Hibbert)\
**Replies:** 3\
**Last updated:** [November 11, 2009, 12:23pm UTC](https://www.ruby-forum.com/t/occupancy-of-ssl-connections/178695 "2009-11-11T12:23:06Z")

</div>

Has anyone done any measurement of SSL occupancy with NGINX, both for the existance of an SSL connection and for an outstanding request? I’m doing development on COMET polls, where a GET request is outstanding in the …

---

## [RE: Occupancy of SSL connections?](https://www.ruby-forum.com/t/re-occupancy-of-ssl-connections/178696)

<div class="topic-metadata">

**Author:** [@Edward\_Hibbert](https://www.ruby-forum.com/u/Edward_Hibbert)\
**Replies:** 6\
**Last updated:** [November 11, 2009, 12:14pm UTC](https://www.ruby-forum.com/t/re-occupancy-of-ssl-connections/178696 "2009-11-11T12:14:54Z")

</div>

Sorry, typo. “takes about 1GB for 10L connections” should have read “takes about 1GB for 10K connections”, i.e. almost an order of magnitude more than without SSL.

---

## [Can I limit the number of requests except my own IP?](https://www.ruby-forum.com/t/can-i-limit-the-number-of-requests-except-my-own-ip/178769)

<div class="topic-metadata">

**Author:** [@wuzhez](https://www.ruby-forum.com/u/wuzhez)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 2:26am UTC](https://www.ruby-forum.com/t/can-i-limit-the-number-of-requests-except-my-own-ip/178769 "2009-11-11T02:26:41Z")

</div>

hi all, I had used the NginxHttpLimitReqModule and NginxHttpLimitZoneModule, but they limit all IP.

---

## [Truncated mp3 files when proxy](https://www.ruby-forum.com/t/truncated-mp3-files-when-proxy/178685)

<div class="topic-metadata">

**Author:** [@danmezzetti](https://www.ruby-forum.com/u/danmezzetti)\
**Replies:** 3\
**Last updated:** [November 10, 2009, 2:52pm UTC](https://www.ruby-forum.com/t/truncated-mp3-files-when-proxy/178685 "2009-11-10T14:52:31Z")

</div>

Hi all, i’ve a strange problem: in my conf i use proxy for external requests for mp3 download to our backends in this way: location ^~ /tag/ { client\_body\_timeout 180; proxy\_pass http://192.168.61.226:8888; …

---

## [Could nginx support the socket backend server(in different machines)?](https://www.ruby-forum.com/t/could-nginx-support-the-socket-backend-server-in-different-machines/178733)

<div class="topic-metadata">

**Author:** [@wangbin579](https://www.ruby-forum.com/u/wangbin579)\
**Replies:** 4\
**Last updated:** [November 10, 2009, 1:11pm UTC](https://www.ruby-forum.com/t/could-nginx-support-the-socket-backend-server-in-different-machines/178733 "2009-11-10T13:11:51Z")

</div>

for several reasons,the backend servers are socket backend servers,and nginx seems only support unix socket and http backend server. is any way to achieve that? thanks Posted at Nginx Forum:

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

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