# Server

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

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

---

## [Performance difference between if(!-e) and try\_files?](https://www.ruby-forum.com/t/performance-difference-between-if-e-and-try-files/191599)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 2\
**Last updated:** [July 15, 2010, 5:16am UTC](https://www.ruby-forum.com/t/performance-difference-between-if-e-and-try-files/191599 "2010-07-15T05:16:39Z")

</div>

I am trying to generate a following in getting a small modification added to Drupal that would allow it to work with try\_files, as it doesn’t right now (full explanation here: nginx and Drupal | Drupal.org) I am wond…

---

## [Problems with imap proxy sending invalid username](https://www.ruby-forum.com/t/problems-with-imap-proxy-sending-invalid-username/191570)

<div class="topic-metadata">

**Author:** [@pat](https://www.ruby-forum.com/u/pat)\
**Replies:** 2\
**Last updated:** [July 14, 2010, 5:21pm UTC](https://www.ruby-forum.com/t/problems-with-imap-proxy-sending-invalid-username/191570 "2010-07-14T17:21:17Z")

</div>

Hello, New user of nginx, trying to get started. I set up a php authentication script. Whenever I login it seems to pass on the wrong username and does not send any password at all. For troubleshooting purposes my ph…

---

## [SSL Randomness Source](https://www.ruby-forum.com/t/ssl-randomness-source/191557)

<div class="topic-metadata">

**Author:** [@Dave\_Barton](https://www.ruby-forum.com/u/Dave_Barton)\
**Replies:** 2\
**Last updated:** [July 14, 2010, 3:01pm UTC](https://www.ruby-forum.com/t/ssl-randomness-source/191557 "2010-07-14T15:01:22Z")

</div>

We currently run nginx on the majority of our internet-facing webservers and we process a lot of SSL traffic. That’s a lot of SSL handshakes and a lot of entropy required. To help with this, we’ve bought some USB pseu…

---

## [OpenCart under Nginx with Fastcgi server configuration](https://www.ruby-forum.com/t/opencart-under-nginx-with-fastcgi-server-configuration/191556)

<div class="topic-metadata">

**Author:** [@atipico](https://www.ruby-forum.com/u/atipico)\
**Replies:** 0\
**Last updated:** [July 14, 2010, 2:07pm UTC](https://www.ruby-forum.com/t/opencart-under-nginx-with-fastcgi-server-configuration/191556 "2010-07-14T14:07:29Z")

</div>

Hi everybody. Please, does anybody installed OpenCart under Nginx with Fastcgi? I am looking forward the server configuration. The only reference I’ve found of OpenCart on the forum was in russian: http://forum.nginx…

---

## [Nginx double requests for my upstreams?](https://www.ruby-forum.com/t/nginx-double-requests-for-my-upstreams/169574)

<div class="topic-metadata">

**Author:** [@funkdoobiest](https://www.ruby-forum.com/u/funkdoobiest)\
**Replies:** 15\
**Last updated:** [July 14, 2010, 4:16am UTC](https://www.ruby-forum.com/t/nginx-double-requests-for-my-upstreams/169574 "2010-07-14T04:16:20Z")

</div>

Hi, I have a strange behavior for my site load balanced with nginx. I have 1 Loadbalancer with nginx and 3 servers with apache. sometimes a request is doubled and send to 2 of my apache webservers. this is a big pro…

---

## [Nginx problem - failed (20: Not a directory)](https://www.ruby-forum.com/t/nginx-problem-failed-20-not-a-directory/191481)

<div class="topic-metadata">

**Author:** [@ken](https://www.ruby-forum.com/u/ken)\
**Replies:** 2\
**Last updated:** [July 14, 2010, 3:15am UTC](https://www.ruby-forum.com/t/nginx-problem-failed-20-not-a-directory/191481 "2010-07-14T03:15:28Z")

</div>

I have some rewrites for the SMF forum and they work just fine. The problem I’m having is that they are filling up my error log with “failed (20: Not a directory)” messages for some reason. My rewrites are : location…

---

## [Mail proxy client timeout](https://www.ruby-forum.com/t/mail-proxy-client-timeout/191535)

<div class="topic-metadata">

**Author:** [@iceman](https://www.ruby-forum.com/u/iceman)\
**Replies:** 0\
**Last updated:** [July 14, 2010, 1:54am UTC](https://www.ruby-forum.com/t/mail-proxy-client-timeout/191535 "2010-07-14T01:54:41Z")

</div>

Hi I have a nginx server configured to handle imap mail traffic. i want to enforce the following if downstream email client does not send a command for more than 2 mins, the nginx proxy should disconnect. if ups…

---

## [Nginx imap mail timeout](https://www.ruby-forum.com/t/nginx-imap-mail-timeout/191534)

<div class="topic-metadata">

**Author:** [@vsc](https://www.ruby-forum.com/u/vsc)\
**Replies:** 0\
**Last updated:** [July 14, 2010, 1:47am UTC](https://www.ruby-forum.com/t/nginx-imap-mail-timeout/191534 "2010-07-14T01:47:53Z")

</div>

Hi I have a nginx server configured to handle imap mail traffic. i want to enforce the following if downstream email client does not send a command for more than 2 mins, the nginx proxy should disconnect. if ups…

---

## [400 Bad Request errors on a MediaWiki configured to use images from Wikimedia Commons](https://www.ruby-forum.com/t/400-bad-request-errors-on-a-mediawiki-configured-to-use-images-from-wikimedia-commons/191526)

<div class="topic-metadata">

**Author:** [@Brandon\_A](https://www.ruby-forum.com/u/Brandon_A)\
**Replies:** 1\
**Last updated:** [July 13, 2010, 11:33pm UTC](https://www.ruby-forum.com/t/400-bad-request-errors-on-a-mediawiki-configured-to-use-images-from-wikimedia-commons/191526 "2010-07-13T23:33:00Z")

</div>

First of all, I’m using nginx 0.8.45 and have a wiki on my website that’s configured to use images off of Wikimedia Commons. It saves the images onto my server and updates them at regular intervals. Most of these imag…

---

## [Tuning Nginx as a Load Balancer](https://www.ruby-forum.com/t/tuning-nginx-as-a-load-balancer/191518)

<div class="topic-metadata">

**Author:** [@WSandrew\_L](https://www.ruby-forum.com/u/WSandrew_L)\
**Replies:** 1\
**Last updated:** [July 13, 2010, 8:13pm UTC](https://www.ruby-forum.com/t/tuning-nginx-as-a-load-balancer/191518 "2010-07-13T20:13:23Z")

</div>

I’m running the 0.7 branch as the front door to 6 machines running nginx + passenger. The two workers (two core machine) are using a modest amount of CPU but I am still seeing spikes in my queue time metric. I’ve patc…

---

## [Logging sent cookies](https://www.ruby-forum.com/t/logging-sent-cookies/191516)

<div class="topic-metadata">

**Author:** [@Tomas\_Zulberti](https://www.ruby-forum.com/u/Tomas_Zulberti)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 7:26pm UTC](https://www.ruby-forum.com/t/logging-sent-cookies/191516 "2010-07-13T19:26:33Z")

</div>

Hi. I there ahny ngingx value to log the cookies sent to the user. I am using: “sent\_http\_set\_cookie”. But when sending more than one cookie, only one is logged. Thanks, Tomas Zulberti

---

## [Why is nginx caching this?](https://www.ruby-forum.com/t/why-is-nginx-caching-this/191514)

<div class="topic-metadata">

**Author:** [@adriannye](https://www.ruby-forum.com/u/adriannye)\
**Replies:** 1\
**Last updated:** [July 13, 2010, 7:06pm UTC](https://www.ruby-forum.com/t/why-is-nginx-caching-this/191514 "2010-07-13T19:06:38Z")

</div>

I can’t make nginx stop caching these files and need help. This server has nginx as a frontend for django and apache. One of the directories /media/flash/data must NOT be cached since it is edited by django. I hav…

---

## [Error Page - Edit](https://www.ruby-forum.com/t/error-page-edit/191482)

<div class="topic-metadata">

**Author:** [@Yves\_Choi](https://www.ruby-forum.com/u/Yves_Choi)\
**Replies:** 2\
**Last updated:** [July 13, 2010, 11:59am UTC](https://www.ruby-forum.com/t/error-page-edit/191482 "2010-07-13T11:59:07Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://nginx.org/mailman/listinfo/nginx

---

## [How to set a max access times within a limited time?](https://www.ruby-forum.com/t/how-to-set-a-max-access-times-within-a-limited-time/191480)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 11:16am UTC](https://www.ruby-forum.com/t/how-to-set-a-max-access-times-within-a-limited-time/191480 "2010-07-13T11:16:22Z")

</div>

I want to limit access to certain resources base on following rules: each ip can only access the resources 333 times a day (or within the last 24 hrs) no more than X simultaneous connections and no more than Xr/s …

---

## [Rewriting all requests to index.php](https://www.ruby-forum.com/t/rewriting-all-requests-to-index-php/191447)

<div class="topic-metadata">

**Author:** [@astrochase](https://www.ruby-forum.com/u/astrochase)\
**Replies:** 3\
**Last updated:** [July 13, 2010, 10:30am UTC](https://www.ruby-forum.com/t/rewriting-all-requests-to-index-php/191447 "2010-07-13T10:30:06Z")

</div>

I’m new to Nginx. How do I rewrite all requests to index.php? So for example, if http://www.example.com/some/path/ is requested, I’d like http://www.example.com/index.php to transparently handle it. How can I do this? …

---

## [Php-fpm stops responding](https://www.ruby-forum.com/t/php-fpm-stops-responding/191467)

<div class="topic-metadata">

**Author:** [@flash](https://www.ruby-forum.com/u/flash)\
**Replies:** 1\
**Last updated:** [July 13, 2010, 10:17am UTC](https://www.ruby-forum.com/t/php-fpm-stops-responding/191467 "2010-07-13T10:17:13Z")

</div>

I’m having what appears to be a fairly common problem with PHP-FPM. Every now and again, I get a string of errors in my log like this… recv() failed (104: Connection reset by peer) while reading response header from u…

---

## [Virtual hosts with smtp](https://www.ruby-forum.com/t/virtual-hosts-with-smtp/191465)

<div class="topic-metadata">

**Author:** [@SSSSSSSSSSSSS\_SS](https://www.ruby-forum.com/u/SSSSSSSSSSSSS_SS)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 6:04am UTC](https://www.ruby-forum.com/t/virtual-hosts-with-smtp/191465 "2010-07-13T06:04:21Z")

</div>

Hi, I’m very new to Nginx mail proxy feature. I have two domains that I want to be served from the same machine but different mail server application (both SMTP and POP3), running on different ports to avoid conflict…

---

## [MongoDB Nginx Module](https://www.ruby-forum.com/t/mongodb-nginx-module/191453)

<div class="topic-metadata">

**Author:** [@Christopher\_Triolo](https://www.ruby-forum.com/u/Christopher_Triolo)\
**Replies:** 2\
**Last updated:** [July 13, 2010, 4:26am UTC](https://www.ruby-forum.com/t/mongodb-nginx-module/191453 "2010-07-13T04:26:36Z")

</div>

Hi Nginx Mailing List, I’m in the process of creating a nginx module that serves files from a file system within mongoDB. Code is here: http://github.com/mdirolf/nginx-gridfs Basically we embed our C-driver into the…

---

## [Is it possible to have infinite proxy\_cache\_valid?](https://www.ruby-forum.com/t/is-it-possible-to-have-infinite-proxy-cache-valid/191420)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [July 12, 2010, 6:00pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-have-infinite-proxy-cache-valid/191420 "2010-07-12T18:00:47Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://nginx.org/mailman/listinfo/nginx

---

## [Nginx work with http\_ssl\_module problem](https://www.ruby-forum.com/t/nginx-work-with-http-ssl-module-problem/191425)

<div class="topic-metadata">

**Author:** [@crossany](https://www.ruby-forum.com/u/crossany)\
**Replies:** 1\
**Last updated:** [July 12, 2010, 4:16pm UTC](https://www.ruby-forum.com/t/nginx-work-with-http-ssl-module-problem/191425 "2010-07-12T16:16:34Z")

</div>

I have two https websites work in Nginx with http\_ssl\_module, After Iã€€modificationã€€the Nginx.conf, then I execute Nginx -s reload. I tail the nginx log, I find the nginx still work with the old nginx.conf, this m…

---

## [Authentication layer, help needed](https://www.ruby-forum.com/t/authentication-layer-help-needed/191417)

<div class="topic-metadata">

**Author:** [@AKasper](https://www.ruby-forum.com/u/AKasper)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 1:20pm UTC](https://www.ruby-forum.com/t/authentication-layer-help-needed/191417 "2010-07-12T13:20:18Z")

</div>

i am migrating from SQUID to NGINX. While using SQUID, we had a IP based authentication layer: if request to http://siteurl/servicename/service.php → check list (data is saved in a file as tupel of ip:username:passwor…

---

## [Error :404 not found when I configure nginx and memcached](https://www.ruby-forum.com/t/error-404-not-found-when-i-configure-nginx-and-memcached/191354)

<div class="topic-metadata">

**Author:** [@lvzhenyu](https://www.ruby-forum.com/u/lvzhenyu)\
**Replies:** 1\
**Last updated:** [July 12, 2010, 11:41am UTC](https://www.ruby-forum.com/t/error-404-not-found-when-i-configure-nginx-and-memcached/191354 "2010-07-12T11:41:21Z")

</div>

When I install the nginx and memcached, there is an error: 404 not found. If commenting: memcached\_pass IP:11211, the error is gone. The configure file of my nginx is as follows: worker\_processes 1; 4 daemon o…

---

## [Http keepalive proxy upstream](https://www.ruby-forum.com/t/http-keepalive-proxy-upstream/191411)

<div class="topic-metadata">

**Author:** [@Arjan\_Filius](https://www.ruby-forum.com/u/Arjan_Filius)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 9:58am UTC](https://www.ruby-forum.com/t/http-keepalive-proxy-upstream/191411 "2010-07-12T09:58:55Z")

</div>

Hello nginx mailing-list, Just entered this email list, after setup nginx as reverse proxy. Configured nginx (nginx-0.7.67) on ubuntu 10.04LTS 64 bits as https → http reverse proxy. After successfull tests, now i not…

---

## [Nginx work with http\_ssl\_module problem](https://www.ruby-forum.com/t/nginx-work-with-http-ssl-module-problem/191379)

<div class="topic-metadata">

**Author:** [@crossany](https://www.ruby-forum.com/u/crossany)\
**Replies:** 0\
**Last updated:** [July 11, 2010, 9:31am UTC](https://www.ruby-forum.com/t/nginx-work-with-http-ssl-module-problem/191379 "2010-07-11T09:31:46Z")

</div>

I have two https websites work in Nginx with http\_ssl\_module, After Iã€€modificationã€€the Nginx.conf, then I execute Nginx -s reload. I tail the nginx log, I find the nginx still work with the old nginx.conf, this m…

---

## [Nginx always redirects the page - hopes somebody reads this](https://www.ruby-forum.com/t/nginx-always-redirects-the-page-hopes-somebody-reads-this/191375)

<div class="topic-metadata">

**Author:** [@bvidinli](https://www.ruby-forum.com/u/bvidinli)\
**Replies:** 1\
**Last updated:** [July 11, 2010, 8:24am UTC](https://www.ruby-forum.com/t/nginx-always-redirects-the-page-hopes-somebody-reads-this/191375 "2010-07-11T08:24:19Z")

</div>

Hi, I hope somebody reads this i have a subdomain that is redirected to my server: server2.10tl.net when I try to access the page http://server2.10tl.net/mybb/create in the browser, it always redirect me to http://10…

---

## [How to use proxy\_set\_header set Cookie](https://www.ruby-forum.com/t/how-to-use-proxy-set-header-set-cookie/191305)

<div class="topic-metadata">

**Author:** [@yaoxinming](https://www.ruby-forum.com/u/yaoxinming)\
**Replies:** 1\
**Last updated:** [July 10, 2010, 2:47pm UTC](https://www.ruby-forum.com/t/how-to-use-proxy-set-header-set-cookie/191305 "2010-07-10T14:47:58Z")

</div>

I user a nginx to proxy a java web server,and want to add a cookie when proxy the url,my config : location /el { proxy\_set\_header Cookie “mysession=$arg\_ccvalue”; proxy\_pass http://172.16.1.30:8080/trance; } b…

---

## [Reverse proxy using nginx as frontend server](https://www.ruby-forum.com/t/reverse-proxy-using-nginx-as-frontend-server/191193)

<div class="topic-metadata">

**Author:** [@Retheesh\_Kumar\_R](https://www.ruby-forum.com/u/Retheesh_Kumar_R)\
**Replies:** 1\
**Last updated:** [July 10, 2010, 3:59am UTC](https://www.ruby-forum.com/t/reverse-proxy-using-nginx-as-frontend-server/191193 "2010-07-10T03:59:15Z")

</div>

Hello All, I am trying to configure reverse proxy on my nginx server. This server need to sit in the DMZ zone. Receive the web request and forward it to a backend web server. I have tried the configuration mentioned …

---

## [Ð—Ð´Ñ€Ð°Ð²ÑÑ‚Ð²ÑƒÐ¹Ñ‚Ðµ. Ñ€Ð°Ð·Ð±Ð°Ð²Ð»ÑŽ Ð²Ð° ÑˆÑƒ Ð¿ÑƒÑÑ‚ÑƒÑŽ Ñ€Ð°ÑÑÑ‹Ð»ÐºÑƒ ÑÐ²Ð¾Ð¸Ð¼ Ð¿Ð¸Ñ](https://www.ruby-forum.com/t/d-d-n-d-d-n-n-d-n-d-n-d-n-d-d-d-d-d-d-nz-d-d-n-n-d-n-n-n-n-nz-n-d-n-n-n-d-d-n-n-d-d-d-d-d-d-n/191340)

<div class="topic-metadata">

**Author:** [@Andrey\_Serebrov](https://www.ruby-forum.com/u/Andrey_Serebrov)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/d-d-n-d-d-n-n-d-n-d-n-d-n-d-d-d-d-d-d-nz-d-d-n-n-d-n-n-n-n-nz-n-d-n-n-n-d-d-n-n-d-d-d-d-d-d-n/191340 "2010-07-09T20:56:50Z")

</div>

úÄÒÁ×ÓÔ×ÕÊÔÅ. ÒÁÚÂÁ×ÌÀ ×ÁÛÕ ÐÕÓÔÕÀ ÒÁÓÓÙÌËÕ Ó×ÏÉÍ ÐÉÓØÍÏÍ. îÁÄÅÀÓØ ÎÁ ÓÏÔÒÕÄÎÉÞÅÓÔ×Ï. ëÓÔÁÔÉ Õ ÍÅÎÑ ÔÏÖÅ ÅÓÔØ ÓÁÊÔ http://yummyshop.ru/

---

## [Nginx-0.8.44](https://www.ruby-forum.com/t/nginx-0-8-44/191103)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 4\
**Last updated:** [July 9, 2010, 6:36pm UTC](https://www.ruby-forum.com/t/nginx-0-8-44/191103 "2010-07-09T18:36:16Z")

</div>

Changes with nginx 0.8.44 05 Jul 2010 \*) Change: now nginx does not cache by default backend responses, if they have a "Set-Cookie" header line. \*) Feature: the "listen" direc…

---

## [Last day to submit your Surge 2010 CFP!](https://www.ruby-forum.com/t/last-day-to-submit-your-surge-2010-cfp/191323)

<div class="topic-metadata">

**Author:** [@Jason\_Dixon](https://www.ruby-forum.com/u/Jason_Dixon)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 5:08pm UTC](https://www.ruby-forum.com/t/last-day-to-submit-your-surge-2010-cfp/191323 "2010-07-09T17:08:59Z")

</div>

Today is your last chance to submit a CFP abstract for the 2010 Surge Scalability Conference. The event is taking place on Sept 30 and Oct 1, 2010 in Baltimore, MD. Surge focuses on case studies that address product…

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

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