# Server

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

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

---

## [Nginx apache and port](https://www.ruby-forum.com/t/nginx-apache-and-port/189205)

<div class="topic-metadata">

**Author:** [@JCR](https://www.ruby-forum.com/u/JCR)\
**Replies:** 5\
**Last updated:** [May 26, 2010, 9:22pm UTC](https://www.ruby-forum.com/t/nginx-apache-and-port/189205 "2010-05-26T21:22:08Z")

</div>

Hello, I have a centos 5 box with apache running fine and listening to port 80. I’d like to try nginx on let’s say port 5080 (or maybe there is a better port), without disturbing my apache setup. (1) If I compile ngi…

---

## [Gzip on 7.65 not responding](https://www.ruby-forum.com/t/gzip-on-7-65-not-responding/189175)

<div class="topic-metadata">

**Author:** [@reference123](https://www.ruby-forum.com/u/reference123)\
**Replies:** 9\
**Last updated:** [May 26, 2010, 6:31pm UTC](https://www.ruby-forum.com/t/gzip-on-7-65-not-responding/189175 "2010-05-26T18:31:12Z")

</div>

I am using version 7.65 on Ubuntu 10 as a reverse proxy. The backend server is running asp pages on iis6. I have the following in my nginx conf file - gzip on; gzip\_disable “MSIE \[1-6\].”; gzip\_buffers …

---

## [Traffic limiting](https://www.ruby-forum.com/t/traffic-limiting/189181)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 26, 2010, 8:36am UTC](https://www.ruby-forum.com/t/traffic-limiting/189181 "2010-05-26T08:36:25Z")

</div>

Hi I have this one very popular site configured go thru nginx reverse proxy and its so popular that it takes lots of bandwidth and we are now need to limit traffic. It seems there is limit modules in nginx but examp…

---

## [Migrate from lighthttp: mod\_secdownload and mod\_magnet](https://www.ruby-forum.com/t/migrate-from-lighthttp-mod-secdownload-and-mod-magnet/189150)

<div class="topic-metadata">

**Author:** [@kfkfkf](https://www.ruby-forum.com/u/kfkfkf)\
**Replies:** 1\
**Last updated:** [May 26, 2010, 8:32am UTC](https://www.ruby-forum.com/t/migrate-from-lighthttp-mod-secdownload-and-mod-magnet/189150 "2010-05-26T08:32:19Z")

</div>

Hi, I am looking for a replacement for lighthttp and am considering nginx. For a successfull migration I will need replacements for: Lighthttps mod\_secdownload. -does anyone know of an nginx replacement that will p…

---

## [Ngx\_rds\_json v0.07: fixed boolean values for PosgreSQL](https://www.ruby-forum.com/t/ngx-rds-json-v0-07-fixed-boolean-values-for-posgresql/189177)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [May 26, 2010, 4:07am UTC](https://www.ruby-forum.com/t/ngx-rds-json-v0-07-fixed-boolean-values-for-posgresql/189177 "2010-05-26T04:07:45Z")

</div>

Hi, folks! I’m pleased to announce that ngx\_rds\_json v0.07 has been released: http://github.com/agentzh/rds-json-nginx-module/tarball/v0.07 ngx\_rds\_json is an output filter module that can format the RDS (Resty DBD …

---

## [Create a Request from a String](https://www.ruby-forum.com/t/create-a-request-from-a-string/189133)

<div class="topic-metadata">

**Author:** [@Matthieu\_T](https://www.ruby-forum.com/u/Matthieu_T)\
**Replies:** 3\
**Last updated:** [May 26, 2010, 3:40am UTC](https://www.ruby-forum.com/t/create-a-request-from-a-string/189133 "2010-05-26T03:40:14Z")

</div>

Hi, I’m trying to store requests that comes in (let’s call it request A), and I want to be able to “replay” them later, when another query comes in with a specific argument (request B). I can store the request to m…

---

## [Squirrelmail broken after changing cgi.fix\_pathinfo to 0](https://www.ruby-forum.com/t/squirrelmail-broken-after-changing-cgi-fix-pathinfo-to-0/189171)

<div class="topic-metadata">

**Author:** [@peterpiper](https://www.ruby-forum.com/u/peterpiper)\
**Replies:** 1\
**Last updated:** [May 26, 2010, 2:23am UTC](https://www.ruby-forum.com/t/squirrelmail-broken-after-changing-cgi-fix-pathinfo-to-0/189171 "2010-05-26T02:23:34Z")

</div>

Well, I did my migration to changing cgi.fix\_pathinfo=0 and my new rewrite rules for my extensionless files are working. After tooling around the site to make sure things worked I headed over to my Squirrelmail. Tho…

---

## [Cache: fix sending of empty](https://www.ruby-forum.com/t/cache-fix-sending-of-empty/189170)

<div class="topic-metadata">

**Author:** [@Davide\_DSAmico](https://www.ruby-forum.com/u/Davide_DSAmico)\
**Replies:** 0\
**Last updated:** [May 25, 2010, 10:27pm UTC](https://www.ruby-forum.com/t/cache-fix-sending-of-empty/189170 "2010-05-25T22:27:08Z")

</div>

After 0.8.3\[678\], I didn’t see any row in changelog about the problem in subject. Have I still to apply patches as in \[PATCH 1 of 2\] Cache: fix sending of empty? It was a wrong fix in 0.8.31, so why it’s still there? …

---

## [Unknown directive "aio" in Nginx 0.8.14](https://www.ruby-forum.com/t/unknown-directive-aio-in-nginx-0-8-14/175267)

<div class="topic-metadata">

**Author:** [@pcdinh](https://www.ruby-forum.com/u/pcdinh)\
**Replies:** 10\
**Last updated:** [May 24, 2010, 11:26pm UTC](https://www.ruby-forum.com/t/unknown-directive-aio-in-nginx-0-8-14/175267 "2010-05-24T23:26:40Z")

</div>

Hi all, I installed Nginx 0.8.14 to try out a new feature: AIO support. Also, I compiled Nginx with --with-file-aio However, Nginx show warnings that it does not support AIO: Starting nginx: \[emerg\]: unknown directiv…

---

## [Proper location and rewrite for finding target at any depth](https://www.ruby-forum.com/t/proper-location-and-rewrite-for-finding-target-at-any-depth/189079)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 0\
**Last updated:** [May 24, 2010, 5:09am UTC](https://www.ruby-forum.com/t/proper-location-and-rewrite-for-finding-target-at-any-depth/189079 "2010-05-24T05:09:08Z")

</div>

I thought I’d branch this away from the “nginx 0day exploit for nginx + fastcgi PHP” so as not to fog up that issue more. As you may know from my contributions to that thread (starting at Re: nginx 0day exploit for ngi…

---

## [Switch to nginx thwarts DDoS attack](https://www.ruby-forum.com/t/switch-to-nginx-thwarts-ddos-attack/189048)

<div class="topic-metadata">

**Author:** [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Replies:** 0\
**Last updated:** [May 23, 2010, 4:29am UTC](https://www.ruby-forum.com/t/switch-to-nginx-thwarts-ddos-attack/189048 "2010-05-23T04:29:30Z")

</div>

http://blog.dreamhost.com/2010/05/21/yeah-about-that-downtime/ I’d be interested in the details of the architecture changes if anybody has inside information… – RPM

---

## [Basic question](https://www.ruby-forum.com/t/basic-question/189025)

<div class="topic-metadata">

**Author:** [@gyan](https://www.ruby-forum.com/u/gyan)\
**Replies:** 5\
**Last updated:** [May 22, 2010, 8:02pm UTC](https://www.ruby-forum.com/t/basic-question/189025 "2010-05-22T20:02:44Z")

</div>

Hello, I’m new to Nginx and I have a basic problem. In short my “index.htm” isn’t dynamically loading on any sub-directories other than root. For example, “http://www.mydomain.com/” will load the index.htm page just…

---

## [Re: loading a different robots.txt file for a different sub domain? (Ray)](https://www.ruby-forum.com/t/re-loading-a-different-robots-txt-file-for-a-different-sub-domain-ray/189027)

<div class="topic-metadata">

**Author:** [@zhys99](https://www.ruby-forum.com/u/zhys99)\
**Replies:** 1\
**Last updated:** [May 22, 2010, 8:04am UTC](https://www.ruby-forum.com/t/re-loading-a-different-robots-txt-file-for-a-different-sub-domain-ray/189027 "2010-05-22T08:04:32Z")

</div>

load different robots in the same one “server” block location ~ /robots.txt { if ($host = ‘first.domain’) { rewrite ^/robots.txt /path/to/another/robots.txt last; } } zhys9 ------------------ Original -----------…

---

## [NGiNX\_HTTP\_Push\_Module clients not receiving messages](https://www.ruby-forum.com/t/nginx-http-push-module-clients-not-receiving-messages/189018)

<div class="topic-metadata">

**Author:** [@Min\_Huang](https://www.ruby-forum.com/u/Min_Huang)\
**Replies:** 0\
**Last updated:** [May 22, 2010, 1:32am UTC](https://www.ruby-forum.com/t/nginx-http-push-module-clients-not-receiving-messages/189018 "2010-05-22T01:32:21Z")

</div>

Hello, I’m not sure if this is the right place for this, but I am kindly requesting help with the http push module. It seems to sporadically not send responses to long polling JavaScript clients. In the wild, I ha…

---

## [NginxHttpUploadProgressModule never response "done" state for large files](https://www.ruby-forum.com/t/nginxhttpuploadprogressmodule-never-response-done-state-for-large-files/188733)

<div class="topic-metadata">

**Author:** [@murphy](https://www.ruby-forum.com/u/murphy)\
**Replies:** 1\
**Last updated:** [May 21, 2010, 12:09pm UTC](https://www.ruby-forum.com/t/nginxhttpuploadprogressmodule-never-response-done-state-for-large-files/188733 "2010-05-21T12:09:09Z")

</div>

When uploading large files (\>150Mb) , progress bar shows normal till 100% value, but in the end of upload process he does not send “done” response, and looks like this : … new Object({ ‘state’ : ‘uploading’, ‘rece…

---

## [ÐŸÐ¾Ð´Ð´ÐµÑ€Ð¶ÐºÐ° Windows x64](https://www.ruby-forum.com/t/dyd-d-d-d-n-d-d-d-windows-x64/188966)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [May 21, 2010, 11:02am UTC](https://www.ruby-forum.com/t/dyd-d-d-d-n-d-d-d-windows-x64/188966 "2010-05-21T11:02:59Z")

</div>

Ð—Ð´Ñ€Ð°Ð²ÑÑ‚Ð²ÑƒÐ¹Ñ‚Ðµ. Ð¥Ð¾Ñ‚ÐµÐ»Ð¾ÑÑŒ Ð±Ñ‹ ÑƒÐ·Ð½Ð°Ñ‚ÑŒ, Ð¿Ð»Ð°Ð½Ð¸Ñ€ÑƒÐµÑ‚ÑÑ (Ð¸ ÐºÐ¾Ð³Ð´Ð°) Ð»Ð¸ Ð²Ð½ÐµÐ´Ñ€Ð¸Ñ‚ÑŒ Ð² nginx Ð¿Ð¾Ð´Ð´ÐµÑ€Ð¶ÐºÑƒ Windows x64? Ð Ñ‚Ð¾ Java Ñ…Ð¾Ñ€Ð¾ÑˆÐ¾ Ñ€Ð°Ð±Ð¾Ñ‚Ð°ÐµÑ‚ Ð½Ð° 6 Ð“Ð…

---

## [Problems with proxy\_read\_timeout](https://www.ruby-forum.com/t/problems-with-proxy-read-timeout/188961)

<div class="topic-metadata">

**Author:** [@allenli](https://www.ruby-forum.com/u/allenli)\
**Replies:** 0\
**Last updated:** [May 21, 2010, 4:54am UTC](https://www.ruby-forum.com/t/problems-with-proxy-read-timeout/188961 "2010-05-21T04:54:10Z")

</div>

Hi all I am developing an Eclipse Rich Ajax application and try to do a load-balancing using NGINX, I am using a Server-Push mechenism that the server side will generate additional scripts back to the browser when a …

---

## [Strange if](https://www.ruby-forum.com/t/strange-if/188922)

<div class="topic-metadata">

**Author:** [@danmezzetti](https://www.ruby-forum.com/u/danmezzetti)\
**Replies:** 3\
**Last updated:** [May 20, 2010, 6:34pm UTC](https://www.ruby-forum.com/t/strange-if/188922 "2010-05-20T18:34:10Z")

</div>

Hi all, i’m taking in charge a new nginx cluster with a very strange configurations. I’m trying rewriting the configuration and i’m unable to find a way to better write this if condition: if ($request\_uri !~\* (^/$|…

---

## [Nginx rewrite bug](https://www.ruby-forum.com/t/nginx-rewrite-bug/188926)

<div class="topic-metadata">

**Author:** [@val\_lee](https://www.ruby-forum.com/u/val_lee)\
**Replies:** 1\
**Last updated:** [May 20, 2010, 5:51pm UTC](https://www.ruby-forum.com/t/nginx-rewrite-bug/188926 "2010-05-20T17:51:26Z")

</div>

nginx version:0.8.37 I write: rewrite ^/page(\[0-9\]+)-t(\[a-zA-Z\]+)-g(\[0-9\]+)-t(\[0-9\]+)-a(\[0-9\]+)-s(\[0-9\]+)-p(\[0-9\]+)-t(\[0-9\]+)-o(.+)-w(.\*).html$ /search/search.do?pg=$1&tp=$2&gm=$3&ts=$4&aa=$5&sr=$6&pz=$7&type=$8&ord=…

---

## [Nginx status: count requests before or after forwarding to backend server?](https://www.ruby-forum.com/t/nginx-status-count-requests-before-or-after-forwarding-to-backend-server/188846)

<div class="topic-metadata">

**Author:** [@j0nes2k](https://www.ruby-forum.com/u/j0nes2k)\
**Replies:** 1\
**Last updated:** [May 20, 2010, 12:08am UTC](https://www.ruby-forum.com/t/nginx-status-count-requests-before-or-after-forwarding-to-backend-server/188846 "2010-05-20T00:08:25Z")

</div>

Hello, I have set up a nginx instance for static content that forwards dynamic content to a backend Apache server via the upstream module. I use munin to monitor both the nginx and Apache requests per second. Now I am …

---

## [Problems using tomcat as a backend](https://www.ruby-forum.com/t/problems-using-tomcat-as-a-backend/188871)

<div class="topic-metadata">

**Author:** [@Davide\_DSAmico](https://www.ruby-forum.com/u/Davide_DSAmico)\
**Replies:** 2\
**Last updated:** [May 19, 2010, 11:46pm UTC](https://www.ruby-forum.com/t/problems-using-tomcat-as-a-backend/188871 "2010-05-19T23:46:45Z")

</div>

Hi, i’m using nginx 0.8.37 to proxy an ssl site on a tomcat backend (teamwork application). When I try to download a file using MSIE 8, I see the error: “Internet Explorer cannot download YYYYYY from tw.xxxxxxx.it” S…

---

## [Shibboleth and Nginx](https://www.ruby-forum.com/t/shibboleth-and-nginx/188887)

<div class="topic-metadata">

**Author:** [@rubyforumgt](https://www.ruby-forum.com/u/rubyforumgt)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 10:28pm UTC](https://www.ruby-forum.com/t/shibboleth-and-nginx/188887 "2010-05-19T22:28:18Z")

</div>

Hi, I need to validate users via Shibboleth on a Ruby application using Nginx and Mongrel. I’ve searched but not found instructions on how to do this. Would someone please let me know if they have a resource for imp…

---

## [Upstream\_response\_length yields zero, need content-length](https://www.ruby-forum.com/t/upstream-response-length-yields-zero-need-content-length/188860)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 2:53pm UTC](https://www.ruby-forum.com/t/upstream-response-length-yields-zero-need-content-length/188860 "2010-05-19T14:53:20Z")

</div>

hi all :slight\_smile: i am trying to inject a content-length header into a response from an upstreamÂ because the upstream is not capable of sending a content-length since the size of the body is not known until the e…

---

## [Nginx-0.8.37](https://www.ruby-forum.com/t/nginx-0-8-37/188718)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 10\
**Last updated:** [May 18, 2010, 6:47pm UTC](https://www.ruby-forum.com/t/nginx-0-8-37/188718 "2010-05-18T18:47:21Z")

</div>

Changes with nginx 0.8.37 17 May 2010 \*) Feature: the ngx\_http\_split\_clients\_module. \*) Feature: the "map" directive supports keys more than 255 characters. \*) Bugfix: nginx i…

---

## [Ngwsx-0.8.36](https://www.ruby-forum.com/t/ngwsx-0-8-36/188652)

<div class="topic-metadata">

**Author:** [@ngwsx](https://www.ruby-forum.com/u/ngwsx)\
**Replies:** 4\
**Last updated:** [May 18, 2010, 12:17pm UTC](https://www.ruby-forum.com/t/ngwsx-0-8-36/188652 "2010-05-18T12:17:20Z")

</div>

features: native porting of nginx on windows. single process mode. windows service supported. iocp event method. file aio. zlib-1.2.3. (statically link) pcre-7.9. (statically link) using configure to build the binary o…

---

## [URL rewrites - IBM Lotus Domino](https://www.ruby-forum.com/t/url-rewrites-ibm-lotus-domino/188730)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [May 18, 2010, 7:51am UTC](https://www.ruby-forum.com/t/url-rewrites-ibm-lotus-domino/188730 "2010-05-18T07:51:33Z")

</div>

Hi I have some (wierd) URLs that i need to redirect to a new site. Problem is that original site is made with IBM Lotus Domino and URLs are somewhat “funny”. My problem is how should i made these redirections to ngi…

---

## [How to set expire headers for specific urls?](https://www.ruby-forum.com/t/how-to-set-expire-headers-for-specific-urls/188647)

<div class="topic-metadata">

**Author:** [@leonardocg](https://www.ruby-forum.com/u/leonardocg)\
**Replies:** 3\
**Last updated:** [May 18, 2010, 5:13am UTC](https://www.ruby-forum.com/t/how-to-set-expire-headers-for-specific-urls/188647 "2010-05-18T05:13:32Z")

</div>

I have about 12 javascripts and 3 css files that need to have expire headers set to max, how can I do this? Thank you. Leonardo.

---

## [Nginx secure download](https://www.ruby-forum.com/t/nginx-secure-download/188737)

<div class="topic-metadata">

**Author:** [@gromminger](https://www.ruby-forum.com/u/gromminger)\
**Replies:** 1\
**Last updated:** [May 17, 2010, 4:09pm UTC](https://www.ruby-forum.com/t/nginx-secure-download/188737 "2010-05-17T16:09:10Z")

</div>

Hello, i am trying to setup nginx with the secure download module. but unfortunately i cant enable it. location /media/aveo/videos { secure\_download on; secure\_download\_secret xxxxxxxx; sec…

---

## [Nginx location - pass certain content type to apache backend](https://www.ruby-forum.com/t/nginx-location-pass-certain-content-type-to-apache-backend/188668)

<div class="topic-metadata">

**Author:** [@dannym](https://www.ruby-forum.com/u/dannym)\
**Replies:** 2\
**Last updated:** [May 17, 2010, 1:04pm UTC](https://www.ruby-forum.com/t/nginx-location-pass-certain-content-type-to-apache-backend/188668 "2010-05-17T13:04:46Z")

</div>

Hi all, I have following configuration location ~\* ^.+.(jpg|png|mp3|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js)$ { root /data/www/domain.com/htdocs; access\_log off; expires max; ad…

---

## [POP3 to POP3s tanslator](https://www.ruby-forum.com/t/pop3-to-pop3s-tanslator/188725)

<div class="topic-metadata">

**Author:** [@Anas\_Matar](https://www.ruby-forum.com/u/Anas_Matar)\
**Replies:** 0\
**Last updated:** [May 17, 2010, 11:37am UTC](https://www.ruby-forum.com/t/pop3-to-pop3s-tanslator/188725 "2010-05-17T11:37:33Z")

</div>

Dear Sir, Can I use your great product Nginx as a proxy to translate POP3 requests to POP3s? My problem is simply that I have a software which does not support other than POP3 connections for mail servers , and im in…

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

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