# Server

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

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

---

## [Header on the Index Of page](https://www.ruby-forum.com/t/header-on-the-index-of-page/241776)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 29, 2015, 7:36pm UTC](https://www.ruby-forum.com/t/header-on-the-index-of-page/241776 "2015-04-29T19:36:10Z")

</div>

Good day all, Please I do I include a text/image as a header on the Index Of page. Like the above: http://mirror.mephi.ru/debian-cd/current/

---

## [How does nginx set End of Life for older versions?](https://www.ruby-forum.com/t/how-does-nginx-set-end-of-life-for-older-versions/241767)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 29, 2015, 5:58pm UTC](https://www.ruby-forum.com/t/how-does-nginx-set-end-of-life-for-older-versions/241767 "2015-04-29T17:58:34Z")

</div>

Hi, I turned to the official website and Google, but I couldn’t find a definitive answer re how older branches go End of Life. For example, now that the 1.8 stable branch has been created, what are the plans for the …

---

## [Setting content-length if app doesn't know what it is](https://www.ruby-forum.com/t/setting-content-length-if-app-doesnt-know-what-it-is/241755)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 29, 2015, 1:58pm UTC](https://www.ruby-forum.com/t/setting-content-length-if-app-doesnt-know-what-it-is/241755 "2015-04-29T13:58:24Z")

</div>

Behind my web server is an application that doesn’t include content-length headers because it doesn’t know what it is. I’m pretty sure this is an application issue but I promised I’d come here and ask the question - i…

---

## [Ssl stapling, verification fails](https://www.ruby-forum.com/t/ssl-stapling-verification-fails/241762)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 29, 2015, 1:35pm UTC](https://www.ruby-forum.com/t/ssl-stapling-verification-fails/241762 "2015-04-29T13:35:37Z")

</div>

Hi. I’m trying to get nginx 1.6.2 to authenticate users using their client certificates. I’m using this configuration (besides usual SSL settings, which are proved to work): ssl\_stapling on; ssl\_client\_certificate…

---

## [1.9 stream not working? 'directive is not allowed here'](https://www.ruby-forum.com/t/1-9-stream-not-working-directive-is-not-allowed-here/241761)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [April 29, 2015, 9:05am UTC](https://www.ruby-forum.com/t/1-9-stream-not-working-directive-is-not-allowed-here/241761 "2015-04-29T09:05:07Z")

</div>

Hmm, following: I get a nginx: \[emerg\] “stream” directive is not allowed here eventhough its within the http context like upstreams are, anyone with a good example? or did I stumble on a context eval bug? Posted at …

---

## [Jsfiddle demonstrating IE11 difference talking to nginx vs google](https://www.ruby-forum.com/t/jsfiddle-demonstrating-ie11-difference-talking-to-nginx-vs-google/241751)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 28, 2015, 9:09pm UTC](https://www.ruby-forum.com/t/jsfiddle-demonstrating-ie11-difference-talking-to-nginx-vs-google/241751 "2015-04-28T21:09:59Z")

</div>

See, or please try: If you see what I see in my IE11, when I press Start Test, and the target is nginx.org, the duration for each request goes slow/normal/slow/normal But when I change nginx.org to google.com, the t…

---

## [Rewrite rule with in url](https://www.ruby-forum.com/t/rewrite-rule-with-in-url/241743)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 28, 2015, 11:05am UTC](https://www.ruby-forum.com/t/rewrite-rule-with-in-url/241743 "2015-04-28T11:05:53Z")

</div>

Hi - I’ve got a plugin which was misconfigured - and now I need to rewrite a string - however I cannot find out at all how to do this for urls with ? in them. So I need to have: www.velomap.org/de/?s2member\_paypal\_…

---

## [Issue with rewrite rule, need help](https://www.ruby-forum.com/t/issue-with-rewrite-rule-need-help/241710)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 26, 2015, 12:33am UTC](https://www.ruby-forum.com/t/issue-with-rewrite-rule-need-help/241710 "2015-04-26T00:33:40Z")

</div>

