# Server

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

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

---

## [Apache module porting guide](https://www.ruby-forum.com/t/apache-module-porting-guide/154415)

<div class="topic-metadata">

**Author:** [@Chang\_S](https://www.ruby-forum.com/u/Chang_S)\
**Replies:** 3\
**Last updated:** [December 2, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/apache-module-porting-guide/154415 "2008-12-02T22:00:48Z")

</div>

Hi, folks. I was wondering if anyone has any guide on how to port apache module to nginx? Any help will be greatly appreciated. Thanks in advance. Chang

---

## [Mongrel\_rails start and restart differences](https://www.ruby-forum.com/t/mongrel-rails-start-and-restart-differences/154646)

<div class="topic-metadata">

**Author:** [@vanderkerkoff](https://www.ruby-forum.com/u/vanderkerkoff)\
**Replies:** 1\
**Last updated:** [December 2, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/mongrel-rails-start-and-restart-differences/154646 "2008-12-02T20:18:01Z")

</div>

Hello everyone. I’ve got a rails application that is using 3 mongrels that sit behind nginx. I’m monitoring the mongrels, nginx and mysql with Munin and I’m restarting the processes when they hit certain levels with…

---

## [Question about send\_timeout](https://www.ruby-forum.com/t/question-about-send-timeout/154638)

<div class="topic-metadata">

**Author:** [@Marlon\_de\_Boer](https://www.ruby-forum.com/u/Marlon_de_Boer)\
**Replies:** 1\
**Last updated:** [December 2, 2008, 2:56pm UTC](https://www.ruby-forum.com/t/question-about-send-timeout/154638 "2008-12-02T14:56:37Z")

</div>

Hi Igor (and other), I was wondering how the send\_timeout influences nginx, http://wiki.codemongers.com/NginxHttpCoreModule#send\_timeout, I’m still trying to get rid of a few high seconds connections. I’ve set this s…

---

## [$request\_time in logging](https://www.ruby-forum.com/t/request-time-in-logging/154624)

<div class="topic-metadata">

**Author:** [@Marlon\_de\_Boer](https://www.ruby-forum.com/u/Marlon_de_Boer)\
**Replies:** 3\
**Last updated:** [December 2, 2008, 11:01am UTC](https://www.ruby-forum.com/t/request-time-in-logging/154624 "2008-12-02T11:01:42Z")

</div>

Hi all, Does $request\_time includes the socket operations (accept(), read(), send() and close()) or only the local processing time? I’m curious because I wrote some rrdtool stats based on this log feature and seeing …

---

## [Compiling Nginx with GCC Optimization Flags](https://www.ruby-forum.com/t/compiling-nginx-with-gcc-optimization-flags/154583)

<div class="topic-metadata">

**Author:** [@joeonrails](https://www.ruby-forum.com/u/joeonrails)\
**Replies:** 3\
**Last updated:** [December 2, 2008, 10:33am UTC](https://www.ruby-forum.com/t/compiling-nginx-with-gcc-optimization-flags/154583 "2008-12-02T10:33:29Z")

</div>

Has anyone done any testing on the optimum GCC compiler flags for compiling Nginx? I usually use “-O3 -march=core2 -msse -mmmx -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer”, but would it be worthwhile using “-funr…

---

## [Nginx Equivalent to LAST\_MODIFIED variable in Apache SSI](https://www.ruby-forum.com/t/nginx-equivalent-to-last-modified-variable-in-apache-ssi/153643)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [December 2, 2008, 8:16am UTC](https://www.ruby-forum.com/t/nginx-equivalent-to-last-modified-variable-in-apache-ssi/153643 "2008-12-02T08:16:20Z")

</div>

I am working on transitioning my web sites from Apache to Nginx. In doing so, I came across an issue. Under Apache, I was able to include the timestamp when a page was last modified through the use of the following …

---

## [Authorizing HTTP proxy develop](https://www.ruby-forum.com/t/authorizing-http-proxy-develop/154193)

<div class="topic-metadata">

**Author:** [@ycheng](https://www.ruby-forum.com/u/ycheng)\
**Replies:** 2\
**Last updated:** [December 2, 2008, 7:28am UTC](https://www.ruby-forum.com/t/authorizing-http-proxy-develop/154193 "2008-12-02T07:28:11Z")

</div>

Hi all I am now developing a HTTP proxy based on nginx. My HTTP proxy works as followed: Authorizing Server ^ | +-(authorized)----\> go straightly 1 2| 3V 4 | client -\> HTTP p…

---

## [Nginx sometimes does not process short preread body (ngx\_upstream\_process\_body)](https://www.ruby-forum.com/t/nginx-sometimes-does-not-process-short-preread-body-ngx-upstream-process-body/149201)

<div class="topic-metadata">

**Author:** [@johnf](https://www.ruby-forum.com/u/johnf)\
**Replies:** 9\
**Last updated:** [December 2, 2008, 6:30am UTC](https://www.ruby-forum.com/t/nginx-sometimes-does-not-process-short-preread-body-ngx-upstream-process-body/149201 "2008-12-02T06:30:22Z")

</div>

Hello, We are using nginx/0.6.22 on Ubuntu hardy or intrepid, i386 or amd64. nginx is in front of a mongrels rails app. For one particular request, the response from the rails app is received by nginx, with the heade…

---

## [Nginx + git + trac (without Apache)?](https://www.ruby-forum.com/t/nginx-git-trac-without-apache/154608)

<div class="topic-metadata">

**Author:** [@stefans](https://www.ruby-forum.com/u/stefans)\
**Replies:** 1\
**Last updated:** [December 2, 2008, 5:01am UTC](https://www.ruby-forum.com/t/nginx-git-trac-without-apache/154608 "2008-12-02T05:01:29Z")

</div>

Hi - I’ve already installed nginx + php-fpm + xcache on a VPS (virual private server) with 500MB RAM and now I want to install a distributed revision control system (eg, git) and a bug/issue tracking system (eg, trac)…

---

## [Where is the response of subrequest](https://www.ruby-forum.com/t/where-is-the-response-of-subrequest/154534)

<div class="topic-metadata">

**Author:** [@ycheng](https://www.ruby-forum.com/u/ycheng)\
**Replies:** 2\
**Last updated:** [December 2, 2008, 4:54am UTC](https://www.ruby-forum.com/t/where-is-the-response-of-subrequest/154534 "2008-12-02T04:54:15Z")

</div>

Hi all When I do subrequest. Where does the response mount? Can I get the response message, headers and body, from ngx\_http\_reqeust\_t struct? If can, then how? Thanks

---

## [Upload-module v2.0.7](https://www.ruby-forum.com/t/upload-module-v2-0-7/154463)

<div class="topic-metadata">

**Author:** [@Chetan\_Patil](https://www.ruby-forum.com/u/Chetan_Patil)\
**Replies:** 1\
**Last updated:** [December 2, 2008, 3:51am UTC](https://www.ruby-forum.com/t/upload-module-v2-0-7/154463 "2008-12-02T03:51:16Z")

</div>

Hi, I am trying to set up nginx (0.6.32) with upload\_module (2.0.7). A couple of issues that tripped me up: upload\_pass doesn’t seem to be honored. location /ngupload { upload\_pass /rails\_upload; … } location /r…

---

## [Module docs for developers](https://www.ruby-forum.com/t/module-docs-for-developers/154599)

<div class="topic-metadata">

**Author:** [@Marcos\_N](https://www.ruby-forum.com/u/Marcos_N)\
**Replies:** 2\
**Last updated:** [December 2, 2008, 2:59am UTC](https://www.ruby-forum.com/t/module-docs-for-developers/154599 "2008-12-02T02:59:42Z")

</div>

Hi, I would like to write a module to nginx. Where can I found documentation about the classes, methods, arguments, interfaces, etc? I was reading some modules sources and see some similarity. Marcos N. +55 44 3263…

---

## [X-Accel-Redirect is urlencoding my already urlencoded request](https://www.ruby-forum.com/t/x-accel-redirect-is-urlencoding-my-already-urlencoded-request/154586)

<div class="topic-metadata">

**Author:** [@WSandrew\_L](https://www.ruby-forum.com/u/WSandrew_L)\
**Replies:** 0\
**Last updated:** [December 1, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-is-urlencoding-my-already-urlencoded-request/154586 "2008-12-01T23:08:22Z")

</div>

I use X-Accel-Redirect to proxy requests from my application to Amazon’s S3 while retaining more control over caching and expiration. To do this, I generate an authenticated S3 URL which looks something like this: ht…

---

## [Error "No input file specified" (wrong fastcgi\_param?)](https://www.ruby-forum.com/t/error-no-input-file-specified-wrong-fastcgi-param/154519)

<div class="topic-metadata">

**Author:** [@stefans](https://www.ruby-forum.com/u/stefans)\
**Replies:** 14\
**Last updated:** [December 1, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/error-no-input-file-specified-wrong-fastcgi-param/154519 "2008-12-01T20:40:16Z")

</div>

Hello Everyone - I’ve installed nginx-0.6.33 + php-5.2.6 + php-fpm-0.5.9 + xcache-1.2.2 under Debian 4.0 (Etch) on a VPS (virtual private server), using the instructions here: http://wiki.codemongers.com/NginxFullExa…

---

## [Announcing: Nginx for Windows 0.7.24](https://www.ruby-forum.com/t/announcing-nginx-for-windows-0-7-24/154559)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [December 1, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/announcing-nginx-for-windows-0-7-24/154559 "2008-12-01T17:10:51Z")

</div>

Hello, Here’s the Nginx for Windows 0.7.24 announcement: http://www.kevinworthington.com/2008/12/01/nginx-0724-for-windows-win32/ If you don’t want to read the announcement for the latest Nginx for Windows, here’s th…

---

## [Nginx-0.7.24](https://www.ruby-forum.com/t/nginx-0-7-24/154552)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [December 1, 2008, 4:37pm UTC](https://www.ruby-forum.com/t/nginx-0-7-24/154552 "2008-12-01T16:37:19Z")

</div>

Changes with nginx 0.7.24 01 Dec 2008 \*) Feature: the "if\_modified\_since" directive. \*) Bugfix: nginx did not process a FastCGI server response, if the server send too many me…

---

## [My first question on nginx - can nginx find the mail server based on domain](https://www.ruby-forum.com/t/my-first-question-on-nginx-can-nginx-find-the-mail-server-based-on-domain/154489)

<div class="topic-metadata">

**Author:** [@Stephen\_Liu](https://www.ruby-forum.com/u/Stephen_Liu)\
**Replies:** 2\
**Last updated:** [December 1, 2008, 8:20am UTC](https://www.ruby-forum.com/t/my-first-question-on-nginx-can-nginx-find-the-mail-server-based-on-domain/154489 "2008-12-01T08:20:46Z")

</div>

Hi folks, nginx is completely new to me. I’m searching around for a solution to solve my problem as mentioned hereinbelow; I have a Xen box (a virtualizaion box) with following setup Host - Debian Etch Workstation …

---

## [Nginx virtual hosts + mongrel cluster +strange problem](https://www.ruby-forum.com/t/nginx-virtual-hosts-mongrel-cluster-strange-problem/153863)

<div class="topic-metadata">

**Author:** [@alpagas](https://www.ruby-forum.com/u/alpagas)\
**Replies:** 2\
**Last updated:** [November 30, 2008, 11:29pm UTC](https://www.ruby-forum.com/t/nginx-virtual-hosts-mongrel-cluster-strange-problem/153863 "2008-11-30T23:29:23Z")

</div>

hi all! I have a dedicated host for my web application I want to run 2 rails applications with the following adress http://www.8ansapres.fr and http://blog.8ansapres.fr on my server applications have the following p…

---

## [Nginx-0.7.23](https://www.ruby-forum.com/t/nginx-0-7-23/154300)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 7\
**Last updated:** [November 29, 2008, 10:33am UTC](https://www.ruby-forum.com/t/nginx-0-7-23/154300 "2008-11-29T10:33:37Z")

</div>

Changes with nginx 0.7.23 27 Nov 2008 \*) Feature: the "delete" and "ranges" parameters in the "geo" directive. \*) Feature: speeding up loading of geo base with large number of …

---

## [Some links broken down in phpmyadmin with php-fpm](https://www.ruby-forum.com/t/some-links-broken-down-in-phpmyadmin-with-php-fpm/154109)

<div class="topic-metadata">

**Author:** [@Cherife\_Li](https://www.ruby-forum.com/u/Cherife_Li)\
**Replies:** 1\
**Last updated:** [November 29, 2008, 6:06am UTC](https://www.ruby-forum.com/t/some-links-broken-down-in-phpmyadmin-with-php-fpm/154109 "2008-11-29T06:06:26Z")

</div>

Hello guys, While adding an user within phpmyadmin, I cannot get to the new page, no error given through browser. Debugging php-fpm found nothing. Fcgi setting is: location ~ .php$ { fastcgi\_pass 127.0.0.1:9000; …

---

## [SSL questions](https://www.ruby-forum.com/t/ssl-questions/154411)

<div class="topic-metadata">

**Author:** [@archfiend997](https://www.ruby-forum.com/u/archfiend997)\
**Replies:** 3\
**Last updated:** [November 29, 2008, 2:29am UTC](https://www.ruby-forum.com/t/ssl-questions/154411 "2008-11-29T02:29:03Z")

</div>

Hello, How does the following change in 0.6.34 impact existing configurations: \*) Feature: now the “rewrite” directive does a redirect automatically if the “https://” protocol is used. What rewrites would be af…

---

## ['403 Forbidden' error after installing nginx](https://www.ruby-forum.com/t/403-forbidden-error-after-installing-nginx/154367)

<div class="topic-metadata">

**Author:** [@stefans](https://www.ruby-forum.com/u/stefans)\
**Replies:** 3\
**Last updated:** [November 28, 2008, 11:24pm UTC](https://www.ruby-forum.com/t/403-forbidden-error-after-installing-nginx/154367 "2008-11-28T23:24:17Z")

</div>

Hello - Yesterday everything worked fine when I installed nginx 0.6.33 at one VPS (virtual private server) web hosting provider (xencon.net) using Debian Etch. Today I installed nginx 0.6.34 (slightly newer) at a dif…

---

## [Unsubscribe nginx ws@develtheory.com](https://www.ruby-forum.com/t/unsubscribe-nginx-ws-develtheory-com/154399)

<div class="topic-metadata">

**Author:** [@Wilfried\_Schobeiri](https://www.ruby-forum.com/u/Wilfried_Schobeiri)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/unsubscribe-nginx-ws-develtheory-com/154399 "2008-11-28T18:14:49Z")

</div>

unsubscribe nginx removed\_email\_address@domain.invalid

---

## [Security](https://www.ruby-forum.com/t/security/154348)

<div class="topic-metadata">

**Author:** [@Sebastian\_Hennebrue](https://www.ruby-forum.com/u/Sebastian_Hennebrue)\
**Replies:** 0\
**Last updated:** [November 28, 2008, 4:19am UTC](https://www.ruby-forum.com/t/security/154348 "2008-11-28T04:19:27Z")

</div>

Hello, I just setup my first mongrel server behind a apache proxy. I recognized that a lot of explanation in the wiki and on other external pages configure mod\_proxy to connect to a localhost but simple do not config…

---

## [Rewrite rule to parse .html to .php?](https://www.ruby-forum.com/t/rewrite-rule-to-parse-html-to-php/154326)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 1\
**Last updated:** [November 27, 2008, 10:59pm UTC](https://www.ruby-forum.com/t/rewrite-rule-to-parse-html-to-php/154326 "2008-11-27T22:59:59Z")

</div>

Without editing: location ~ \\.php$ { include conf/fastcgi\_params; fastcgi\_pass unix:/home/nginx/phpcgi/USERNAME; fastcgi\_index index.php; …

---

## [How to pass referer using mod\_proxy?](https://www.ruby-forum.com/t/how-to-pass-referer-using-mod-proxy/154230)

<div class="topic-metadata">

**Author:** [@Walter\_Cruz](https://www.ruby-forum.com/u/Walter_Cruz)\
**Replies:** 2\
**Last updated:** [November 27, 2008, 10:03pm UTC](https://www.ruby-forum.com/t/how-to-pass-referer-using-mod-proxy/154230 "2008-11-27T22:03:02Z")

</div>

Hi all! I use nginx as a proxy to apache, but I got a problem: the referer header is not passed to apache. How can I configure nginx to do that?

---

## [Nginx-0.6.34](https://www.ruby-forum.com/t/nginx-0-6-34/154315)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [November 27, 2008, 5:39pm UTC](https://www.ruby-forum.com/t/nginx-0-6-34/154315 "2008-11-27T17:39:12Z")

</div>

Changes with nginx 0.6.34 27 Nov 2008 \*) Change: now the EAGAIN error returned by connect() is not considered as temporary error. \*) Change: now the "gzip\_vary" directive turn…

---

## [Proxy\_store](https://www.ruby-forum.com/t/proxy-store/154297)

<div class="topic-metadata">

**Author:** [@IstvSSSSn\_SzukSSSSc](https://www.ruby-forum.com/u/IstvSSSSn_SzukSSSSc)\
**Replies:** 2\
**Last updated:** [November 27, 2008, 3:06pm UTC](https://www.ruby-forum.com/t/proxy-store/154297 "2008-11-27T15:06:35Z")

</div>

Hi guys! How can I check if this is supported by the stable branch or not? http://wiki.codemongers.com/NginxHttpProxyModule#proxy\_store Regards, Istvan

---

## [Ssl write failed](https://www.ruby-forum.com/t/ssl-write-failed/137187)

<div class="topic-metadata">

**Author:** [@allins](https://www.ruby-forum.com/u/allins)\
**Replies:** 49\
**Last updated:** [November 27, 2008, 9:13am UTC](https://www.ruby-forum.com/t/ssl-write-failed/137187 "2008-11-27T09:13:48Z")

</div>

2008/05/09 18:25:44 \[crit\] 15521#0: \*168933 SSL\_write() failed (SSL: error:1409F07F:SSL routines:SSL3\_WRITE\_PENDING:bad write retry) while sending to client, client: 81.252.180.89, server: secure.thepinkpatch.co.uk, r…

---

## [Dynamic proxy\_pass?](https://www.ruby-forum.com/t/dynamic-proxy-pass/154048)

<div class="topic-metadata">

**Author:** [@Petite\_A](https://www.ruby-forum.com/u/Petite_A)\
**Replies:** 1\
**Last updated:** [November 26, 2008, 10:13am UTC](https://www.ruby-forum.com/t/dynamic-proxy-pass/154048 "2008-11-26T10:13:43Z")

</div>

Hello, \[nginx 0.6.32\] I would like to setup a dynamic proxy\_pass. More specifically, given an HTTP request’s authorization header, I would like to proxy the request to a specific upstream server. For example, given …

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

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