# Server

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

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

---

## [Dynamic rate limiting per ip](https://www.ruby-forum.com/t/dynamic-rate-limiting-per-ip/238311)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 6, 2014, 8:33pm UTC](https://www.ruby-forum.com/t/dynamic-rate-limiting-per-ip/238311 "2014-01-06T20:33:50Z")

</div>

Hello Folks, i have some setup with multiple server and i offer downloads for the users, in the case my servers bandwidth is overloaded i want the people to be able to start the download but with limited rate so the…

---

## [How do I disable DNS Caching and DNS Reverse Lookup in Nginx?](https://www.ruby-forum.com/t/how-do-i-disable-dns-caching-and-dns-reverse-lookup-in-nginx/238259)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [January 6, 2014, 6:36pm UTC](https://www.ruby-forum.com/t/how-do-i-disable-dns-caching-and-dns-reverse-lookup-in-nginx/238259 "2014-01-06T18:36:25Z")

</div>

Hello all Ive been assigned a task to set up an ipv6 to ipv4 reverse proxy for my company. I decided to use nginx to do the job. I found the following article online which describes how to configure nginx as a revers…

---

## [Centos 6.5 and ECDH ciphers in nginx.org Centos repo](https://www.ruby-forum.com/t/centos-6-5-and-ecdh-ciphers-in-nginx-org-centos-repo/238351)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [January 6, 2014, 1:55pm UTC](https://www.ruby-forum.com/t/centos-6-5-and-ecdh-ciphers-in-nginx-org-centos-repo/238351 "2014-01-06T13:55:21Z")

</div>

Hi In Centos 6.5 (and RHEL 6.5) the ECDH ciphers were enabled. There appears to be an issue with the nginx.org 1.5.8 Centos binaries still not having support for ECDHE despite having updated openssl 1.01e with ellipt…

---

## [How to delete cache based on expires headers?](https://www.ruby-forum.com/t/how-to-delete-cache-based-on-expires-headers/238137)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [January 6, 2014, 5:18am UTC](https://www.ruby-forum.com/t/how-to-delete-cache-based-on-expires-headers/238137 "2014-01-06T05:18:17Z")

</div>

Hi I’m using proxy\_cache to mirror my files with the configuration below proxy\_cache\_path /var/cache/nginx/image levels=1:2 keys\_zone=one:10m inactive=7d max\_size=100g; Our backend server has the expires header set…

---

## [OT: Crypto Hardening Guide (nginx has an entry)](https://www.ruby-forum.com/t/ot-crypto-hardening-guide-nginx-has-an-entry/238341)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 5, 2014, 9:15am UTC](https://www.ruby-forum.com/t/ot-crypto-hardening-guide-nginx-has-an-entry/238341 "2014-01-05T09:15:40Z")

</div>

For administrators interested in SSL/TLS protocols and ciphers settings, the following may be useful. It also looks like the \[possibly influenced\] US stuff was removed. https://bettercrypto.org/static/applied-crypto-h…

---

## [CentOS Nginx Installer(include PHP-FTP, MYSQL) add website no need restart Nginx](https://www.ruby-forum.com/t/centos-nginx-installer-include-php-ftp-mysql-add-website-no-need-restart-nginx/238334)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 4, 2014, 7:19am UTC](https://www.ruby-forum.com/t/centos-nginx-installer-include-php-ftp-mysql-add-website-no-need-restart-nginx/238334 "2014-01-04T07:19:09Z")

</div>

Some of our clients are not good at SSH command, they just want an easy way to run their websites. Most of them are less then 1GB memory VPS and don’t want install control panel. For this purpose, we wrote a CentOS …

---

## [Mainline does not include gzip module?](https://www.ruby-forum.com/t/mainline-does-not-include-gzip-module/238328)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [January 4, 2014, 2:53am UTC](https://www.ruby-forum.com/t/mainline-does-not-include-gzip-module/238328 "2014-01-04T02:53:57Z")

</div>

