# Server

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

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

---

## [OpenSSL Cookbook v1.1 released (by Ivan Rictic)](https://www.ruby-forum.com/t/openssl-cookbook-v1-1-released-by-ivan-rictic/236879)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 9, 2013, 8:20am UTC](https://www.ruby-forum.com/t/openssl-cookbook-v1-1-released-by-ivan-rictic/236879 "2013-10-09T08:20:46Z")

</div>

Hi List, for thos of your who have to deal with SSL there is a goodie, released by Ivan Ristic; see from the Blog: OpenSSL Cookbook is a free ebook based around one chapter of my in-progress book Bulletproof SSL/T…

---

## [Nginx-1.4.3](https://www.ruby-forum.com/t/nginx-1-4-3/246402)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 9, 2013, 12:54am UTC](https://www.ruby-forum.com/t/nginx-1-4-3/246402 "2013-10-09T00:54:46Z")

</div>

Changes with nginx 1.4.3 08 Oct 2013 \*) Bugfix: a segmentation fault might occur in a worker process if the ngx\_http\_spdy\_module was used with the “client\_body\_in\_file\_only” …

---

## [Capture 2xx response from proxy and rewrite](https://www.ruby-forum.com/t/capture-2xx-response-from-proxy-and-rewrite/236869)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 8, 2013, 5:55pm UTC](https://www.ruby-forum.com/t/capture-2xx-response-from-proxy-and-rewrite/236869 "2013-10-08T17:55:12Z")

</div>

Hi, Is it possible to catch a 2xx response from a upstream proxy and rewrite the response? We’re able to do this with 4xx and 5xx responses using proxy\_intercept\_errors and error\_page, but I haven’t found an equival…

---

## [How to ensure good performance for the first X number of visitors](https://www.ruby-forum.com/t/how-to-ensure-good-performance-for-the-first-x-number-of-visitors/236863)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 8, 2013, 2:40pm UTC](https://www.ruby-forum.com/t/how-to-ensure-good-performance-for-the-first-x-number-of-visitors/236863 "2013-10-08T14:40:31Z")

</div>

Hi all, I’m looking for some guidance with Nginx. We have inherited a web-server that experiences heavy load. The server is running: Ubuntu Server 12.4, 24 Cores, 50~GB RAM. The CPU usage during peak time is 100%. M…

---

## [Graceful backend shutdown](https://www.ruby-forum.com/t/graceful-backend-shutdown/236839)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [October 8, 2013, 2:38pm UTC](https://www.ruby-forum.com/t/graceful-backend-shutdown/236839 "2013-10-08T14:38:46Z")

</div>

Hi all! I’m using Nginx as a reverse proxy and loadbalancer with 2 backends. Sometimes I need to turn off one of the apps server. And I need to do it gracefully, that when I comment one server in Nginx config, Nginx m…

---

## [Reverse proxy and nested locations](https://www.ruby-forum.com/t/reverse-proxy-and-nested-locations/236852)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 8, 2013, 6:17am UTC](https://www.ruby-forum.com/t/reverse-proxy-and-nested-locations/236852 "2013-10-08T06:17:55Z")

</div>

Hi list, I’d like to have an elegant reverse proxy configuration, where I allow specific sub-URIs behind the reverse-proxy-URL for specific IP Adresses. My intended configuration looks like this: TRAC location /trac…

---

## [Doubt regarding Windows 7, MP4 module and HTML5](https://www.ruby-forum.com/t/doubt-regarding-windows-7-mp4-module-and-html5/236835)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 8, 2013, 2:13am UTC](https://www.ruby-forum.com/t/doubt-regarding-windows-7-mp4-module-and-html5/236835 "2013-10-08T02:13:35Z")

</div>

