# Server

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

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

---

## [Calculating the max. clients by worker\_connections](https://www.ruby-forum.com/t/calculating-the-max-clients-by-worker-connections/202649)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [November 7, 2011, 8:55am UTC](https://www.ruby-forum.com/t/calculating-the-max-clients-by-worker-connections/202649 "2011-11-07T08:55:40Z")

</div>

In the wiki (http://wiki.nginx.org/EventsModule#worker\_connections), it said: The worker\_connections and worker\_proceses from the main section allows you to calculate maxclients value: max\_clients = worker\_processes…

---

## [Ngx.req.get\_post\_args Issue](https://www.ruby-forum.com/t/ngx-req-get-post-args-issue/213574)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [November 6, 2011, 11:21am UTC](https://www.ruby-forum.com/t/ngx-req-get-post-args-issue/213574 "2011-11-06T11:21:20Z")

</div>

\-\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* START -\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* if ngx.var.request\_method == “POST” then ngx.req.read\_body() local post\_args = ngx.req.get\_post\_args() for my\_key, v in pairs( post\_args ) do if type(v) ==…

---

## [Beyond proxy\_pass](https://www.ruby-forum.com/t/beyond-proxy-pass/213550)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [November 5, 2011, 12:05am UTC](https://www.ruby-forum.com/t/beyond-proxy-pass/213550 "2011-11-05T00:05:10Z")

</div>

I have a situation where I have a very high write intensive site in nginx. This site aggregates GPS positions for transit from a high amount of devices. The incoming traffic generates push notifications with the push…

---

## [504 Gateway Time out Nginx 1.0.4: Upstream time out](https://www.ruby-forum.com/t/504-gateway-time-out-nginx-1-0-4-upstream-time-out/213492)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 4, 2011, 8:38pm UTC](https://www.ruby-forum.com/t/504-gateway-time-out-nginx-1-0-4-upstream-time-out/213492 "2011-11-04T20:38:37Z")

</div>

I am using NGINX 1.0.4 on Redhat Linux 5 and I am having the error message: 504 Gateway Time out NGINX 1.0.4 HERE IS THE DETAIL OF MY ERROR.LOG FILE; 2011/11/03 09:05:11 \[error\] 22348#0: \*898 upstream timed out (110 …

---

## [HTTP Request filter module](https://www.ruby-forum.com/t/http-request-filter-module/213475)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [November 4, 2011, 3:12pm UTC](https://www.ruby-forum.com/t/http-request-filter-module/213475 "2011-11-04T15:12:23Z")

</div>

I have a requirement for HTTP request filter. Whenever I receive a HTTP request this filter module should read the request and does some internal statistical work, it doesn’t manipulate the request page nor creates re…

---

## [NGINX cache. Real meaning of zone\_size](https://www.ruby-forum.com/t/nginx-cache-real-meaning-of-zone-size/213530)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [November 4, 2011, 3:04pm UTC](https://www.ruby-forum.com/t/nginx-cache-real-meaning-of-zone-size/213530 "2011-11-04T15:04:56Z")

</div>

Hello, I read from the list “zone\_size” is a size of keys\_zone, i.e. shared memory zone used to store cache keys (some minimal metadata about cached pages, about 64 bytes on 32-bit platforms). but what does this prac…

---

## ["if" statement breaks try\_files?](https://www.ruby-forum.com/t/if-statement-breaks-try-files/213519)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 4, 2011, 3:02pm UTC](https://www.ruby-forum.com/t/if-statement-breaks-try-files/213519 "2011-11-04T15:02:26Z")

</div>

I’m seeing something really weird. If I put an “if” statement anywhere within the same block as a “try\_files” then it stops working. It always returns that the file exists even when it doesn’t. I’m testing against ng…

---

## [Nginx & long poll: Best practices to reduce memory and bandwidth footprint](https://www.ruby-forum.com/t/nginx-long-poll-best-practices-to-reduce-memory-and-bandwidth-footprint/213478)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 4, 2011, 1:51pm UTC](https://www.ruby-forum.com/t/nginx-long-poll-best-practices-to-reduce-memory-and-bandwidth-footprint/213478 "2011-11-04T13:51:51Z")

</div>

Can someone please answer this question on serverfault.com? -Quintin

---

## [Proxy handler to multiple servers for single request](https://www.ruby-forum.com/t/proxy-handler-to-multiple-servers-for-single-request/213526)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [November 4, 2011, 12:58pm UTC](https://www.ruby-forum.com/t/proxy-handler-to-multiple-servers-for-single-request/213526 "2011-11-04T12:58:38Z")

</div>

I have requirement where proxy handler needs to talk to multiple server before sending request to actual server where it gets processed. For example proxy handler receives user request, talks to virus scanner to see u…

---

## [Correct way to setup maintenance page in nginx](https://www.ruby-forum.com/t/correct-way-to-setup-maintenance-page-in-nginx/213498)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [November 4, 2011, 10:57am UTC](https://www.ruby-forum.com/t/correct-way-to-setup-maintenance-page-in-nginx/213498 "2011-11-04T10:57:59Z")

</div>

Hi all, I tried using this method with try\_files. Didn’t work. Also the HTTP status code(503) is not being set. location / { try\_files /var/www/during\_build.html @maintenance; proxy\_pass http://localhost:…

---

## [Slow loading SWF files during high load](https://www.ruby-forum.com/t/slow-loading-swf-files-during-high-load/213490)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 4:34pm UTC](https://www.ruby-forum.com/t/slow-loading-swf-files-during-high-load/213490 "2011-11-03T16:34:45Z")

</div>

During our busier days and hours, pages that have SWF files loading on them take a long time to load. Granted, some of our SWF files are around half a meg (.5 MB) so that’s expected, but what specific settings in th…

---

## [Ngx\_openresty 1.0.8.26 (stable) released](https://www.ruby-forum.com/t/ngx-openresty-1-0-8-26-stable-released/213482)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [November 3, 2011, 2:40pm UTC](https://www.ruby-forum.com/t/ngx-openresty-1-0-8-26-stable-released/213482 "2011-11-03T14:40:13Z")

</div>

Hi, folks! I’m happy to announce that the new stable release of ngx\_openresty, 1.0.8.26, has just been kicked out of door: OpenResty® - Open source This is the first stable release of ngx\_openresty that is based on t…

---

## [ISPConfig 3 now with full nginx support](https://www.ruby-forum.com/t/ispconfig-3-now-with-full-nginx-support/213479)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 10:43am UTC](https://www.ruby-forum.com/t/ispconfig-3-now-with-full-nginx-support/213479 "2011-11-03T10:43:33Z")

</div>

Hi, ISPConfig 3 is an open source hosting control panel for Linux which is capable of managing multiple servers from one control panel. ISPConfig is licensed under the BSD license. Its feature list is here: Today w…

---

## [How to set the proxy buffer if web server return large cookie via Set-Cookie](https://www.ruby-forum.com/t/how-to-set-the-proxy-buffer-if-web-server-return-large-cookie-via-set-cookie/213473)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 3, 2011, 8:52am UTC](https://www.ruby-forum.com/t/how-to-set-the-proxy-buffer-if-web-server-return-large-cookie-via-set-cookie/213473 "2011-11-03T08:52:06Z")

</div>

Hi, According to Module ngx\_http\_core\_module, for long uri or large cookie from browser, I can use large\_client\_header\_buffers . For the large cookie from web server via Set-Cookie, how to set proxy buffer? Shoul…

---

## [Python wsgi behind nginx: yield not behaving as expected](https://www.ruby-forum.com/t/python-wsgi-behind-nginx-yield-not-behaving-as-expected/213477)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [November 3, 2011, 8:52am UTC](https://www.ruby-forum.com/t/python-wsgi-behind-nginx-yield-not-behaving-as-expected/213477 "2011-11-03T08:52:06Z")

</div>

Hi, I want to run wsgi python code on a web server behind nginx. The server needs to respond quickly to an http request, then continue to do some (slow) work after responding. Python’s yield statement seems to fit the …

---

## [Getting my own posts but NOT replies?](https://www.ruby-forum.com/t/getting-my-own-posts-but-not-replies/213472)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [November 3, 2011, 6:18am UTC](https://www.ruby-forum.com/t/getting-my-own-posts-but-not-replies/213472 "2011-11-03T06:18:18Z")

</div>

People, I am getting my own posts to this list but NOT any replies (I have to look them up on the nginx email archive pages). I have checked out my preferences and everything looks OK - anyone got any ideas why this …

---

## [Problem with fastcgi cache](https://www.ruby-forum.com/t/problem-with-fastcgi-cache/213315)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 2, 2011, 10:43pm UTC](https://www.ruby-forum.com/t/problem-with-fastcgi-cache/213315 "2011-11-02T22:43:44Z")

</div>

Hello, I´m working with Nginx v1.0.8. I have the configuration for fastcgi cache: server { listen 8080; //many other lines of configuration fastcgi\_cache\_path /var/www/cache levels=1:2 keys\_zone=zera:10m ina…

---

## [Nginx + RoundCubeMail + SSL?](https://www.ruby-forum.com/t/nginx-roundcubemail-ssl/213447)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 2, 2011, 8:11pm UTC](https://www.ruby-forum.com/t/nginx-roundcubemail-ssl/213447 "2011-11-02T20:11:01Z")

</div>

People, Does anyone have a working setup with this combination? If so, could I see the nginx.conf (ssl.conf) file? (I have tried all sorts of Google solutions with no success). Thanks, Phil. Philip R. GPO Box 3411 …

---

## [Large\_client\_header\_buffers - meaning of number](https://www.ruby-forum.com/t/large-client-header-buffers-meaning-of-number/213453)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 2, 2011, 6:58pm UTC](https://www.ruby-forum.com/t/large-client-header-buffers-meaning-of-number/213453 "2011-11-02T18:58:27Z")

</div>

Hi, the doc says: large\_client\_header\_buffers number size What’s the meaning of number? At most number of large headers can be ‘processed’ at once? Per request or globally? If yes, what happens to the request that ex…

---

## [Nginx parse var in if file exist statement error?](https://www.ruby-forum.com/t/nginx-parse-var-in-if-file-exist-statement-error/213444)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 2, 2011, 2:51pm UTC](https://www.ruby-forum.com/t/nginx-parse-var-in-if-file-exist-statement-error/213444 "2011-11-02T14:51:31Z")

</div>

Hi guys, I found a stange bug in nginx 0.7.65, 0.8.54, and 1.0.6 Here is my setup of three machines $ nginx -V nginx version: nginx/0.7.65 TLS SNI support enabled configure arguments: --conf-path=/etc/nginx/nginx.c…

---

## [Nginx-1.0.9](https://www.ruby-forum.com/t/nginx-1-0-9/213414)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [November 2, 2011, 1:28am UTC](https://www.ruby-forum.com/t/nginx-1-0-9/213414 "2011-11-02T01:28:44Z")

</div>

Changes with nginx 1.0.9 01 Nov 2011 \*) Change: now the 0x7F-0x1F characters are escaped as \\xXX in an access\_log. \*) Change: now SIGWINCH signal works only in daemon mode. …

---

## [Proxy\_upstrem error](https://www.ruby-forum.com/t/proxy-upstrem-error/213426)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 8:23pm UTC](https://www.ruby-forum.com/t/proxy-upstrem-error/213426 "2011-11-01T20:23:44Z")

</div>

Hi, We are using nginx 0.7.67, and we need to filter a specific error, and match it with proxy\_next\_upstream. The error we need is when a client send a Connection Reset. I believe nginx filter it with “proxy\_next\_ups…

---

## [Nginx, jmeter and xml-rpc](https://www.ruby-forum.com/t/nginx-jmeter-and-xml-rpc/213408)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 1, 2011, 5:25pm UTC](https://www.ruby-forum.com/t/nginx-jmeter-and-xml-rpc/213408 "2011-11-01T17:25:34Z")

</div>

Hello nginx users, I’m experiencing issue testing java based xml-rpc service deployed on tomcat 6 using jmeter 2.5.1. When the application server is fronted by nginx 1.0.8 I’m getting http 408 error code when message …

---

## [Cache HIT’s not happening](https://www.ruby-forum.com/t/cache-hit-s-not-happening/213418)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 1, 2011, 5:23pm UTC](https://www.ruby-forum.com/t/cache-hit-s-not-happening/213418 "2011-11-01T17:23:43Z")

</div>

Hi all, Can someone please answer this question on serverfault(Its difficult to retain code formatting and images in the group mail, hence the post in serverfault.com). Thanks, Quintin

---

## [What is the right way if module doesnt provide data for upstream filters](https://www.ruby-forum.com/t/what-is-the-right-way-if-module-doesnt-provide-data-for-upstream-filters/213416)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [November 1, 2011, 4:30pm UTC](https://www.ruby-forum.com/t/what-is-the-right-way-if-module-doesnt-provide-data-for-upstream-filters/213416 "2011-11-01T16:30:25Z")

</div>

I have module, that matches data going via nginx. I am buffering data, so there is situation that there is no data to provide to upstream filters. What is the right way to do in such case? Now I am calling next\_body\_f…

---

## [Timeout when sending over 16k of data with UTF-8 characters](https://www.ruby-forum.com/t/timeout-when-sending-over-16k-of-data-with-utf-8-characters/213404)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 1, 2011, 2:56pm UTC](https://www.ruby-forum.com/t/timeout-when-sending-over-16k-of-data-with-utf-8-characters/213404 "2011-11-01T14:56:59Z")

</div>

I’m experiencing an issue where nginx and having a difficult time determining the cause. It is timing out on an HTTPS PUT (to an HTTP backend) when content length is greater than 16384 (per $content\_length) and it con…

---

## [Nginx-1.1.7](https://www.ruby-forum.com/t/nginx-1-1-7/213371)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 1, 2011, 9:21am UTC](https://www.ruby-forum.com/t/nginx-1-1-7/213371 "2011-11-01T09:21:07Z")

</div>

Changes with nginx 1.1.7 31 Oct 2011 \*) Feature: support of several resolvers in the "resolver" directive. Thanks to Kirill A. Korinskiy. \*) Bugfix: a segmentation fault occu…