i just replaced a stable install with the mainline version (1.5.8) and noticed that the outputted files are not being gzipped. i ran nginx -V and do not see any arguments that enable gzip. is there a reason why the st…

---

## [\-rpath linker option?](https://www.ruby-forum.com/t/rpath-linker-option/238316)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 3, 2014, 2:38pm UTC](https://www.ruby-forum.com/t/rpath-linker-option/238316 "2014-01-03T14:38:24Z")

</div>

I’m having trouble with dll hell on Debian and Ubuntu with OpenSSL. Debian and Ubuntu insist on runtime linking with the copy in /usr/lib. Fedora and Red Hat are OK because they don’t use OpenSSL by default, so they a…

---

## [OCSP validation of client certificates](https://www.ruby-forum.com/t/ocsp-validation-of-client-certificates/238313)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 3, 2014, 4:18am UTC](https://www.ruby-forum.com/t/ocsp-validation-of-client-certificates/238313 "2014-01-03T04:18:01Z")

</div>

Hi Forum, I see that nGinx supports configuration to perform OCSP validation of server side certificates and staple the validation response to the client. My question is whether nGinx supports OCSP validation of cli…

---

## [How would nginx record client IP address under TCP Multipath?](https://www.ruby-forum.com/t/how-would-nginx-record-client-ip-address-under-tcp-multipath/238314)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 3, 2014, 2:43am UTC](https://www.ruby-forum.com/t/how-would-nginx-record-client-ip-address-under-tcp-multipath/238314 "2014-01-03T02:43:59Z")

</div>

Hello, Since iOS7 supports TCP Multipath now, I think more and more devices will start support it. But TCP Multipath allows many client IPs connected to the same server, suppose Nginx in this case, how would access\_…

