# Server

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

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

---

## [Ngx http limit req : burst=0 cannot support more than 1000 RPS](https://www.ruby-forum.com/t/ngx-http-limit-req-burst-0-cannot-support-more-than-1000-rps/240488)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [April 16, 2014, 4:47pm UTC](https://www.ruby-forum.com/t/ngx-http-limit-req-burst-0-cannot-support-more-than-1000-rps/240488 "2014-04-16T16:47:38Z")

</div>

I am using “ngx\_http\_limit\_req” module. After going through the code I see that if “burst = 0” (i.e. not specified) then maximum rate limiting that can be offered is 1000 RPS only. I have seen this in my stress test …

---

## [Mediawiki fastcgi\_cache not working](https://www.ruby-forum.com/t/mediawiki-fastcgi-cache-not-working/240489)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 16, 2014, 4:02pm UTC](https://www.ruby-forum.com/t/mediawiki-fastcgi-cache-not-working/240489 "2014-04-16T16:02:46Z")

</div>

Hi, I have setup nginx with ngx\_cache\_purge to work with mediawiki nginx.conf fastcgi\_cache\_path /etc/nginx/cache levels=1:2 keys\_zone=MYAPP:100m inactive=60m; fastcgi\_cache\_key “$scheme$host$request\_uri”; vhost.…

---

