# Server

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

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

---

## [Connections time out before proxy\_connect\_timeout](https://www.ruby-forum.com/t/connections-time-out-before-proxy-connect-timeout/211287)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 31, 2011, 7:08pm UTC](https://www.ruby-forum.com/t/connections-time-out-before-proxy-connect-timeout/211287 "2011-08-31T19:08:36Z")

</div>

Hi, I’ve got Nginx set up to handle SSL connections, decode them, and proxy them to a Java application. Every so often the Java stack pauses while it does a GC, and the proxy connections time out. The odd thing is th…

---

## [Directive only for certain alias](https://www.ruby-forum.com/t/directive-only-for-certain-alias/211274)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 31, 2011, 4:04pm UTC](https://www.ruby-forum.com/t/directive-only-for-certain-alias/211274 "2011-08-31T16:04:01Z")

</div>

Hi guys! I’ve been using nginx for a while and I’m very pleased with it’s performance. However, I didn’t manage to setup one thing, maybe someone has an idea… Before using nginx, I used apache and I had a configurati…

---

## [Nginx + apache : REMOTE\_ADDR and REMOTE\_HOST bug](https://www.ruby-forum.com/t/nginx-apache-remote-addr-and-remote-host-bug/211244)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 16\
**Last updated:** [August 31, 2011, 2:46pm UTC](https://www.ruby-forum.com/t/nginx-apache-remote-addr-and-remote-host-bug/211244 "2011-08-31T14:46:09Z")

</div>

Hello, i’ve got a “funny” bug. My installation is Nginx 1.0 and apache ( httpd ) behind. Apache got’s mod\_rpaf activated and HostNameLookups On. When testing a php script i find this problem : \_SERVER\[“REMOTE\_HOST”\]…

---

## [Nginx linux packages](https://www.ruby-forum.com/t/nginx-linux-packages/211039)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 17\
**Last updated:** [August 31, 2011, 2:17pm UTC](https://www.ruby-forum.com/t/nginx-linux-packages/211039 "2011-08-31T14:17:09Z")

</div>

Hi, We have created apt and yum repositories for nginx users on Linux. They are available on Index of /packages/ for CentOS/RHEL 5 and 6, Ubuntu 10.04 and Debian 6. There are plans to update packages as soon as new…

---

## [Fire and forget requests](https://www.ruby-forum.com/t/fire-and-forget-requests/211257)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [August 31, 2011, 11:43am UTC](https://www.ruby-forum.com/t/fire-and-forget-requests/211257 "2011-08-31T11:43:19Z")

</div>

Hi, We have a very specific use case and are trying to find a solution for it. We started looking at nginx as a possibility for handling this use case as we already use nginx for some of our other webserver duties. …

---

## [How does nginx get the TimeZone of local system while compile & install?](https://www.ruby-forum.com/t/how-does-nginx-get-the-timezone-of-local-system-while-compile-install/211241)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 31, 2011, 4:39am UTC](https://www.ruby-forum.com/t/how-does-nginx-get-the-timezone-of-local-system-while-compile-install/211241 "2011-08-31T04:39:32Z")

</div>

hi,ALL it’s me,i come here again and post my problem here. last weekend,i uninstalled the old version of nginx (1.0.4),and installed the newest development version 1.1.1 on my VPS. but,unfortunately that i found that…

---

## [Docs for connection\_pool\_size and request\_pool\_size (on Wiki) updated based on http://markmail.org/m](https://www.ruby-forum.com/t/docs-for-connection-pool-size-and-request-pool-size-on-wiki-updated-based-on-http-markmail-org-m/211258)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 31, 2011, 2:25am UTC](https://www.ruby-forum.com/t/docs-for-connection-pool-size-and-request-pool-size-on-wiki-updated-based-on-http-markmail-org-m/211258 "2011-08-31T02:25:47Z")

</div>

Folks, Based on Igor S. response here Re: \[?? Probable Spam\] Re: about "connection\_pool\_size" and "request\_pool\_size" - Igor Sysoev - ru.sysoev.nginx - MarkMail I have added docs for connection\_pool\_size and request\_p…

---

## [Cach override headers](https://www.ruby-forum.com/t/cach-override-headers/211247)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 30, 2011, 7:22pm UTC](https://www.ruby-forum.com/t/cach-override-headers/211247 "2011-08-30T19:22:38Z")

</div>

Hi Could anyone supply a concise list of the headers that an upstream server may return which will override my cache age/time values as set in nginx.conf I believe there are quite a few but would like a definitive li…

---

## [Performance issus, please help?](https://www.ruby-forum.com/t/performance-issus-please-help/211198)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 16\
**Last updated:** [August 30, 2011, 1:32pm UTC](https://www.ruby-forum.com/t/performance-issus-please-help/211198 "2011-08-30T13:32:58Z")

</div>

Hey All, I am pretty much a noobie at nginx and i really need some help. I am using nginx as a reverse proxy server to serve primarily as a load balancer. I am using almost only dynamic files. The back end servers are …

---

## [Nginx-1.1.0](https://www.ruby-forum.com/t/nginx-1-1-0/210166)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [August 30, 2011, 6:59am UTC](https://www.ruby-forum.com/t/nginx-1-1-0/210166 "2011-08-30T06:59:59Z")

</div>

Changes with nginx 1.1.0 01 Aug 2011 \*) Feature: cache loader run time decrease. \*) Feature: "loader\_files", "loader\_sleep", and "loader\_threshold" options of the "proxy/fast…

---

## [Verifying uploaded files with ClamAV before upstream](https://www.ruby-forum.com/t/verifying-uploaded-files-with-clamav-before-upstream/211192)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 30, 2011, 2:38am UTC](https://www.ruby-forum.com/t/verifying-uploaded-files-with-clamav-before-upstream/211192 "2011-08-30T02:38:11Z")

</div>

Hi! I have a webapp that allows users to upload files. But before that webapp sees the files, I need to check them for viruses (with ClamAV). Requests are proxied by Nginx with a classic proxy\_pass directive. I have …

---

## [Limiting connections / max download amount - how can nginx help?](https://www.ruby-forum.com/t/limiting-connections-max-download-amount-how-can-nginx-help/211223)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 11:19pm UTC](https://www.ruby-forum.com/t/limiting-connections-max-download-amount-how-can-nginx-help/211223 "2011-08-29T23:19:04Z")

</div>

Hi, I’m loving how flexible Nginx is, and how much is built into a simple default build. Thanks to everyone involved. I’m at the point now though where I need to be able to limit connections to a site on a per user ba…

---

## [uWSGI 0.9.9](https://www.ruby-forum.com/t/uwsgi-0-9-9/211212)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 5:49pm UTC](https://www.ruby-forum.com/t/uwsgi-0-9-9/211212 "2011-08-29T17:49:11Z")

</div>

Hi everyone, i am pleased to announce a new major release of the uWSGI project. The 0.9.9 version focuses on optimizations in various area, an improved spooler and native gevent support. A new python-specific feature…

---

## [Fwd: busywaiting without blocking event loop OR timers](https://www.ruby-forum.com/t/fwd-busywaiting-without-blocking-event-loop-or-timers/211207)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 3:36pm UTC](https://www.ruby-forum.com/t/fwd-busywaiting-without-blocking-event-loop-or-timers/211207 "2011-08-29T15:36:24Z")

</div>

hello everyone, \[this is a crosspost from nginx-devel, which seems awful quiet these days …\] i’m working on a module that uses ngx\_event\_connect to connect to a 3rdparty service and parses its request. the answer de…

---

## [$fastcgi\_script\_name set incorrectly with alias directive](https://www.ruby-forum.com/t/fastcgi-script-name-set-incorrectly-with-alias-directive/211189)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 28, 2011, 11:47pm UTC](https://www.ruby-forum.com/t/fastcgi-script-name-set-incorrectly-with-alias-directive/211189 "2011-08-28T23:47:13Z")

</div>

Hi, I having trouble getting alias directive to work as I would expect. One thing I find is that the location part of the request is not being dropped in the $fastcgi\_script\_name. Here’s my location block locat…

---

## [Help](https://www.ruby-forum.com/t/help/211184)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 28, 2011, 9:55pm UTC](https://www.ruby-forum.com/t/help/211184 "2011-08-28T21:55:23Z")

</div>

I keep getting erorr 404 with nginx underneath can you please tell me what is causing this, it is interferring with my access to web pages that I know and trust. Many thanks Lesley

---

## [Incorrect $request\_filename in 1.0.5?](https://www.ruby-forum.com/t/incorrect-request-filename-in-1-0-5/211174)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 28, 2011, 7:48pm UTC](https://www.ruby-forum.com/t/incorrect-request-filename-in-1-0-5/211174 "2011-08-28T19:48:52Z")

</div>

Hi, I’ve recently compiled nginx 1.0.5 on localhost (debian), and have set up a test site so that i may access it http://testsite in the browser (set “testsite” to 127.0.0.1 in /etc/hosts and an nginx server config wi…

---

## [Separate UIDs for nginx](https://www.ruby-forum.com/t/separate-uids-for-nginx/211163)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [August 27, 2011, 4:17pm UTC](https://www.ruby-forum.com/t/separate-uids-for-nginx/211163 "2011-08-27T16:17:42Z")

</div>

Hi everyone, I am planning to move away from apache itk + mod\_php to nginx and php-fpm. I have a few virtual hosts (less than 10) and unix user-accounts associated with these vhosts. I already found the pool option o…

---

## [Map module regular expression help](https://www.ruby-forum.com/t/map-module-regular-expression-help/211132)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 26, 2011, 6:05pm UTC](https://www.ruby-forum.com/t/map-module-regular-expression-help/211132 "2011-08-26T18:05:48Z")

</div>

Hi, In the wiki for the map module (Module ngx\_http\_map\_module) the following is given as an example: map $uri $myvalue { /aa /mapped\_aa; ~^/aa/(?.\*)$ /mapped\_bb/$suffix; } The second form, the…

---

## [403 Error with hostname, but not IP](https://www.ruby-forum.com/t/403-error-with-hostname-but-not-ip/211122)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 26, 2011, 4:07pm UTC](https://www.ruby-forum.com/t/403-error-with-hostname-but-not-ip/211122 "2011-08-26T16:07:03Z")

</div>

Hi. I’m getting a 403 error when navigating to my Wordpress site served by NginX. Here’s the error message: \[error\] 1140#0: \*1 directory index of “/var/www/mysite.com/public/” is forbidden, client: 99.46.122.45, ser…

---

## [Adding Hit/Miss header to proxied requests](https://www.ruby-forum.com/t/adding-hit-miss-header-to-proxied-requests/211096)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 26, 2011, 10:23am UTC](https://www.ruby-forum.com/t/adding-hit-miss-header-to-proxied-requests/211096 "2011-08-26T10:23:13Z")

</div>

Hi, We’re using a pretty simple setup of ipvsadm balancing between 6 nginx caching-proxies with 3 nginx backend servers configured. When the request hits the proxy, I add a header to show which proxy serviced the req…

---

## [Proxy request to all backend servers](https://www.ruby-forum.com/t/proxy-request-to-all-backend-servers/210703)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [August 26, 2011, 10:10am UTC](https://www.ruby-forum.com/t/proxy-request-to-all-backend-servers/210703 "2011-08-26T10:10:51Z")

</div>

Hello, Given my nginx (as a http reverse proxy) has two backend servers, one is 192.168.1.1, another is 192.168.1.2 When a request income, I want to pass it to the both application servers. Can I setup nginx doing i…

---

## [Possible Arbitrary Code Execution with Null Bytes (Nginx + PHP)](https://www.ruby-forum.com/t/possible-arbitrary-code-execution-with-null-bytes-nginx-php/211120)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 26, 2011, 5:05am UTC](https://www.ruby-forum.com/t/possible-arbitrary-code-execution-with-null-bytes-nginx-php/211120 "2011-08-26T05:05:53Z")

</div>

Hi guys, Just for your information, there is a security hole that may be exploited by malicious users, when PHP and older versions of nginx (0.5., 0.6., 0.7 \<= 0.7.65, 0.8 \<= 0.8.37) being used. And it has been widel…

---

## [HttpRefererModule long tail verification](https://www.ruby-forum.com/t/httpreferermodule-long-tail-verification/211118)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [August 26, 2011, 1:17am UTC](https://www.ruby-forum.com/t/httpreferermodule-long-tail-verification/211118 "2011-08-26T01:17:39Z")

</div>

I am considering the following code to block image hotlinking, while allowing Google images and Page Speed CDN Service access: location ~ \\.(jpg|jpeg|gif|png|ico|flv|mp3|mpg|mpeg)$ { expires max; valid\_referers bl…

---

## [From: lizvgolly@yahoo.co.uk From Elizabeth Roberts. Problem with nginx](https://www.ruby-forum.com/t/from-lizvgolly-yahoo-co-uk-from-elizabeth-roberts-problem-with-nginx/211099)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [August 25, 2011, 5:54pm UTC](https://www.ruby-forum.com/t/from-lizvgolly-yahoo-co-uk-from-elizabeth-roberts-problem-with-nginx/211099 "2011-08-25T17:54:38Z")

</div>

Dear Sir/Madam, I am emailing an enquirery about the problem that I have been getting when I try to enter a word into the Yahoo searcher box. It brings me to 404 NOT FOUND with nginx underneath it. This is also happen…

---

## [HttpAdditionModule](https://www.ruby-forum.com/t/httpadditionmodule/211074)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 25, 2011, 5:20am UTC](https://www.ruby-forum.com/t/httpadditionmodule/211074 "2011-08-25T05:20:46Z")

</div>

Hi Guys, I am trying to use the HttpAdditionModule module but instead of inserting content before or after the body, I want to put content within the body. Anyone have any ideas on if there any ways to modify the mod…

---

## [Problem with Direct-Linking-Prevention](https://www.ruby-forum.com/t/problem-with-direct-linking-prevention/211005)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 24, 2011, 8:30pm UTC](https://www.ruby-forum.com/t/problem-with-direct-linking-prevention/211005 "2011-08-24T20:30:11Z")

</div>

Hello! Yesterday I’ve switched from Apache2 to Nginx - and ran into some problems with the rewrite Rules. I tried to do something like: SetEnvIf Referer mydomain.com localreferer \<FilesMatch .(rar|zip)$\> Order deny…

---

## [Ngx\_http\_redis-0.3.4 released](https://www.ruby-forum.com/t/ngx-http-redis-0-3-4-released/211055)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 24, 2011, 4:40pm UTC](https://www.ruby-forum.com/t/ngx-http-redis-0-3-4-released/211055 "2011-08-24T16:40:17Z")

</div>

ngx\_http\_redis module version 0.3.4 released, available for immediate download at http://people.freebsd.org/~osa/ngx\_http\_redis-0.3.4.tar.gz SHA256 (ngx\_http\_redis-0.3.4.tar.gz) = aedf72c3d954db0c2ffea2d99cbca7489a4f8…

---

## [Strange cookie behavior using HttpUserIdModule](https://www.ruby-forum.com/t/strange-cookie-behavior-using-httpuseridmodule/198218)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [August 24, 2011, 3:11pm UTC](https://www.ruby-forum.com/t/strange-cookie-behavior-using-httpuseridmodule/198218 "2011-08-24T15:11:53Z")

</div>

Hey all, I’m seeing a strange behavior using the HttpUserIdModule. I am seeing significantly more set operations that I would expect. The ratio of about 50% sets to 50% gets remains constant regardless of the days …

---

## [Mysterious proxy timeout at 2 min](https://www.ruby-forum.com/t/mysterious-proxy-timeout-at-2-min/211044)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 24, 2011, 12:40pm UTC](https://www.ruby-forum.com/t/mysterious-proxy-timeout-at-2-min/211044 "2011-08-24T12:40:24Z")

</div>

Hello I am configuring nginx to proxy to a node.js server which I am using for long-polling. I want nginx to hold the connection open just over 5 minutes so that the node server can respond with content, or at least …

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

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