---

## [First Question](https://www.ruby-forum.com/t/first-question/213403)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 1, 2011, 8:42am UTC](https://www.ruby-forum.com/t/first-question/213403 "2011-11-01T08:42:46Z")

</div>

People, I want to switch my Apache SSL to Nginx - that might help me resolve a Ruby on Rails issue and it is too much work to change all the non-SSL stuff over as well - I will do that later when I have time. So fo…

---

## [Problem with serving swf files with reverse proxy](https://www.ruby-forum.com/t/problem-with-serving-swf-files-with-reverse-proxy/213372)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 31, 2011, 4:38pm UTC](https://www.ruby-forum.com/t/problem-with-serving-swf-files-with-reverse-proxy/213372 "2011-10-31T16:38:04Z")

</div>

Hi, I’m using nginx with reverse proxy to apache. I have a wired problem, When i set .swf files to go with reverse proxy, everything works ok. When i set .swf files to be served from nginx, i get tons of errors beca…

---

## [Apache .htaccess to Nginx rewrite](https://www.ruby-forum.com/t/apache-htaccess-to-nginx-rewrite/213375)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [October 31, 2011, 4:36pm UTC](https://www.ruby-forum.com/t/apache-htaccess-to-nginx-rewrite/213375 "2011-10-31T16:36:28Z")

</div>

Hi All, I have a WP plugin and one of the futures is locking down the folder based on access level of the member. But they only support .htaccess / Apache. I don’t want to scrap my nice NGINX installation for this pr…

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

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