## [Openssl 1.0.1 and tls1.1 and up](https://www.ruby-forum.com/t/openssl-1-0-1-and-tls1-1-and-up/240464)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 11\
**Last updated:** [April 16, 2014, 3:43pm UTC](https://www.ruby-forum.com/t/openssl-1-0-1-and-tls1-1-and-up/240464 "2014-04-16T15:43:18Z")

</div>

Hello I\`m struggling with enabling tls1.1 and tls1.2. Some info: NGINX: nginx -V nginx version: nginx/1.5.13 built by gcc 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9) TLS SNI support enabled configure arguments: --prefix…

---

## [Bug in spdy - 499 response code on long running requests](https://www.ruby-forum.com/t/bug-in-spdy-499-response-code-on-long-running-requests/245626)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 12\
**Last updated:** [April 16, 2014, 2:02pm UTC](https://www.ruby-forum.com/t/bug-in-spdy-499-response-code-on-long-running-requests/245626 "2014-04-16T14:02:21Z")

</div>

We sometimes have long running HTTPS requests, over 2 minutes, and occasionally would see 499 response codes, and duplicate (double run) transactions. After digging around and testing, it was discovered this only occ…

---

## [Server\_names scaling](https://www.ruby-forum.com/t/server-names-scaling/240483)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 16, 2014, 1:17pm UTC](https://www.ruby-forum.com/t/server-names-scaling/240483 "2014-04-16T13:17:28Z")

</div>

Hi all, I have spent the day troubleshooting why one server in our network reloaded / tested configuration extremely slowly. We have found that server\_names scales very poorly, once a certain point is reached (appr…

---

## [Nginx does not support Forward SSL proxy connection](https://www.ruby-forum.com/t/nginx-does-not-support-forward-ssl-proxy-connection/240480)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 16, 2014, 11:42am UTC](https://www.ruby-forum.com/t/nginx-does-not-support-forward-ssl-proxy-connection/240480 "2014-04-16T11:42:25Z")

</div>

Hi, I’m trying to setup Forward SSL Proxy through nginx. However I came across this post,Re: https and nginx as forward proxy. Is this still not supported or you just don’t have this on your list ? Thank You Sai P…

---

## [Simple BREACH workaround for gzip](https://www.ruby-forum.com/t/simple-breach-workaround-for-gzip/240461)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 15, 2014, 1:51pm UTC](https://www.ruby-forum.com/t/simple-breach-workaround-for-gzip/240461 "2014-04-15T13:51:55Z")

</div>

Hello, has anyone considered this simple workaround for BREACH and gzip-compression, i.e. randomly interspersed flush()-es during compression? It would be compatible with all clients, and should be fairly easy to …

---

## [OpenSSL leaks server-Keys / The Heartbleed Bug](https://www.ruby-forum.com/t/openssl-leaks-server-keys-the-heartbleed-bug/240318)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 11\
**Last updated:** [April 15, 2014, 1:43pm UTC](https://www.ruby-forum.com/t/openssl-leaks-server-keys-the-heartbleed-bug/240318 "2014-04-15T13:43:40Z")

</div>

A missing bounds check in the handling of the TLS heartbeat extension can be used to reveal up to 64k of memory to a connected client or server. https://www.openssl.org/news/secadv\_20140407.txt http://heartbleed.com/ …

---

## [Nginx reverse proxy on another web server with redirection](https://www.ruby-forum.com/t/nginx-reverse-proxy-on-another-web-server-with-redirection/240447)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 15, 2014, 3:34am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-on-another-web-server-with-redirection/240447 "2014-04-15T03:34:51Z")

</div>

Hi all, I have the problem with configuring nginx to perform proxy redirection to web server that appends some its local path to redirected address. As a result I get url of my server (where nginx is running) but wit…

---

## [Nginx segfaulting with mod\_security](https://www.ruby-forum.com/t/nginx-segfaulting-with-mod-security/240419)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [April 15, 2014, 12:51am UTC](https://www.ruby-forum.com/t/nginx-segfaulting-with-mod-security/240419 "2014-04-15T00:51:39Z")

</div>

Hello, I have compiled nginx-1.5.13 with modsecurity-2.7.7 and am seeing occasional segfaults when sending requests to the server. mod\_security was compiled as a standalone module per the instructions made available …

---

## [$request\_uri in rewrite and try\_files](https://www.ruby-forum.com/t/request-uri-in-rewrite-and-try-files/240446)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 14, 2014, 9:17pm UTC](https://www.ruby-forum.com/t/request-uri-in-rewrite-and-try-files/240446 "2014-04-14T21:17:31Z")

</div>

Hi, When I try to use rewrite to replace try\_files, my php application report error. Finally I find $\_SERVER\[“PATH\_INFO”\] is different between try\_files and rewrite. nginx/1.4.4 PHP 5.4.22 try\_files: try\_fil…

---

## [Problems with PHP authentication imap/smtp proxy](https://www.ruby-forum.com/t/problems-with-php-authentication-imap-smtp-proxy/240425)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 14, 2014, 7:47pm UTC](https://www.ruby-forum.com/t/problems-with-php-authentication-imap-smtp-proxy/240425 "2014-04-14T19:47:04Z")

</div>

I managed to write my php auth script but still having problems authenticating. Also this is what I see in the logs: \[error\] 22014#0: \*3234 recv() failed (111: Connection refused) while in http auth state, client: b…

---

## [Auto send email on 50](https://www.ruby-forum.com/t/auto-send-email-on-50/240442)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 14, 2014, 5:01pm UTC](https://www.ruby-forum.com/t/auto-send-email-on-50/240442 "2014-04-14T17:01:59Z")

</div>

Hello. It might be nice if nginx included some type of logging functionality like…if something \[like fastcgi, etc.\] returns a 500 error, it sends off an email message to alert an admin. Something like that. Anyway,…

---

## [The http output chain is empty](https://www.ruby-forum.com/t/the-http-output-chain-is-empty/240428)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 14, 2014, 12:57pm UTC](https://www.ruby-forum.com/t/the-http-output-chain-is-empty/240428 "2014-04-14T12:57:30Z")

</div>

Hello! I have been getting few of this error in the Nginx log file. Could anyone have Idea what could be the reason for this error and how to fix it? Nginx version is 1.5.12 . Thanks, Makailol

---

## [Nginx + alternate ssl-libs](https://www.ruby-forum.com/t/nginx-alternate-ssl-libs/240438)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 14, 2014, 11:59am UTC](https://www.ruby-forum.com/t/nginx-alternate-ssl-libs/240438 "2014-04-14T11:59:03Z")

</div>

i’m seen the question below on nginx-dev from september last year, I’ve seen some attempts to use polarssl one year ago and would like to restart delevopment in that direction, so i’d like to re-issue this question …

---

## [IMAP: auth\_http](https://www.ruby-forum.com/t/imap-auth-http/227237)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [April 14, 2014, 9:13am UTC](https://www.ruby-forum.com/t/imap-auth-http/227237 "2014-04-14T09:13:14Z")

</div>

nginx seems to require being pointed to an HTTP server for imap authentication. Here’s the protocol spec: http://wiki.nginx.org/MailCoreModule#Authentication Is the idea to program this server yourself or does a serv…

---

## [Nginx imaps auth\_http dovecot](https://www.ruby-forum.com/t/nginx-imaps-auth-http-dovecot/204152)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 9\
**Last updated:** [April 14, 2014, 3:37am UTC](https://www.ruby-forum.com/t/nginx-imaps-auth-http-dovecot/204152 "2014-04-14T03:37:05Z")

</div>

Hi, I’m not sure, what I have to use as an URL for auth\_http? Cause Dovecot uses a postgresql database. My Config: mail { auth\_http localhost:9000/cgi-bin/auth; imap\_auth cram-md5; smtp\_auth cram-md5; imap\_capa…

---

## [Issue with OCSP stapling when server certificate has been revoked by CA](https://www.ruby-forum.com/t/issue-with-ocsp-stapling-when-server-certificate-has-been-revoked-by-ca/240420)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [April 13, 2014, 6:01pm UTC](https://www.ruby-forum.com/t/issue-with-ocsp-stapling-when-server-certificate-has-been-revoked-by-ca/240420 "2014-04-13T18:01:37Z")

</div>

Hi, I’m contacting the list after doing some Google-foo and not finding anything - not sure if this is due to my searching skills, or because nobody ever asked about this… pardon me if it’s a known issue, and a link …

---

## [Re: SlowFS Cache or Proxy\_Cache for GridFS](https://www.ruby-forum.com/t/re-slowfs-cache-or-proxy-cache-for-gridfs/203531)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [April 12, 2014, 6:24pm UTC](https://www.ruby-forum.com/t/re-slowfs-cache-or-proxy-cache-for-gridfs/203531 "2014-04-12T18:24:24Z")

</div>

Hi, AFAIK it still uses the Mongo-provided C library, which is blocking, so you’ll lose many of the benefits of Nginx’s performance. Marcus. Thanks for the hint. Blocking sounds not good, i found some threads ab…

---

## [Using variables on nginx](https://www.ruby-forum.com/t/using-variables-on-nginx/240402)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 11, 2014, 9:20pm UTC](https://www.ruby-forum.com/t/using-variables-on-nginx/240402 "2014-04-11T21:20:20Z")

</div>

I can Use variables to define IP:Port on upstreams directive? For example: upstream cluster-servers { $server01; $server02; } – Un abrazo! Ral Hugo http://twitter.com/raulhugo Miembro Asociadohttp://apesol.org.…

---

## [Case insensitive location](https://www.ruby-forum.com/t/case-insensitive-location/240322)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [April 11, 2014, 3:23pm UTC](https://www.ruby-forum.com/t/case-insensitive-location/240322 "2014-04-11T15:23:21Z")

</div>

Hello there, i’m hoping someone can help me out with this. I’ve tried many different things but none have worked for me so far. Here is my location block: location ^~ /card/ { root /home/site/public; rewrite ^/card…

---

## [Memory pool allocation](https://www.ruby-forum.com/t/memory-pool-allocation/240358)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 10, 2014, 10:36am UTC](https://www.ruby-forum.com/t/memory-pool-allocation/240358 "2014-04-10T10:36:19Z")

</div>

Suppose, I am allocating a pool of greater than 4k(page size). Say for example I am calling the function ngx\_create\_pool with 8096. But, this function will set the max as 4095 even if it has allocated 8K. Not sure, w…

---

## [Parallel subrequests](https://www.ruby-forum.com/t/parallel-subrequests/238140)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 12\
**Last updated:** [April 10, 2014, 8:28am UTC](https://www.ruby-forum.com/t/parallel-subrequests/238140 "2014-04-10T08:28:58Z")

</div>

Hi I want write a http hadler(using subrequest) to deal with combine response from mutiple backend. but “Emiller’s Advanced Topics In Nginx Module Development - 2.3. Sequential subrequests” issue that " Subrequests …

---

## [Mysql backend](https://www.ruby-forum.com/t/mysql-backend/240367)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 10, 2014, 12:06am UTC](https://www.ruby-forum.com/t/mysql-backend/240367 "2014-04-10T00:06:34Z")

</div>

Hi. If nginx ties back to a mysql backend on a remote server for IMAP/SMTP, don’t I need to add: $protocol\_ports-\>{‘smtp’}=25; below the $protocol\_ports-\>{‘imap’}=143; ? Also I should not be listening to 993 on my a…

---

## [SSL\_write failed (32: Broken pipe) while processing SPDY if cache on](https://www.ruby-forum.com/t/ssl-write-failed-32-broken-pipe-while-processing-spdy-if-cache-on/240345)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 9, 2014, 6:33pm UTC](https://www.ruby-forum.com/t/ssl-write-failed-32-broken-pipe-while-processing-spdy-if-cache-on/240345 "2014-04-09T18:33:01Z")

</div>

We’re using nginx 1.5.12 and 1.5.13 on Ubuntu 12.04 LTS via Azure VM. Since last night, on both FireFox and Chrome, Windows and OSX, we’re having difficulty with SPDY. If the browser cache is warm and proxy\_cache is e…

---

## [Expected behavior of --with-debug](https://www.ruby-forum.com/t/expected-behavior-of-with-debug/240360)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 9, 2014, 5:34pm UTC](https://www.ruby-forum.com/t/expected-behavior-of-with-debug/240360 "2014-04-09T17:34:01Z")

</div>

In ngx\_pagespeed we interpret --with-debug to mean “include debugging symbols and debug-only assertions”. Is this what most people using nginx would expect? (We distribute two precompiled versions of PSOL, “debug” an…

---

## [Memory Pool](https://www.ruby-forum.com/t/memory-pool/240348)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 9, 2014, 4:10pm UTC](https://www.ruby-forum.com/t/memory-pool/240348 "2014-04-09T16:10:29Z")

</div>

Nginx when it accepts a connection, it creates a memory pool for that connection (allocating from heap). After which further memory requirement for that connection will be allocated from that pool. This is good. But,…

---

## [Nginx-1.5.13](https://www.ruby-forum.com/t/nginx-1-5-13/240324)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 9, 2014, 2:30pm UTC](https://www.ruby-forum.com/t/nginx-1-5-13/240324 "2014-04-09T14:30:35Z")

</div>

Changes with nginx 1.5.13 08 Apr 2014 \*) Change: improved hash table handling; the default values of the "variables\_hash\_max\_size" and "types\_hash\_bucket\_size" were changed …

---

## [Upstream Keepalive Questions](https://www.ruby-forum.com/t/upstream-keepalive-questions/240309)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 9, 2014, 1:18pm UTC](https://www.ruby-forum.com/t/upstream-keepalive-questions/240309 "2014-04-09T13:18:44Z")

</div>

I’m somewhat unclear about how the keepalive functionality works within the upstream module. My nginx install currently handles several hundred domains all of which point to different origin servers. I would imagine …

---

## [SMNP monitoring support](https://www.ruby-forum.com/t/smnp-monitoring-support/239780)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 9, 2014, 11:12am UTC](https://www.ruby-forum.com/t/smnp-monitoring-support/239780 "2014-04-09T11:12:34Z")

</div>

Hello all, I’d like to know if nginx supports / plans to support triggering SNMP alarms in the near future? Thanks, Niru

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

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