Hello, I’ve runned nginx under Win7 and MP4 videos embed with HTML5 and BubblesJS due to compatibility issues with SRT subtitles. I’d like to know how to enable ngx\_http\_mp4\_module using Windows (I’ve just found ou…

---

## [Using add\_header at server level context](https://www.ruby-forum.com/t/using-add-header-at-server-level-context/236751)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 7, 2013, 4:04pm UTC](https://www.ruby-forum.com/t/using-add-header-at-server-level-context/236751 "2013-10-07T16:04:00Z")

</div>

From the add\_header docs I understand that it works at location, http and server context. But when I use add\_header at the server level I don’t see the headers being added to the response. For example my server conf…

---

## [How to setup nginx to follow 302](https://www.ruby-forum.com/t/how-to-setup-nginx-to-follow-302/236842)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 7, 2013, 10:57am UTC](https://www.ruby-forum.com/t/how-to-setup-nginx-to-follow-302/236842 "2013-10-07T10:57:12Z")

</div>

Hello colleagues, Last week I tried to configure nginx to follow 302 through upstream instead of relay it to the client. My config now is like the next one: http { proxy\_cache\_path /home/toli/nginx/run/cache keys\_z…

---

## [Nginx config: different projects in different directories](https://www.ruby-forum.com/t/nginx-config-different-projects-in-different-directories/246385)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 7, 2013, 7:40am UTC](https://www.ruby-forum.com/t/nginx-config-different-projects-in-different-directories/246385 "2013-10-07T07:40:17Z")

</div>

Hi, I’m new to the list. I started to learn the Python web framework Flask and I would like to try it in production environment too. I managed to bring Flask together with uwsgi and nginx. My Flask application is ava…

---

## [Ngx\_small\_light](https://www.ruby-forum.com/t/ngx-small-light/236838)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 7, 2013, 3:37am UTC](https://www.ruby-forum.com/t/ngx-small-light/236838 "2013-10-07T03:37:15Z")

</div>

Hello, folks! I have decided to announce abount ngx\_small\_light here. ngx\_small\_light is the extension module for converting image dynamically like NginxImageFilter. ngx\_small\_light supports following features. Sup…

---

## [Nginx reverse proxy odd 301 redirect](https://www.ruby-forum.com/t/nginx-reverse-proxy-odd-301-redirect/246367)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 7, 2013, 12:04am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-odd-301-redirect/246367 "2013-10-07T00:04:34Z")

</div>

Hi, I have latest nginx which I am using as a reverse proxy for an application of mine running on apache on another server. The nginx config is like this: upstream upstreamname { server ip:port; } … location / { …

---

## [Remove some parameters from $args](https://www.ruby-forum.com/t/remove-some-parameters-from-args/236828)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 6, 2013, 7:42pm UTC](https://www.ruby-forum.com/t/remove-some-parameters-from-args/236828 "2013-10-06T19:42:49Z")

</div>

Hello, I’m using memcached + srcache. I need to modify the $args and take it as the cache key. For example; RT=62&SID=BC3781C3-2E02-4A11-89CF-34E5CFE8B0EF&UID=44332&L=EN&M=1&H=1&UNC=0&SRC=LK I need to convert above …

---

## [Overhead when enabling debug?](https://www.ruby-forum.com/t/overhead-when-enabling-debug/236713)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [October 5, 2013, 8:26pm UTC](https://www.ruby-forum.com/t/overhead-when-enabling-debug/236713 "2013-10-05T20:26:22Z")

</div>

i have a question regarding the --with-debug - option; do i have to expect much overhead, when compiling nginx with that option, but have it disabled per default? i’d like to have it at hand for debugging certain iss…

---

## [Fwd: Fastcgi returning 404 and nginx overwriting it to 200](https://www.ruby-forum.com/t/fwd-fastcgi-returning-404-and-nginx-overwriting-it-to-200/236819)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 5, 2013, 6:41pm UTC](https://www.ruby-forum.com/t/fwd-fastcgi-returning-404-and-nginx-overwriting-it-to-200/236819 "2013-10-05T18:41:10Z")

</div>

Hi all, My version is 0.7.67-3 coming from Debian Squeeze. I have tried with squeeze-backports which is version 1.2.1-2.2~bpo60+2 but I got the same results. I have reduced this to the smallest config for fastcgi a…

---

## [High response time at high concurrent connections](https://www.ruby-forum.com/t/high-response-time-at-high-concurrent-connections/236744)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 10\
**Last updated:** [October 4, 2013, 9:01pm UTC](https://www.ruby-forum.com/t/high-response-time-at-high-concurrent-connections/236744 "2013-10-04T21:01:30Z")

</div>

I have a news site which is run by 4 tornado instances and nginx as reverse proxy in front of them. Pages are rendered and cached in memcached so generally the response time is less than 3 ms according to tornado lo…

---

## [Nginx Fastcgi\_cache performance - Disk cached VS tmpfs cached VS serving static file](https://www.ruby-forum.com/t/nginx-fastcgi-cache-performance-disk-cached-vs-tmpfs-cached-vs-serving-static-file/246362)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 9\
**Last updated:** [October 4, 2013, 7:44pm UTC](https://www.ruby-forum.com/t/nginx-fastcgi-cache-performance-disk-cached-vs-tmpfs-cached-vs-serving-static-file/246362 "2013-10-04T19:44:58Z")

</div>

Hello guys, First of all, thanks for nginx. It is very good and easy to setup. And it is kind of a joy to learn about it. Two warnings: this performance thing is addictive. Every bit you squeeze, you want more. And…

---

## [Forward Proxy config for iPads for soon to go Live site](https://www.ruby-forum.com/t/forward-proxy-config-for-ipads-for-soon-to-go-live-site/246356)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 4, 2013, 5:59pm UTC](https://www.ruby-forum.com/t/forward-proxy-config-for-ipads-for-soon-to-go-live-site/246356 "2013-10-04T17:59:11Z")

</div>

Hi, I’m an nginx newbie and I need to configure it as an externally available forward proxy for manually configured iPads running an iOS app to test a soon to go Live website. You cannot change host files on an iPad …

---

## [Ngx\_cache\_purge not found](https://www.ruby-forum.com/t/ngx-cache-purge-not-found/246345)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [October 4, 2013, 1:34pm UTC](https://www.ruby-forum.com/t/ngx-cache-purge-not-found/246345 "2013-10-04T13:34:24Z")

</div>

Hi there, I tried to use ngx\_cache\_purge with the configuration below location ~ /purge(/.\*) { allow 127.0.0.1; deny all; proxy\_cache\_purge one backend$request\_uri; } location ~\* ^.+\\.(css|js)$ { proxy\_pass …

---

## [Does Nginx have separate queuing mechanism for requests?](https://www.ruby-forum.com/t/does-nginx-have-separate-queuing-mechanism-for-requests/236776)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 3, 2013, 5:03pm UTC](https://www.ruby-forum.com/t/does-nginx-have-separate-queuing-mechanism-for-requests/236776 "2013-10-03T17:03:01Z")

</div>

Hello. Consider the following situation: you are deploying application that can serve 1 req./sec. What would happen if I send 10 request in 1 second? I wrote simple app to test that: GitHub - amezhenin/nginx\_slow\_ups…

---

## [Wordpress log in 404 Not Found nginx/1.4.2 issue](https://www.ruby-forum.com/t/wordpress-log-in-404-not-found-nginx-1-4-2-issue/236790)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 3, 2013, 4:36pm UTC](https://www.ruby-forum.com/t/wordpress-log-in-404-not-found-nginx-1-4-2-issue/236790 "2013-10-03T16:36:43Z")

</div>

Hey guys, When I try to log-in for the site I work for I receive an issue. I type user and password correctly and then it redirects to a 404 Not Found nginx/1.4.2 error. When visiting the home page of the site it sho…

---

## [Root works, alias doesn't](https://www.ruby-forum.com/t/root-works-alias-doesnt/246299)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 9\
**Last updated:** [October 2, 2013, 9:03pm UTC](https://www.ruby-forum.com/t/root-works-alias-doesnt/246299 "2013-10-02T21:03:02Z")

</div>

Can anyone tell me why this works: root /var/www/localhost/htdocs; location / { root /var/www/localhost/htdocs/webalizer/; } And this doesn’t: root /var/www/localhost/htdocs; location / { alias /webalizer/; } I…

---

## [Ssl on different servers](https://www.ruby-forum.com/t/ssl-on-different-servers/236770)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [October 2, 2013, 8:44pm UTC](https://www.ruby-forum.com/t/ssl-on-different-servers/236770 "2013-10-02T20:44:55Z")

</div>

Hi, My domain.com is on ip: x.x.x.x where I have a configuration like: server { server\_name sub.domain.com; location / { proxy\_pass http://y.y.y.y; proxy\_set\_header X-Real-IP $remote\_addr; proxy\_set\_header …

---

## [Windows nginx 1.5.6.4 Butterfly](https://www.ruby-forum.com/t/windows-nginx-1-5-6-4-butterfly/236780)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 2, 2013, 6:21pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-5-6-4-butterfly/236780 "2013-10-02T18:21:07Z")

</div>

12:38 2-10-2013: nginx 1.5.6.4 Butterfly The Nginx ‘Butterfly’ release brings to Windows stable and unleashed power of Nginx, Lua, Streaming feature, Reverse DNS, SPDY, easy c250k in a non-blocking and event driven…

---

## [Gzip does not work if Content-Type contain semicolon?](https://www.ruby-forum.com/t/gzip-does-not-work-if-content-type-contain-semicolon/246353)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [October 2, 2013, 5:39pm UTC](https://www.ruby-forum.com/t/gzip-does-not-work-if-content-type-contain-semicolon/246353 "2013-10-02T17:39:35Z")

</div>

Hi, I have some serious troubles getting gzip to compress text/html and text/plain content. I’ve put a nginx as revproxy to Jenkins. Jenkins return headers like “Content-Type: text/plain;charset=UTF-8” and “Content-T…

---

## [We're sorry, but something went wrong](https://www.ruby-forum.com/t/were-sorry-but-something-went-wrong/246364)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [October 2, 2013, 5:20pm UTC](https://www.ruby-forum.com/t/were-sorry-but-something-went-wrong/246364 "2013-10-02T17:20:52Z")

</div>

So I’m in the early stages of rolling out a system to production, and a few app errors are cropping up that didn’t get caught in testing, and it occurs to me: it would be nice if the default “we’re sorry, but somethin…

---

## [Solving a 500 error](https://www.ruby-forum.com/t/solving-a-500-error/246327)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [October 2, 2013, 3:30pm UTC](https://www.ruby-forum.com/t/solving-a-500-error/246327 "2013-10-02T15:30:55Z")

</div>

Hi All, I have an nginx install with the configuration below. The server is a linux VM running under Virtual Box on my windows machine. The website / directory is made available as a sharename using Samba, which I co…

---

## [Nginx-1.5.6](https://www.ruby-forum.com/t/nginx-1-5-6/246325)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 1, 2013, 7:58pm UTC](https://www.ruby-forum.com/t/nginx-1-5-6/246325 "2013-10-01T19:58:50Z")

</div>

Changes with nginx 1.5.6 01 Oct 2013 \*) Feature: the "fastcgi\_buffering" directive. \*) Feature: the "proxy\_ssl\_protocols" and "proxy\_ssl\_ciphers" directives. Thanks to Pio…

---

## [Nginx and upstart](https://www.ruby-forum.com/t/nginx-and-upstart/236759)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 1, 2013, 4:36pm UTC](https://www.ruby-forum.com/t/nginx-and-upstart/236759 "2013-10-01T16:36:36Z")

</div>

Hi! I have seen this question has been asked before in the list, but unfortunately there haven’t been any answers, so let’s see if I have more luck :slight\_smile: In can successfully upgrade the nginx binary on the f…

---

## [Peer closed connection in SSL handshake when using chrome](https://www.ruby-forum.com/t/peer-closed-connection-in-ssl-handshake-when-using-chrome/246304)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 1, 2013, 3:27pm UTC](https://www.ruby-forum.com/t/peer-closed-connection-in-ssl-handshake-when-using-chrome/246304 "2013-10-01T15:27:38Z")

</div>

I am receiving ‘peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking, client: 168.166.124.xxx, server: 54.225.xx.xx’ When I try to access an application through my nginx revers…

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

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