Hi Folks, I am having apache server which is being prtoected by nginx reverse proxy server. Now issue I am facing here is while accessing certain page proxy is throwing me error 301 and instead of opening up pdf fil…

---

## [Proxying to older apache fails](https://www.ruby-forum.com/t/proxying-to-older-apache-fails/241700)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 24, 2015, 7:09pm UTC](https://www.ruby-forum.com/t/proxying-to-older-apache-fails/241700 "2015-04-24T19:09:55Z")

</div>

I’m trying to keep an old apache install limping along for a few more months by letting nginx handle the SSL connection between site visitors and apache. I have a pretty simple config on the nginx side for the proxy\_…

---

## [Couldn't display even 404 or 403 Error page when Nginx Updated to 1.8.0](https://www.ruby-forum.com/t/couldnt-display-even-404-or-403-error-page-when-nginx-updated-to-1-8-0/241674)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 23, 2015, 5:22am UTC](https://www.ruby-forum.com/t/couldnt-display-even-404-or-403-error-page-when-nginx-updated-to-1-8-0/241674 "2015-04-23T05:22:34Z")

</div>

Hello, there. I’m Koichi Fujita. Last day, when I came to the office, my web brouser and iPhone returned a massage “Couldn’t connect the web server, temporary unavailable the server or blah blah blah…”, which it mean…

---

## [Best place in code to setsockoptions from variables](https://www.ruby-forum.com/t/best-place-in-code-to-setsockoptions-from-variables/241672)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 23, 2015, 2:52am UTC](https://www.ruby-forum.com/t/best-place-in-code-to-setsockoptions-from-variables/241672 "2015-04-23T02:52:08Z")

</div>

A pointer on source modifications would be great. In which function is the logical/best place to set custom socket options after accept, from variable values set in nginx.conf, eg per location? or, is it best to copy …

---

## [Rewrite rules issue](https://www.ruby-forum.com/t/rewrite-rules-issue/241607)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 10\
**Last updated:** [April 22, 2015, 9:17pm UTC](https://www.ruby-forum.com/t/rewrite-rules-issue/241607 "2015-04-22T21:17:27Z")

</div>

Hello, I have an issue with a rewrite rule for redirect to a subdomain. Here it is: if ($http\_host = “subdomain.domain.fr”) { rewrite ^(?!/\\b(subpath|stats|error)\\b)/(.\*)$ /subpath/$2 last; } if in my browser i wr…

---

## [Nginx-1.8.0](https://www.ruby-forum.com/t/nginx-1-8-0/241659)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 22, 2015, 11:05am UTC](https://www.ruby-forum.com/t/nginx-1-8-0/241659 "2015-04-22T11:05:05Z")

</div>

Changes with nginx 1.8.0 21 Apr 2015 \*) 1.8.x stable branch. – Maxim D. http://nginx.org/

---

## [Nginx php cgi interpreter](https://www.ruby-forum.com/t/nginx-php-cgi-interpreter/241663)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 22, 2015, 4:35am UTC](https://www.ruby-forum.com/t/nginx-php-cgi-interpreter/241663 "2015-04-22T04:35:10Z")

</div>

Hi all, I’m just trying to configure nginx to use use php, but it seemed too complicated. Why is it so complicated to tell nginx to use php-cgi interpreter \[1\]? When compared to mongoose it is just a matter of settin…

---

## [Question on Nginx Proxy Installation](https://www.ruby-forum.com/t/question-on-nginx-proxy-installation/241661)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 21, 2015, 8:57pm UTC](https://www.ruby-forum.com/t/question-on-nginx-proxy-installation/241661 "2015-04-21T20:57:25Z")

</div>

Hello, Following is a problem I am facing while using nginx as a proxy, please provide me feedback and ideas to solve it. I have a zookeeper based service discovery setup. For some of the services I want to use ngin…

---

## [Building nginx 1.8.0, linking to local-install of Openssl, 'nginx -V' still reports "built with" \*sy](https://www.ruby-forum.com/t/building-nginx-1-8-0-linking-to-local-install-of-openssl-nginx-v-still-reports-built-with-sy/241658)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 21, 2015, 5:31pm UTC](https://www.ruby-forum.com/t/building-nginx-1-8-0-linking-to-local-install-of-openssl-nginx-v-still-reports-built-with-sy/241658 "2015-04-21T17:31:04Z")