---

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

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 2, 2014, 3:29pm UTC](https://www.ruby-forum.com/t/nginx-rewrite-configuration/238305 "2014-01-02T15:29:48Z")

</div>

hi! i’m newbie so having a hard time! I have a question about rewrite configure in nginx! RULE is http://URL/\[option\]/http://URL . I mean… for example, if request is http://aaa.net/25X25/http://bbb.net/ccc.jpg , re…

---

## [Rewriteing awstats to base path](https://www.ruby-forum.com/t/rewriteing-awstats-to-base-path/238291)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 1, 2014, 5:44pm UTC](https://www.ruby-forum.com/t/rewriteing-awstats-to-base-path/238291 "2014-01-01T17:44:18Z")

</div>

Hi, I like to beautify my urls used for awstats. Currently I have to use the following path for awstats /cgi-bin/awstats.pl?config=www.example.com that works as expected. For easier handling for our users I like t…

---

## [Hiring a dev: nginx+interchange](https://www.ruby-forum.com/t/hiring-a-dev-nginx-interchange/238286)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 1, 2014, 7:19am UTC](https://www.ruby-forum.com/t/hiring-a-dev-nginx-interchange/238286 "2014-01-01T07:19:22Z")

</div>

Hello, I use a perl framework called interchange (icdevgroup.org) and I’ve been using a perl module called Interchange::Link to interface interchange to apache: I’d like to switch from apache to nginx and I need to …

---

## [Now you can move your mouse](https://www.ruby-forum.com/t/now-you-can-move-your-mouse/238270)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 30, 2013, 9:48am UTC](https://www.ruby-forum.com/t/now-you-can-move-your-mouse/238270 "2013-12-30T09:48:27Z")

</div>

Don’t try so hard, the best things come when you least expect them to. If you think that you missed the buying Cheap KD V Nerf; KD V Nerf; KD 6(VI) Sneakers; Kobe Olympic IV; Lebron 10 MVP;shoes. now you can …

---

## [It can't describe his design](https://www.ruby-forum.com/t/it-cant-describe-his-design/238268)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 30, 2013, 9:47am UTC](https://www.ruby-forum.com/t/it-cant-describe-his-design/238268 "2013-12-30T09:47:51Z")

</div>

You don’t need somebody to interpret for you what a beautiful sunrise it is. Like the Cheap KD V Nerf; KD V Nerf; KD 6(VI) Sneakers; Kobe Olympic IV; Lebron 10 MVP; store, it can’t describe his design aesthetic…

---

## [Problems setting ttl on single image](https://www.ruby-forum.com/t/problems-setting-ttl-on-single-image/238262)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 30, 2013, 2:57am UTC](https://www.ruby-forum.com/t/problems-setting-ttl-on-single-image/238262 "2013-12-30T02:57:15Z")

</div>

I’m trying to enable a 10 minute autorefresh for my webcam which you can see at http://www.diamondharbour.org.nz/Local-Weather.html Server runs nginx 1.4.4 ( and an ancient CMS called Etomite ). Here’s the WPT result W…

---

## [Ssl handshake fail when proxy between two tomcat with mutual authentication](https://www.ruby-forum.com/t/ssl-handshake-fail-when-proxy-between-two-tomcat-with-mutual-authentication/235915)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [December 30, 2013, 1:53am UTC](https://www.ruby-forum.com/t/ssl-handshake-fail-when-proxy-between-two-tomcat-with-mutual-authentication/235915 "2013-12-30T01:53:29Z")

</div>

Hi, I’ve got a problem when setting up nginx as load balancer between two tomcats with mutual authentication. The system is like: Tomcat1 \<–https-\> Nginx \<–https–\> Tomcat2. Before adding nginx, the mutual authenticat…

---

## [Serving default error pages with 'proxy\_intercept\_errors on'](https://www.ruby-forum.com/t/serving-default-error-pages-with-proxy-intercept-errors-on/238245)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 30, 2013, 12:17am UTC](https://www.ruby-forum.com/t/serving-default-error-pages-with-proxy-intercept-errors-on/238245 "2013-12-30T00:17:41Z")

</div>

Hello, I’m running nginx v1.4.1 on OpenBSD 5.4 and I’d like to use ‘proxy\_intercept\_errors on’ directive without providing my own error pages. In other words, instead of forwarding page content from the backend serve…

---

## [Insert subdomain into query](https://www.ruby-forum.com/t/insert-subdomain-into-query/238260)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 29, 2013, 9:26pm UTC](https://www.ruby-forum.com/t/insert-subdomain-into-query/238260 "2013-12-29T21:26:34Z")

</div>

I have setup a wildcard subdomain server(many subdomains) server { listen 80; server\_name ~(?.\*).localhost; … … } I want to make the subdomain apart of the query in the backend when we visit http://clothes.…

---

## [Mod wsgi](https://www.ruby-forum.com/t/mod-wsgi/238243)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 27, 2013, 12:59pm UTC](https://www.ruby-forum.com/t/mod-wsgi/238243 "2013-12-27T12:59:22Z")

</div>

Hello Everyone, Tried add mod wsgi and compilation fail. Any help thank you in advance. -o objs/addon/src/ngx\_http\_wsgi\_module.o \\ /home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod\_wsgi/src/ngx\_http\_wsgi\_module.c /…

---

## [Connection timeout for upstream server!](https://www.ruby-forum.com/t/connection-timeout-for-upstream-server/238229)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 26, 2013, 12:47pm UTC](https://www.ruby-forum.com/t/connection-timeout-for-upstream-server/238229 "2013-12-26T12:47:28Z")

</div>

We’re having following issue with nginx and php-fpm, please have a look on logs : 2013/12/26 16:43:24 \[error\] 9906#0: \*37001 upstream timed out (110: Connection timed out) while reading response header from upstream, …

---

## [SPDY: support for SPDY v3](https://www.ruby-forum.com/t/spdy-support-for-spdy-v3/238191)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 25, 2013, 3:10pm UTC](https://www.ruby-forum.com/t/spdy-support-for-spdy-v3/238191 "2013-12-25T15:10:42Z")

</div>

Hi, We have just implemented the support for SPDY v3 in nginx, with flow control (upload and download), and a switch option between SPDY v2 and SPDY v3. This patch is for Nginx-1.5.8. The directives we added are: s…

---

## [Redirect loop in combination with https and apache](https://www.ruby-forum.com/t/redirect-loop-in-combination-with-https-and-apache/238203)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 23, 2013, 11:07am UTC](https://www.ruby-forum.com/t/redirect-loop-in-combination-with-https-and-apache/238203 "2013-12-23T11:07:44Z")

</div>

Hi, We have a setup with tomcat/apache and nginx. When a redirect occurs from the application from https to http, the nginx gets trapped in a redirect loop. In the apache configuration we have this setting: Expire…

---

## [Redirect loop fixed, I need a better rule format](https://www.ruby-forum.com/t/redirect-loop-fixed-i-need-a-better-rule-format/238197)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 23, 2013, 7:14am UTC](https://www.ruby-forum.com/t/redirect-loop-fixed-i-need-a-better-rule-format/238197 "2013-12-23T07:14:03Z")

</div>

Hello everyone, I have a little problem on hand, related to redirect loop for a specific location: server { listen 192.168.1.2:443 spdy ssl default\_server; … location ^~ /alpha { return 301 https://www.domain.com$…

---

## [Trying to understand fastcgi](https://www.ruby-forum.com/t/trying-to-understand-fastcgi/238193)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 22, 2013, 6:14pm UTC](https://www.ruby-forum.com/t/trying-to-understand-fastcgi/238193 "2013-12-22T18:14:04Z")

</div>

I was trying to understand the fastcgi forwarding. The example shows: server { server\_name .website.com; listen 80; root /home/website/www; index index.html; location / { fastcgi\_pass 127.0.0.1:9000; fastcgi\_para…

---

## [Nginx-1.5.8](https://www.ruby-forum.com/t/nginx-1-5-8/238106)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [December 22, 2013, 4:12pm UTC](https://www.ruby-forum.com/t/nginx-1-5-8/238106 "2013-12-22T16:12:35Z")

</div>

Changes with nginx 1.5.8 17 Dec 2013 \*) Feature: IPv6 support in resolver. \*) Feature: the "listen" directive supports the "fastopen" parameter. Thanks to Mathew Rodley. \*) …

---

## [Using 127.0.0.1 in resolver](https://www.ruby-forum.com/t/using-127-0-0-1-in-resolver/238180)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 21, 2013, 3:57pm UTC](https://www.ruby-forum.com/t/using-127-0-0-1-in-resolver/238180 "2013-12-21T15:57:57Z")

</div>

Using: resolver 127.0.0.1 valid=300s; Does not work. I assume this would simply uses the DNS servers listed in /etc/resolv.conf? Thanks. Posted at Nginx Forum:

---

## [Proxy\_cache or direct static files?](https://www.ruby-forum.com/t/proxy-cache-or-direct-static-files/238067)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [December 21, 2013, 8:00am UTC](https://www.ruby-forum.com/t/proxy-cache-or-direct-static-files/238067 "2013-12-21T08:00:07Z")

</div>

Hello, I don’t quite understand what I could get from caching with proxy\_cache vs serving static files directly. Everywhere people tend to say that it is better to cache, but isn’t caching the same as serving direc…

---

## [Nginx variable to know the number of active connections](https://www.ruby-forum.com/t/nginx-variable-to-know-the-number-of-active-connections/238176)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 20, 2013, 5:54pm UTC](https://www.ruby-forum.com/t/nginx-variable-to-know-the-number-of-active-connections/238176 "2013-12-20T17:54:44Z")

</div>

Hello, Is there a way to get the number of active connections in order to activate or a not a cache mechanism when nginx is in a high trafic period? Regards Jerome Posted at Nginx Forum:

---

## [Spdy protocol version 3 support](https://www.ruby-forum.com/t/spdy-protocol-version-3-support/238162)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 20, 2013, 2:17pm UTC](https://www.ruby-forum.com/t/spdy-protocol-version-3-support/238162 "2013-12-20T14:17:22Z")

</div>

Any update or eta on when we can expect spdy protocol version 3 in the 1.5.X branch? Thanks. Posted at Nginx Forum:

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

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