# Server

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

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

---

## [Translating an F5 rule](https://www.ruby-forum.com/t/translating-an-f5-rule/227560)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [March 20, 2013, 9:18am UTC](https://www.ruby-forum.com/t/translating-an-f5-rule/227560 "2013-03-20T09:18:18Z")

</div>

I am configuring Nginx to sit in front of several IIS web servers to do load balancing and SSL signing. THe IIS application is supplied by an outside vendor. I have the load balancing and SSL signing working, with …

---

## [No HTTP version in request](https://www.ruby-forum.com/t/no-http-version-in-request/227576)

<div class="topic-metadata">

**Author:** [@Matthieu\_T](https://www.ruby-forum.com/u/Matthieu_T)\
**Replies:** 1\
**Last updated:** [March 20, 2013, 6:04am UTC](https://www.ruby-forum.com/t/no-http-version-in-request/227576 "2013-03-20T06:04:52Z")

</div>

I just found an interesting behavior in Nginx while looking at a reqeust that was causing an error in my code. For a request with no HTTP/xx version, Nginx will return no HTTP response headers. From what I gathered,…

---

## [Strange $upstream\_response\_time latency spikes with reverse proxy](https://www.ruby-forum.com/t/strange-upstream-response-time-latency-spikes-with-reverse-proxy/227423)

<div class="topic-metadata">

**Author:** [@jdoconnor](https://www.ruby-forum.com/u/jdoconnor)\
**Replies:** 14\
**Last updated:** [March 19, 2013, 11:43pm UTC](https://www.ruby-forum.com/t/strange-upstream-response-time-latency-spikes-with-reverse-proxy/227423 "2013-03-19T23:43:22Z")

</div>

Hi list! I’m trying to debug an interesting problem where we randomly get a “high latency” response time from our upstream servers. It appears to occur in about 1.5% of all requests. Here’s a description of the tests …

---

## [Ngx\_cache\_purge-2.1](https://www.ruby-forum.com/t/ngx-cache-purge-2-1/227567)

<div class="topic-metadata">

**Author:** [@piotrs](https://www.ruby-forum.com/u/piotrs)\
**Replies:** 0\
**Last updated:** [March 19, 2013, 6:14pm UTC](https://www.ruby-forum.com/t/ngx-cache-purge-2-1/227567 "2013-03-19T18:14:25Z")

</div>

Version 2.1 is now available at: http://labs.frickle.com/nginx\_ngx\_cache\_purge/ GitHub repository is available at: Changes: 2013-03-19 VERSION 2.1 \* When enabled, cache purge will now catch all requests with PU…

---

## [Proxy not listening to 443](https://www.ruby-forum.com/t/proxy-not-listening-to-443/227557)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 19, 2013, 4:53pm UTC](https://www.ruby-forum.com/t/proxy-not-listening-to-443/227557 "2013-03-19T16:53:45Z")

</div>

Hello! We are running some applications servers (grails) and using nginx as reverse proxy before that for caching and load balancing purposes. everything is working as expected, but now that we received our ssl cert…

---

## [Websocket proxying based on Sec-Websocket-Protocol](https://www.ruby-forum.com/t/websocket-proxying-based-on-sec-websocket-protocol/227555)

<div class="topic-metadata">

**Author:** [@gvag](https://www.ruby-forum.com/u/gvag)\
**Replies:** 2\
**Last updated:** [March 19, 2013, 3:48pm UTC](https://www.ruby-forum.com/t/websocket-proxying-based-on-sec-websocket-protocol/227555 "2013-03-19T15:48:54Z")

</div>

Hi guys, I am trying to find if it is possible to proxy a websocket request based on the Sec-Websocket-Protocol. More specific, is there a way to check the Sec-Websocket-Protocol (RFC 6455 - The WebSocket Protocol) …

---

## [Securing access to a folder - 404 error](https://www.ruby-forum.com/t/securing-access-to-a-folder-404-error/227301)

<div class="topic-metadata">

**Author:** [@mottwsc](https://www.ruby-forum.com/u/mottwsc)\
**Replies:** 4\
**Last updated:** [March 19, 2013, 10:12am UTC](https://www.ruby-forum.com/t/securing-access-to-a-folder-404-error/227301 "2013-03-19T10:12:18Z")

</div>

I’m trying to secure a directory on a CentOS 6.3 64 server running NGINX 1.2.7. I think I’ve set this up correctly, but it keeps giving me a 404 Not Found error when I try to access a file in that folder in the brows…

---

## [How can i avoid google index my site properly jail directory only allow html extension](https://www.ruby-forum.com/t/how-can-i-avoid-google-index-my-site-properly-jail-directory-only-allow-html-extension/227544)

<div class="topic-metadata">

**Author:** [@lifeisjustabout](https://www.ruby-forum.com/u/lifeisjustabout)\
**Replies:** 0\
**Last updated:** [March 19, 2013, 9:11am UTC](https://www.ruby-forum.com/t/how-can-i-avoid-google-index-my-site-properly-jail-directory-only-allow-html-extension/227544 "2013-03-19T09:11:30Z")

</div>

Hello I have small pdf search site searches pdf over internet when somebody search URL look like www.mypdfsearchwebsite.com/pdf/nginx.html with (html extension) google index this address with html and without html …

---

## [502 Bad Gateway- Nginx and thin](https://www.ruby-forum.com/t/502-bad-gateway-nginx-and-thin/227512)

<div class="topic-metadata">

**Author:** [@Yunior\_Miguel\_A](https://www.ruby-forum.com/u/Yunior_Miguel_A)\
**Replies:** 7\
**Last updated:** [March 18, 2013, 9:25pm UTC](https://www.ruby-forum.com/t/502-bad-gateway-nginx-and-thin/227512 "2013-03-18T21:25:08Z")

</div>

I have install nginx 1.1.19 and thin 1.5.0 in Ubuntu 12.04 and I am install redmine, when I try to access the page of redmine gives me the following error: 502 Bad Gateway. In Nginx log reads: 2013/03/18 10:45:09 \[cr…

---

## [Surge 2013 CFP Open](https://www.ruby-forum.com/t/surge-2013-cfp-open/227520)

<div class="topic-metadata">

**Author:** [@Katherine\_Jeschke](https://www.ruby-forum.com/u/Katherine_Jeschke)\
**Replies:** 0\
**Last updated:** [March 18, 2013, 7:28pm UTC](https://www.ruby-forum.com/t/surge-2013-cfp-open/227520 "2013-03-18T19:28:53Z")

</div>

The Surge 2013 CFP is open. For details or to submit a paper, please visit http://surge.omniti.com/2013 – Katherine Jeschke Director of Marketing and Creative Services OmniTI Computer Consulting, Inc. 11830 West M…

---

## [Custom error page with errors in it](https://www.ruby-forum.com/t/custom-error-page-with-errors-in-it/227516)

<div class="topic-metadata">

**Author:** [@RedFoxy](https://www.ruby-forum.com/u/RedFoxy)\
**Replies:** 0\
**Last updated:** [March 18, 2013, 5:33pm UTC](https://www.ruby-forum.com/t/custom-error-page-with-errors-in-it/227516 "2013-03-18T17:33:46Z")

</div>

Hi all! I does some rules for various web errors, that rules shows a custom error page: error\_page 500 502 503 504 /50x.html; location = /50x.html { root /etc/nginx/\_conf/error-page; } error\_page 404 /404…

---

## [Rewrite for missing images](https://www.ruby-forum.com/t/rewrite-for-missing-images/227515)

<div class="topic-metadata">

**Author:** [@RedFoxy](https://www.ruby-forum.com/u/RedFoxy)\
**Replies:** 0\
**Last updated:** [March 18, 2013, 5:29pm UTC](https://www.ruby-forum.com/t/rewrite-for-missing-images/227515 "2013-03-18T17:29:40Z")

</div>

Hello! I want do a specific rewrite for missing image, I mean that I’ve a 404 page for all other missing pages, now I want do a rewrite that shows an image when is an image that is missing. is that possible? Posted…

---

## [Reverse Proxy Data Diode](https://www.ruby-forum.com/t/reverse-proxy-data-diode/227477)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 4\
**Last updated:** [March 18, 2013, 3:23pm UTC](https://www.ruby-forum.com/t/reverse-proxy-data-diode/227477 "2013-03-18T15:23:59Z")

</div>

Hello all, The below article uses a fiber optic data diode along with Nginx as a reverse proxy. The author states: “TCP/IP client-server reverse proxies on either end of the data diode can be setup to respond to …

---

## [Upstream keepalive with upstream hash](https://www.ruby-forum.com/t/upstream-keepalive-with-upstream-hash/227456)

<div class="topic-metadata">

**Author:** [@beaufour](https://www.ruby-forum.com/u/beaufour)\
**Replies:** 3\
**Last updated:** [March 18, 2013, 2:53pm UTC](https://www.ruby-forum.com/t/upstream-keepalive-with-upstream-hash/227456 "2013-03-18T14:53:35Z")

</div>

I’ve been trying to get this setup working: client ← c0 → nginx1 ← c1 → nginx2 ← c2 → service (http) where the c1 connection is kept alive between request from from the outside, but c0 and c2 are closed after each re…

---

## [Re: Simple question about proxy cache](https://www.ruby-forum.com/t/re-simple-question-about-proxy-cache/227500)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 0\
**Last updated:** [March 18, 2013, 12:21pm UTC](https://www.ruby-forum.com/t/re-simple-question-about-proxy-cache/227500 "2013-03-18T12:21:37Z")

</div>

On 17/03/13 23:08, Maxim D. wrote: I’m wondering whether all requests are logged whether they’re cached or This usually happens if your backend doesn’t specify allowed cache time (in this case, proxy\_cache\_valid sho…

---

## [Find Duplicate Files and Free Up Disk Space](https://www.ruby-forum.com/t/find-duplicate-files-and-free-up-disk-space/227498)

<div class="topic-metadata">

**Author:** [@shajalalmia2](https://www.ruby-forum.com/u/shajalalmia2)\
**Replies:** 0\
**Last updated:** [March 18, 2013, 11:40am UTC](https://www.ruby-forum.com/t/find-duplicate-files-and-free-up-disk-space/227498 "2013-03-18T11:40:43Z")

</div>

I faced same problem my computers many files is Duplicate. so my need help .please tell me your idea Posted at Nginx Forum:

---

## [Simple question about proxy cache](https://www.ruby-forum.com/t/simple-question-about-proxy-cache/227488)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 1\
**Last updated:** [March 18, 2013, 12:08am UTC](https://www.ruby-forum.com/t/simple-question-about-proxy-cache/227488 "2013-03-18T00:08:55Z")

</div>

I’ve used nginx as a reverse proxy server for a long while but I’ve not tried out the proxy cache until today, and I have to say I’m a little bit confused by what I’m seeing in the cache log, and I’m wondering whether…

---

## [NGINX built and analyzed](https://www.ruby-forum.com/t/nginx-built-and-analyzed/227486)

<div class="topic-metadata">

**Author:** [@SSAntonio\_Manuel\_Mu](https://www.ruby-forum.com/u/SSAntonio_Manuel_Mu)\
**Replies:** 0\
**Last updated:** [March 17, 2013, 8:33pm UTC](https://www.ruby-forum.com/t/nginx-built-and-analyzed/227486 "2013-03-17T20:33:57Z")

</div>

Hi guys, We’ve taken the freedom of configure a built of NGINX in a daily basis. So, every day (if there are changes in the source code) a new build will run. After each build a Sonar analysis will be performed. Thi…

---

## [Some sort of attack?](https://www.ruby-forum.com/t/some-sort-of-attack/227474)

<div class="topic-metadata">

**Author:** [@Praveen\_Yarlagadda](https://www.ruby-forum.com/u/Praveen_Yarlagadda)\
**Replies:** 3\
**Last updated:** [March 16, 2013, 8:38pm UTC](https://www.ruby-forum.com/t/some-sort-of-attack/227474 "2013-03-16T20:38:32Z")

</div>

Hi, I installed nginx on an EC2 instance. After few hours, I started getting repeated requests from a set of servers. I tried using limit\_req with the following options: limit\_req\_zone $binary\_remote\_addr zone=ratez…

---

## [Module to check if file contains a character](https://www.ruby-forum.com/t/module-to-check-if-file-contains-a-character/227476)

<div class="topic-metadata">

**Author:** [@alexanderk](https://www.ruby-forum.com/u/alexanderk)\
**Replies:** 0\
**Last updated:** [March 16, 2013, 4:15pm UTC](https://www.ruby-forum.com/t/module-to-check-if-file-contains-a-character/227476 "2013-03-16T16:15:39Z")

</div>

Hello, Without reading the whole file, what is the best approach to only check if the beginning of the file contains a specific character? Would something like this be the right approach? b = ngx\_pcalloc(r-\>pool, siz…

---

## [New subfilter module with multi-pattern search support](https://www.ruby-forum.com/t/new-subfilter-module-with-multi-pattern-search-support/227475)

<div class="topic-metadata">

**Author:** [@fdmitry](https://www.ruby-forum.com/u/fdmitry)\
**Replies:** 0\
**Last updated:** [March 16, 2013, 12:26pm UTC](https://www.ruby-forum.com/t/new-subfilter-module-with-multi-pattern-search-support/227475 "2013-03-16T12:26:37Z")

</div>

Hi all! There is a new subfilter module. It uses fast Wu-Manber algorithm for multi-pattern search. Probably it would be interesting to someone: It is possible to add regular expressions support if it is required, b…

---

## [Nginx crash on reload -- how to detect?](https://www.ruby-forum.com/t/nginx-crash-on-reload-how-to-detect/227353)

<div class="topic-metadata">

**Author:** [@Jan-Philip\_Gehrcke](https://www.ruby-forum.com/u/Jan-Philip_Gehrcke)\
**Replies:** 1\
**Last updated:** [March 16, 2013, 12:15pm UTC](https://www.ruby-forum.com/t/nginx-crash-on-reload-how-to-detect/227353 "2013-03-16T12:15:31Z")

</div>

Hello, I’m currently running a self-built nginx 1.3.14 on a debian system and use the attached (and also inlined) init.d script as /etc/init.d/nginx for managing the service. It’s taken unmodified from debian wheezy. …

---

## [Would like to implement WebSocket support](https://www.ruby-forum.com/t/would-like-to-implement-websocket-support/216341)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [March 16, 2013, 4:20am UTC](https://www.ruby-forum.com/t/would-like-to-implement-websocket-support/216341 "2013-03-16T04:20:32Z")

</div>

Hi all! I’ve implemented the WebSocket wire protocol as an incremental parser, making it suitable for use in high-end asynchronous servers such as NGINX. The code is open source (BSD-licenced) and available on GitH…

---

## [Nginx 1.2.7 / h.264 / flowplayer](https://www.ruby-forum.com/t/nginx-1-2-7-h-264-flowplayer/227455)

<div class="topic-metadata">

**Author:** [@jaychris](https://www.ruby-forum.com/u/jaychris)\
**Replies:** 3\
**Last updated:** [March 15, 2013, 8:33pm UTC](https://www.ruby-forum.com/t/nginx-1-2-7-h-264-flowplayer/227455 "2013-03-15T20:33:07Z")

</div>

I’m running Nginx v1.2.7 from the Nginx repo, with mp4 module enabled. I added this to my conf: location ~ \\.mov { mp4; mp4\_buffer\_size 1m; mp4\_max\_buffer\_size 5m; } loca…

---

## [Nginx\_upload\_progress](https://www.ruby-forum.com/t/nginx-upload-progress/227425)

<div class="topic-metadata">

**Author:** [@jaychris](https://www.ruby-forum.com/u/jaychris)\
**Replies:** 1\
**Last updated:** [March 15, 2013, 6:18pm UTC](https://www.ruby-forum.com/t/nginx-upload-progress/227425 "2013-03-15T18:18:41Z")

</div>

I’m trying to compile in the nginx\_upload\_progress module into an RPM. I’m using the SPEC file provided with v1.2.7 from the Nginx repos. I downloaded the upload\_progress module, opened up the source tar archive, co…

---

## [Read\_timeout directive](https://www.ruby-forum.com/t/read-timeout-directive/227436)

<div class="topic-metadata">

**Author:** [@ilmerovingio](https://www.ruby-forum.com/u/ilmerovingio)\
**Replies:** 1\
**Last updated:** [March 15, 2013, 12:59pm UTC](https://www.ruby-forum.com/t/read-timeout-directive/227436 "2013-03-15T12:59:34Z")

</div>

Hi, I’ve a few servers with nginx 1.2.3 that run a streaming services platform. Is there in nginx any “read\_timeout” directive (like the send\_timeout but for the opposite) that shuts down the connection if the client…

---

## [Nginx: worker process: malloc(): memory corruption: 0x0000000000b6bdb0 \*\*\*](https://www.ruby-forum.com/t/nginx-worker-process-malloc-memory-corruption-0x0000000000b6bdb0/227433)

<div class="topic-metadata">

**Author:** [@honwel](https://www.ruby-forum.com/u/honwel)\
**Replies:** 3\
**Last updated:** [March 15, 2013, 12:37pm UTC](https://www.ruby-forum.com/t/nginx-worker-process-malloc-memory-corruption-0x0000000000b6bdb0/227433 "2013-03-15T12:37:57Z")

</div>

hi on centos 6, nginx-1.2.2, nginx was compiled with: –prefix=/usr/local/nginx --user=root --group=root –with-http\_ssl\_module –with-ipv6 --with-pcre=/home/nginx/src/pcre-8.20 –with-openssl=/home/nginx/src/openssl-1.…

---

## [Geo Module. How to make nginx to check proxy for any ip?](https://www.ruby-forum.com/t/geo-module-how-to-make-nginx-to-check-proxy-for-any-ip/227432)

<div class="topic-metadata">

**Author:** [@varan](https://www.ruby-forum.com/u/varan)\
**Replies:** 1\
**Last updated:** [March 15, 2013, 11:03am UTC](https://www.ruby-forum.com/t/geo-module-how-to-make-nginx-to-check-proxy-for-any-ip/227432 "2013-03-15T11:03:17Z")

</div>

I mean I haven’t got full list of ip addresses that can be proxy, so I want nginx to look X-FORWARDED-FOR header for any ip address, and if the header exists to determine geo using the header. If there’s no X-Forward…

---

## [The service is not available. Please try again later](https://www.ruby-forum.com/t/the-service-is-not-available-please-try-again-later/227420)

<div class="topic-metadata">

**Author:** [@reddirt](https://www.ruby-forum.com/u/reddirt)\
**Replies:** 4\
**Last updated:** [March 14, 2013, 11:04pm UTC](https://www.ruby-forum.com/t/the-service-is-not-available-please-try-again-later/227420 "2013-03-14T23:04:04Z")

</div>

I’m trying to get a Bitnami Rails running with Nginx and Thin. I’ve got Thin servers running on: bitnami@linux:/opt/bitnami$ thin -C projects/ndeavor/current/config/thin.yml start Starting server on 127.0.0.1:3000 … …

---

## [Nginx: invalid host in upstream](https://www.ruby-forum.com/t/nginx-invalid-host-in-upstream/227407)

<div class="topic-metadata">

**Author:** [@reddirt](https://www.ruby-forum.com/u/reddirt)\
**Replies:** 6\
**Last updated:** [March 14, 2013, 9:14pm UTC](https://www.ruby-forum.com/t/nginx-invalid-host-in-upstream/227407 "2013-03-14T21:14:14Z")

</div>

I’m trying to run a Rails app using Nginx with 5 Thin servers. I created the thin.yml file and when I run the start command, I get: bitnami@linux:/opt/bitnami/projects/ndeavor/current/config$ thin -C thin.yml start S…

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

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