</div>

I’m building nginx 1.8.0 on linux/64. I have openssl 1.0.2a built locally, and installed into /usr/local/ssl which openssl /usr/local/ssl/bin/openssl I’ve configured nginx build with ./configure … –with-cc-opt=’……

---

## [Maximum number of descriptors supported by select() is 1024 while connecting to upstream](https://www.ruby-forum.com/t/maximum-number-of-descriptors-supported-by-select-is-1024-while-connecting-to-upstream/241653)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 21, 2015, 3:50pm UTC](https://www.ruby-forum.com/t/maximum-number-of-descriptors-supported-by-select-is-1024-while-connecting-to-upstream/241653 "2015-04-21T15:50:29Z")

</div>

I am getting following error in my nginx logs and I don’t think its related to the worker connections. I am on a windows 7 machine. I think the problem is to do with proxy. Any idea how to resolve this? ERROR LOG: 20…

---

## [Open socket #84 left in connection](https://www.ruby-forum.com/t/open-socket-84-left-in-connection/241633)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 21, 2015, 9:08am UTC](https://www.ruby-forum.com/t/open-socket-84-left-in-connection/241633 "2015-04-21T09:08:01Z")

</div>

Hi, We’re using nginx to upload and serve videos files around 1GB of file size via http. We’ve been receiving complains from some customers that uploading has some issue and sometimes user are unable to upload videos …

---

## [Helloo,do anyone has this situation?](https://www.ruby-forum.com/t/helloo-do-anyone-has-this-situation/241577)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 21, 2015, 8:46am UTC](https://www.ruby-forum.com/t/helloo-do-anyone-has-this-situation/241577 "2015-04-21T08:46:56Z")

</div>

I compile the nginx with this configure. –prefix=/home/svn/nginx --user=svn –add-module=…/ngx\_devel\_kit-master –add-module=…/srcache-nginx-module-master –add-module=…/redis2-nginx-module-master –add-module=…/set-mis…

---

## [Upstream prematurely closed connection while reading response header from upstream](https://www.ruby-forum.com/t/upstream-prematurely-closed-connection-while-reading-response-header-from-upstream/241642)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 21, 2015, 4:28am UTC](https://www.ruby-forum.com/t/upstream-prematurely-closed-connection-while-reading-response-header-from-upstream/241642 "2015-04-21T04:28:16Z")

</div>

Recently I tried to implemented an Nginx extension module to save the request body to redis list (via RPUSH command) directly . However, I got a 502 Bad Gateway error! The error occurs after calling ngx\_http\_redis\_cre…

---

## [Nginx\_slowfs\_cache](https://www.ruby-forum.com/t/nginx-slowfs-cache/241616)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [April 20, 2015, 10:52pm UTC](https://www.ruby-forum.com/t/nginx-slowfs-cache/241616 "2015-04-20T22:52:16Z")

</div>

Hi, Today after upgrading from nginx version 1.6.x to 1.7.x I have got a segmentation fault. After short investigation the culprit was found. It is module by Frikle - nginx\_slowfs\_cache. Is anybody has the same issu…

---

## [Disable caching the names in /etc/hosts in reverse proxy?](https://www.ruby-forum.com/t/disable-caching-the-names-in-etc-hosts-in-reverse-proxy/241611)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 20, 2015, 8:12pm UTC](https://www.ruby-forum.com/t/disable-caching-the-names-in-etc-hosts-in-reverse-proxy/241611 "2015-04-20T20:12:28Z")

</div>

I’m using Nginx to act as a reverse proxy, where the backend is a name defined in /etc/hosts. However, Nginx does not react to the changes made in /etc/hosts until restarted. Is it possible to disable caching the name…

---

## [VHost Guidance](https://www.ruby-forum.com/t/vhost-guidance/241638)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [April 20, 2015, 8:11pm UTC](https://www.ruby-forum.com/t/vhost-guidance/241638 "2015-04-20T20:11:34Z")

</div>

