# Server

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

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

---

## [Ngnix + cyrus-imapd idled + blackberry working slow](https://www.ruby-forum.com/t/ngnix-cyrus-imapd-idled-blackberry-working-slow/208643)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 9, 2011, 9:32am UTC](https://www.ruby-forum.com/t/ngnix-cyrus-imapd-idled-blackberry-working-slow/208643 "2011-07-09T09:32:42Z")

</div>

Hi All , I am getting problem of slow blackberry syncing with nginx and cyrus-imapd setup. Below is the setup details. :– We have setup the servers with ngnix ( nginx-0.6.39-5.el5 ) and cyrus-imapd (cyrus-imapd-2.3…

---

## [Disable / ignore / redirect URLs with query strings to reduce blog spam](https://www.ruby-forum.com/t/disable-ignore-redirect-urls-with-query-strings-to-reduce-blog-spam/209215)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 8, 2011, 7:30pm UTC](https://www.ruby-forum.com/t/disable-ignore-redirect-urls-with-query-strings-to-reduce-blog-spam/209215 "2011-07-08T19:30:11Z")

</div>

Hello all, Is it possible to disable / ignore / redirect all URLs with any query string? My site doesn’t use query strings, and is suffering from blog spam links as described by these folks: How do I remove spam fro…

---

## [Re: nginx.conf File too Large](https://www.ruby-forum.com/t/re-nginx-conf-file-too-large/209184)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 8, 2011, 4:07pm UTC](https://www.ruby-forum.com/t/re-nginx-conf-file-too-large/209184 "2011-07-08T16:07:34Z")

</div>

Alexandr, As of right now we are only using the configuration for one of our customers in beta and nginx is not giving any errors. Before we migrate more customers onto the platform we wanted to get a better idea of…

---

## [Ngx\_memc v0.12: improvements in the last 8 months](https://www.ruby-forum.com/t/ngx-memc-v0-12-improvements-in-the-last-8-months/209216)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [July 8, 2011, 10:59am UTC](https://www.ruby-forum.com/t/ngx-memc-v0-12-improvements-in-the-last-8-months/209216 "2011-07-08T10:59:42Z")

</div>

Hi, list! I’ve just released ngx\_memc v0.12, which includes various improvements in the last 8 months: http://github.com/agentzh/memc-nginx-module/downloads Here’s the complete change log for this release: fixed t…

---

## [Ngx\_echo v0.36: bugfixes in the last 5 months](https://www.ruby-forum.com/t/ngx-echo-v0-36-bugfixes-in-the-last-5-months/209217)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [July 8, 2011, 10:20am UTC](https://www.ruby-forum.com/t/ngx-echo-v0-36-bugfixes-in-the-last-5-months/209217 "2011-07-08T10:20:44Z")

</div>

Hi, there! I’m happy to announce the v0.36 release of the ngx\_echo module, which includes the various bugfixes in the last 5 months. You can get the release tarball from the download page below https://github.com/age…

---

## [Access trac by domain.tld/trac instead of domain.tld/](https://www.ruby-forum.com/t/access-trac-by-domain-tld-trac-instead-of-domain-tld/209189)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 8, 2011, 3:52am UTC](https://www.ruby-forum.com/t/access-trac-by-domain-tld-trac-instead-of-domain-tld/209189 "2011-07-08T03:52:17Z")

</div>

Hi, I use nginx + gunicorn (under Debian squeeze) to run trac. It is working very well when I access it by http://domain.tld/; my problem is I also have other servers, but only one domain (dyndns) without (free) subd…

---

## [Redirect some IP addresses](https://www.ruby-forum.com/t/redirect-some-ip-addresses/208868)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 7, 2011, 5:54pm UTC](https://www.ruby-forum.com/t/redirect-some-ip-addresses/208868 "2011-07-07T17:54:17Z")

</div>

Hi forumers, As I can’t test it, I’d like to know if my redirect code is correct or not: location / { if ($remote\_addr ~ “^(62.160.71.0/24)”){ rewrite ^/(.)$ /operation\_deny3m.html permanent; } if ($remot…

---

## [Error pages/Web Authentication](https://www.ruby-forum.com/t/error-pages-web-authentication/208074)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 17\
**Last updated:** [July 7, 2011, 5:14pm UTC](https://www.ruby-forum.com/t/error-pages-web-authentication/208074 "2011-07-07T17:14:43Z")

</div>

Hello, I would like to ask for some help. Does Nginx support SHA encryption for the basic web authentication? When I use -s switch with htpasswd command I can’t log in. It works with MD5 however it looks like MD5 h…

---

## [Nginx.conf File too Large](https://www.ruby-forum.com/t/nginx-conf-file-too-large/209146)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 6, 2011, 9:42pm UTC](https://www.ruby-forum.com/t/nginx-conf-file-too-large/209146 "2011-07-06T21:42:10Z")

</div>

Hi Guys, I am sorry to email this out but I put it on the forum and got nothing back back. I’m hoping someone may be able to give me a little advice. We are trying to use nginx as a reverse proxy for a large number …

---

## [Limit\_req with IP whitelisting](https://www.ruby-forum.com/t/limit-req-with-ip-whitelisting/209141)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [July 6, 2011, 9:10pm UTC](https://www.ruby-forum.com/t/limit-req-with-ip-whitelisting/209141 "2011-07-06T21:10:00Z")

</div>

Hi folks, I want to use limit\_req with whitelisting some subnet, I have seen this post: limit\_req white list and done some test but it’s not working. I have added to server context: geo $rate { default 5; # 5r/…

---

## [Catching 400, 404 Errors FCGI](https://www.ruby-forum.com/t/catching-400-404-errors-fcgi/209117)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 6, 2011, 9:29am UTC](https://www.ruby-forum.com/t/catching-400-404-errors-fcgi/209117 "2011-07-06T09:29:05Z")

</div>

I am trying to understand how to catch 400 and 404 errors being returned back from my FCGI server; How do I specify a custom error page? I tried error\_page 404 400 /404.html; location = /404.html { ro…

---

## [Proxy\_cache\_valid directive and cache control headers from up-stream web servers](https://www.ruby-forum.com/t/proxy-cache-valid-directive-and-cache-control-headers-from-up-stream-web-servers/209112)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 6, 2011, 9:26am UTC](https://www.ruby-forum.com/t/proxy-cache-valid-directive-and-cache-control-headers-from-up-stream-web-servers/209112 "2011-07-06T09:26:37Z")

</div>

Hi, If I set “proxy\_cache\_valid 200 10m;”, while a page returned by up-stream web server has a “Cache-contro:max-age=30s” header, then how long this page will be cached? Thanks for your help in advance. xwk.

---

## [Zone\_size vs max\_size - what's the difference?](https://www.ruby-forum.com/t/zone-size-vs-max-size-whats-the-difference/209113)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 6, 2011, 9:25am UTC](https://www.ruby-forum.com/t/zone-size-vs-max-size-whats-the-difference/209113 "2011-07-06T09:25:23Z")

</div>

Hi, I’m wondering what’s the difference between the zone\_size and max\_size parameter in a proxy\_cache\_path directive like below. proxy\_cache\_path path \[levels=number\] keys\_zone=zone\_name:zone\_size \[inactive=time\] \[m…

---

## [PHP-FPM no cache](https://www.ruby-forum.com/t/php-fpm-no-cache/209044)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 6, 2011, 8:35am UTC](https://www.ruby-forum.com/t/php-fpm-no-cache/209044 "2011-07-06T08:35:21Z")

</div>

Hello, I’ve enabled caching on php scripts as below but it looks like the server is not caching at all: http { fastcgi\_cache\_path /tmp/cache levels=1:2 keys\_zone=tmp:10m inactive=5m; server { location / { … …

---

## [Ngx\_headers\_more v0.15: bug fixes in the last 6 months](https://www.ruby-forum.com/t/ngx-headers-more-v0-15-bug-fixes-in-the-last-6-months/209118)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 6, 2011, 6:17am UTC](https://www.ruby-forum.com/t/ngx-headers-more-v0-15-bug-fixes-in-the-last-6-months/209118 "2011-07-06T06:17:44Z")

</div>

Hi, all! I’m happy to announce the v0.15 release of our ngx\_headers\_more module which features the bug fixes accumulated in the last 6 months. You can download the tarball from the download page below: http://github.…

---

## [Ngx\_rds\_json v0.11: compact JSON output support](https://www.ruby-forum.com/t/ngx-rds-json-v0-11-compact-json-output-support/209116)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [July 6, 2011, 5:34am UTC](https://www.ruby-forum.com/t/ngx-rds-json-v0-11-compact-json-output-support/209116 "2011-07-06T05:34:35Z")

</div>

Hi, folks! I’m glad to announce that ngx\_rds\_json v0.11 has been released: https://github.com/agentzh/rds-json-nginx-module/downloads This release includes the new directive “rds\_json\_format compact” to emit very co…

---

## [Shortened response](https://www.ruby-forum.com/t/shortened-response/209086)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 5, 2011, 3:00pm UTC](https://www.ruby-forum.com/t/shortened-response/209086 "2011-07-05T15:00:08Z")

</div>

I’m having nginx + thin (rails) environment and somehow all my responses which are larger than 74KB are truncated to that size (ie. my json response which have up to 100KB are truncated to 74KB, same happens with larg…

---

## [Rewrite HTTP responses in "reverse proxy" mode](https://www.ruby-forum.com/t/rewrite-http-responses-in-reverse-proxy-mode/209085)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 5, 2011, 2:20pm UTC](https://www.ruby-forum.com/t/rewrite-http-responses-in-reverse-proxy-mode/209085 "2011-07-05T14:20:33Z")

</div>

Hi all, I’m trying to create a reverse proxy to serve a moodle site hosted in the LAN of my company. The site is available from the Internet but all links to static content in the HTTP responses are using the internal …

---

## [Intr process on freebsd](https://www.ruby-forum.com/t/intr-process-on-freebsd/209077)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 5, 2011, 12:47pm UTC](https://www.ruby-forum.com/t/intr-process-on-freebsd/209077 "2011-07-05T12:47:39Z")

</div>

Hi I am currently investigating moving our platform from linux to freebsd On my test server I can see an increase in cpu usage compared to linux (specifically system cpu% rather than user%) On further investigation, …

---

## [Ngx\_drizzle v0.1.0 released: now runs with mysql 5.5+ w/o patching libdrizzle](https://www.ruby-forum.com/t/ngx-drizzle-v0-1-0-released-now-runs-with-mysql-5-5-w-o-patching-libdrizzle/209082)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 12:13pm UTC](https://www.ruby-forum.com/t/ngx-drizzle-v0-1-0-released-now-runs-with-mysql-5-5-w-o-patching-libdrizzle/209082 "2011-07-05T12:13:03Z")

</div>

Hi, folks! I’m happy to announce the ngx\_drizzle module’s v0.1.0 release, which includes lots of bug fixes and new features accumulated in the last 8 months: https://github.com/chaoslawful/drizzle-nginx-module/downlo…

---

## [Slides for my nginx app talk in Beijing Perl Workshop 2011](https://www.ruby-forum.com/t/slides-for-my-nginx-app-talk-in-beijing-perl-workshop-2011/209079)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [July 5, 2011, 11:24am UTC](https://www.ruby-forum.com/t/slides-for-my-nginx-app-talk-in-beijing-perl-workshop-2011/209079 "2011-07-05T11:24:11Z")

</div>

Hi, folks! I gave an nginx talk in Beijing Perl Workshop 2011, which titles “Applications of ngx\_openresty and Perl in lz.taobao.com”. I showed how our nginx modules are used to build our company products. You can vi…

---

## [Nginx Module Concurrency Query](https://www.ruby-forum.com/t/nginx-module-concurrency-query/208975)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 5, 2011, 9:29am UTC](https://www.ruby-forum.com/t/nginx-module-concurrency-query/208975 "2011-07-05T09:29:47Z")

</div>

Hello, I have been trying to get a simple nginx\_module working. I referred Emiller’s Guide to Nginx Module Development – Evan Miller and found it very useful. The module takes “http://10.90.50.31:1257/hello?w=lelj&lj…

---

## [Ngx\_lua v0.2.0 is now released with lots of bug fixes](https://www.ruby-forum.com/t/ngx-lua-v0-2-0-is-now-released-with-lots-of-bug-fixes/209067)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 5, 2011, 7:45am UTC](https://www.ruby-forum.com/t/ngx-lua-v0-2-0-is-now-released-with-lots-of-bug-fixes/209067 "2011-07-05T07:45:54Z")

</div>

Hi, folks! After 5 months’ active development, the ngx\_lua module v0.2.0 release is now finally released: https://github.com/chaoslawful/lua-nginx-module/downloads This release contains lots of bug fixes as well as s…

---

## [Problem with request body and client\_body\_in\_single\_buffer](https://www.ruby-forum.com/t/problem-with-request-body-and-client-body-in-single-buffer/208951)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 4, 2011, 7:16pm UTC](https://www.ruby-forum.com/t/problem-with-request-body-and-client-body-in-single-buffer/208951 "2011-07-04T19:16:59Z")

</div>

Hi, I just had a hard time tracking down the following issue: I have an apache with mod\_perl running behind nginx 0.8.54. In my mod\_perl application decoding large file uploads in multipart/form-data failed. It see…

---

## [Test reading fail when use https](https://www.ruby-forum.com/t/test-reading-fail-when-use-https/208728)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [July 4, 2011, 6:05pm UTC](https://www.ruby-forum.com/t/test-reading-fail-when-use-https/208728 "2011-07-04T18:05:21Z")

</div>

Hi, I use the function ngx\_http\_test\_reading in the module Nginx Push Stream Module (GitHub - wandenberg/nginx-push-stream-module: A pure stream http push technology for your Nginx setup. Comet made easy and really sca…

---

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

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 4, 2011, 5:56pm UTC](https://www.ruby-forum.com/t/proxy-store/209008 "2011-07-04T17:56:43Z")

</div>

I’m using proxy\_store for dynamic upload of file from the backend to a proxy server. For differents reasons some files are not uploaded with this method, and I want to run a process in the backend to syncronize the fi…

---

## [Unable to run multiple rails applications on passenger+nginx](https://www.ruby-forum.com/t/unable-to-run-multiple-rails-applications-on-passenger-nginx/209052)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 4, 2011, 2:37pm UTC](https://www.ruby-forum.com/t/unable-to-run-multiple-rails-applications-on-passenger-nginx/209052 "2011-07-04T14:37:34Z")

</div>

Hi all, I want to run multiple rails applications on passenger+nginx. I am trying to run two seperate applications, chiliproject and gitorious(mainline) I have tried the below steps to setup sub\_uri. http://www.modr…

---

## [Lua possibilities/limitations](https://www.ruby-forum.com/t/lua-possibilities-limitations/203116)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [July 4, 2011, 2:06pm UTC](https://www.ruby-forum.com/t/lua-possibilities-limitations/203116 "2011-07-04T14:06:04Z")

</div>

Hi Guys, I need a little help with the lua module. My ultimate aim is to import variables into nginx from outside source. Here is my code, you can probably tell what I’m trying to do: location /proxy { proxy\_pass ht…

---

## [Nginx\_push\_stream module and X-Accel-Redirect, nginx sub-request issue?](https://www.ruby-forum.com/t/nginx-push-stream-module-and-x-accel-redirect-nginx-sub-request-issue/208542)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 3, 2011, 11:56pm UTC](https://www.ruby-forum.com/t/nginx-push-stream-module-and-x-accel-redirect-nginx-sub-request-issue/208542 "2011-07-03T23:56:43Z")

</div>

Hi I’m trying to use the nginx push stream module here: The general flow is that the client connects to https://server/events/, which internally does some auth checks on the connection, and then does X-Accel-Redire…

---

## [What NGX\_POOL\_ALIGNMENT is used for?](https://www.ruby-forum.com/t/what-ngx-pool-alignment-is-used-for/209032)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 3, 2011, 5:02pm UTC](https://www.ruby-forum.com/t/what-ngx-pool-alignment-is-used-for/209032 "2011-07-03T17:02:32Z")

</div>

Hi! As far as i know, malloc return pointer aligned for using with standart data types (int, long, struct, etc… usually 8 bytes). Why is NGX\_POOL\_ALIGNMENT = 16 ? Why is that ? For 64-bit systems ? I’m very interest…

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

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