Hi folks. Brand new to nginx. I’m trying to run 3 vhosts on my workstation to get familiar with nginx. alpha bravo charlie I’m using bravo in the main nginx.conf pointing to /var/www/alpha/ bravo and charlie are …

---

## [Intermittent SSL Handshake issues on Ubuntu 12.04 and Nginx](https://www.ruby-forum.com/t/intermittent-ssl-handshake-issues-on-ubuntu-12-04-and-nginx/241624)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 20, 2015, 7:44pm UTC](https://www.ruby-forum.com/t/intermittent-ssl-handshake-issues-on-ubuntu-12-04-and-nginx/241624 "2015-04-20T19:44:20Z")

</div>

Hi Guys, I posted originally my issue on askubuntu but I think this will be a better place http://askubuntu.com/questions/611418/intermittent-ssl-handshake-issues-on-ubuntu-12-04-and-nginx. Original post In simple…

---

## [License information of component nginx-1.7.9](https://www.ruby-forum.com/t/license-information-of-component-nginx-1-7-9/241625)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 20, 2015, 3:56pm UTC](https://www.ruby-forum.com/t/license-information-of-component-nginx-1-7-9/241625 "2015-04-20T15:56:18Z")

</div>

Hello experts, I am planning to use the component nginx-1.7.9 and came across a file ngx\_md5.c (nginx-1.7.9.tar\\nginx-1.7.9\\src\\core\\ngx\_md5.c). Can I know under which license this file is licensed? With best regard…

---

## [FTP reverse proxy](https://www.ruby-forum.com/t/ftp-reverse-proxy/241627)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 20, 2015, 9:37am UTC](https://www.ruby-forum.com/t/ftp-reverse-proxy/241627 "2015-04-20T09:37:54Z")

</div>

Hi all, I’m discovering Nginx. Is this product can work as reverse proxy FTP ? If no, do you know a product with this function ? Thanks François Posted at Nginx Forum:

---

## [Dificulty finding local static content](https://www.ruby-forum.com/t/dificulty-finding-local-static-content/241600)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 19, 2015, 1:06pm UTC](https://www.ruby-forum.com/t/dificulty-finding-local-static-content/241600 "2015-04-19T13:06:05Z")

</div>

Total newb here so apologies in advance. (Silly me, I could have set up Apache, but I decided to learn something new.) I have an existing website hosted on a server running apache. I am setting up a new server, this …

---

## [Canonicalization of $uri with "/?.\*" content](https://www.ruby-forum.com/t/canonicalization-of-uri-with-content/241580)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 18, 2015, 10:28am UTC](https://www.ruby-forum.com/t/canonicalization-of-uri-with-content/241580 "2015-04-18T10:28:48Z")

</div>

The last security audit revealed the following: V:Wed Apr 15 20:58:19 2015 - 200 for GET: /?mod=node&nid=some\_thing&op=view V:Wed Apr 15 20:58:43 2015 - 200 for GET: /?Open V:Wed Apr 15 20:58:43 2015 - 200 for GET: /…

---

## [Logging variables -- $bytes\_sent where is $bytes\_read?](https://www.ruby-forum.com/t/logging-variables-bytes-sent-where-is-bytes-read/241597)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 9\
**Last updated:** [April 18, 2015, 4:18am UTC](https://www.ruby-forum.com/t/logging-variables-bytes-sent-where-is-bytes-read/241597 "2015-04-18T04:18:44Z")

</div>

Is there a variable for bytes read ? $content\_length is what should be read, but if the request is terminated early, it is wrong. $request\_length is not right either, it is logging 459 bytes on a 9mb upload. thanks

---

## [Get the request\_body in a handler](https://www.ruby-forum.com/t/get-the-request-body-in-a-handler/241591)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 17, 2015, 3:52pm UTC](https://www.ruby-forum.com/t/get-the-request-body-in-a-handler/241591 "2015-04-17T15:52:36Z")

</div>

Hi, I’m trying to make a module that will get the body of http requests and print it in my log. I tried to access the variable r-\>request\_body (r is a ngx\_http\_request\_t \*) and it’s always empty. I also know that t…

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

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