# Server

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

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

---

## [Weird issues with nginx](https://www.ruby-forum.com/t/weird-issues-with-nginx/235350)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [June 16, 2013, 9:56pm UTC](https://www.ruby-forum.com/t/weird-issues-with-nginx/235350 "2013-06-16T21:56:47Z")

</div>

Hello, I was trying to add rate limiting to our setup (mp4 file serving) and got into some very strange issues. First, with version 1.2.0, I was seeing the following: 2013/06/14 13:25:02 \[emerg\] 12470#0: \*147816 mal…

---

## [Slowfs + gzip\_static?](https://www.ruby-forum.com/t/slowfs-gzip-static/235361)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [June 16, 2013, 7:23pm UTC](https://www.ruby-forum.com/t/slowfs-gzip-static/235361 "2013-06-16T19:23:06Z")

</div>

Hi all, Today, I’m doing some trials with slowfs module but “static gzpied content” (example: css and js files also have compressed companions on disk) is been stored in plain text and not compressed. So, they’ll be …

---

## [Proxy\_pass defaulting to http 1.0](https://www.ruby-forum.com/t/proxy-pass-defaulting-to-http-1-0/245533)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 16, 2013, 3:49am UTC](https://www.ruby-forum.com/t/proxy-pass-defaulting-to-http-1-0/245533 "2013-06-16T03:49:06Z")

</div>

Since proxy\_pass by default uses HTTP 1.0 shouldn’t it also clear the Connection header by default? This causes major problems for the unsuspecting reverse proxy that encounters a .NET system.net.WebClient request. We…

---

## [Remote host name in access log](https://www.ruby-forum.com/t/remote-host-name-in-access-log/245551)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [June 16, 2013, 3:39am UTC](https://www.ruby-forum.com/t/remote-host-name-in-access-log/245551 "2013-06-16T03:39:10Z")

</div>

Hello; Is it possible to log the remote host name (as opposed to just the IP address) in the access log? I run a low traffic web server and I’m not concerned with the overhead for the lookups. Thanks, Joseph

---

## [Need to add expires header conditionally based on mime types](https://www.ruby-forum.com/t/need-to-add-expires-header-conditionally-based-on-mime-types/235324)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [June 14, 2013, 8:36am UTC](https://www.ruby-forum.com/t/need-to-add-expires-header-conditionally-based-on-mime-types/235324 "2013-06-14T08:36:18Z")

</div>

Hi I need to add expires headers conditionally based on a certain mime type. For example add expires 7d to text/css How to do this ? So far I found that $sent\_http\_content\_type contains the mime type that is send …

---

## [Question about multiple applicable locations in a server config](https://www.ruby-forum.com/t/question-about-multiple-applicable-locations-in-a-server-config/235327)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [June 13, 2013, 10:48pm UTC](https://www.ruby-forum.com/t/question-about-multiple-applicable-locations-in-a-server-config/235327 "2013-06-13T22:48:55Z")

</div>

I have read documentation from several sources, and there is still 1 detail about nginx configuration that I do not fully understand, and would like some additional guidance. In the nginx location configuration, how d…

---

## [Nginx cache files by mime type using ngx\_srcache module](https://www.ruby-forum.com/t/nginx-cache-files-by-mime-type-using-ngx-srcache-module/235283)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 13, 2013, 9:39pm UTC](https://www.ruby-forum.com/t/nginx-cache-files-by-mime-type-using-ngx-srcache-module/235283 "2013-06-13T21:39:24Z")

</div>

Hi, I’m using ngx\_srcache module with Memcached to cache static contents of the upstream servers. This is based on static file extensions. Now I need to cached them by looking at Content-Type of the header to cache .…

---

## [Ipv6 upstream support](https://www.ruby-forum.com/t/ipv6-upstream-support/235325)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [June 13, 2013, 7:04pm UTC](https://www.ruby-forum.com/t/ipv6-upstream-support/235325 "2013-06-13T19:04:35Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [OpenSSL memory management](https://www.ruby-forum.com/t/openssl-memory-management/235301)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [June 13, 2013, 1:42pm UTC](https://www.ruby-forum.com/t/openssl-memory-management/235301 "2013-06-13T13:42:05Z")

</div>

Hi, I am new to this list and to nginx, so here is a short intro: I am Jan A., primarily a complete REST/HTTP-head and recently focussing on REST API security. About to write an nginx module as an authenticating HTTP…

---

## [Best Entertaining Platform from all over the world](https://www.ruby-forum.com/t/best-entertaining-platform-from-all-over-the-world/245521)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [June 12, 2013, 12:29pm UTC](https://www.ruby-forum.com/t/best-entertaining-platform-from-all-over-the-world/245521 "2013-06-12T12:29:10Z")

</div>

Welcome to the best entertaining program from all over the word. Make Money Online with best investment in Hedge fund day trading with high returns on Daily Interest the world best revenue sharing program. Post free …

---

## [Problems combining 'backup' command in upstream block with 'fair'-command](https://www.ruby-forum.com/t/problems-combining-backup-command-in-upstream-block-with-fair-command/235285)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [June 11, 2013, 2:56pm UTC](https://www.ruby-forum.com/t/problems-combining-backup-command-in-upstream-block-with-fair-command/235285 "2013-06-11T14:56:08Z")

</div>

Dear users, My first message here; I discussed my issue already with some folks on IRC; my main conclusion was that I should try it with a broader audience. So here’s the problem: we’re using the ngx\_http\_upstream\_…

---

## [Nginx http-bind eJabbered pending requests Chrome](https://www.ruby-forum.com/t/nginx-http-bind-ejabbered-pending-requests-chrome/235276)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [June 11, 2013, 3:54am UTC](https://www.ruby-forum.com/t/nginx-http-bind-ejabbered-pending-requests-chrome/235276 "2013-06-11T03:54:11Z")

</div>

Hi, I’m working on a server where nginx runs as proxy on Apache It proxies php files & ejabbered requests & serves static files Everything was fine until a few weeks, and only on Chrome: when http-bind is pending, it…

---

## [Any equivalent of mod\_dumpio](https://www.ruby-forum.com/t/any-equivalent-of-mod-dumpio/228293)

<div class="topic-metadata">

**Author:** [@jeff7091](https://www.ruby-forum.com/u/jeff7091)\
**Replies:** 3\
**Last updated:** [June 10, 2013, 11:34pm UTC](https://www.ruby-forum.com/t/any-equivalent-of-mod-dumpio/228293 "2013-06-10T23:34:05Z")

</div>

Is there anything like Apache’s mod\_dumpio? Any way to get a full running trace of request & responses, including the body data? Would such a thing be useful to anyone besides me? Posted at Nginx Forum:

---

## [EGroupWare nginx config](https://www.ruby-forum.com/t/egroupware-nginx-config/215727)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 10, 2013, 10:51pm UTC](https://www.ruby-forum.com/t/egroupware-nginx-config/215727 "2013-06-10T22:51:59Z")

</div>

In case anyone needs to setup EGroupWare http://www.egroupware.org/ over Debian 6 / Ubuntu 11.10 and Nginx 1.1.12, here is the config file that we used: nginx - /etc/nginx/sites-available/egw server { listen 80; s…

---

## [Ngx\_openresty stable version 1.2.8.6 released](https://www.ruby-forum.com/t/ngx-openresty-stable-version-1-2-8-6-released/235273)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [June 10, 2013, 9:36pm UTC](https://www.ruby-forum.com/t/ngx-openresty-stable-version-1-2-8-6-released/235273 "2013-06-10T21:36:03Z")

</div>

Hello folks! I am happy to announce that the new stable version of ngx\_openresty, 1.2.8.6, is now released: http://openresty.org/#Download Below is the change log for this release, as compared to the last (devel) re…

---

## [Nginx SPDY: Missing NPN Extension in SSL/TLS Handshake?](https://www.ruby-forum.com/t/nginx-spdy-missing-npn-extension-in-ssl-tls-handshake/235245)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 10, 2013, 2:42pm UTC](https://www.ruby-forum.com/t/nginx-spdy-missing-npn-extension-in-ssl-tls-handshake/235245 "2013-06-10T14:42:18Z")

</div>

Hi guys, I’ve tried setting up CentOS 6.4, Nginx 1.4.1 with Google SPDY support and used spdycheck.org to check the site and all SPDY checks pass except this notice: Missing NPN Extension in SSL/TLS Handshake Sorry,…

---

## [I see unusual amount of 408 errors from access log](https://www.ruby-forum.com/t/i-see-unusual-amount-of-408-errors-from-access-log/235259)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [June 10, 2013, 2:38pm UTC](https://www.ruby-forum.com/t/i-see-unusual-amount-of-408-errors-from-access-log/235259 "2013-06-10T14:38:12Z")

</div>

/var/log/nginx/nost\_access.log.1:x.x.x.x - - \[10/Jun/2013:09:01:20 +0000\] “-” 408 0 “-” “-” /var/log/nginx/nost\_access.log.1:x.x.x.x - - \[10/Jun/2013:09:10:57 +0000\] “-” 408 0 “-” “-” /var/log/nginx/nost\_access.log…

---

## [Sending SSL Client Certificate upstream](https://www.ruby-forum.com/t/sending-ssl-client-certificate-upstream/226711)

<div class="topic-metadata">

**Author:** [@Dave\_Marchevsky](https://www.ruby-forum.com/u/Dave_Marchevsky)\
**Replies:** 1\
**Last updated:** [June 10, 2013, 2:24pm UTC](https://www.ruby-forum.com/t/sending-ssl-client-certificate-upstream/226711 "2013-06-10T14:24:46Z")

</div>

Hello, I am modifying my upstream servers so that they require client certificates from clients, which are other backend apps making service calls and nginx proxying for public requests. Public requests come to ngin…

---

## [Re: All workers in 'D' state using sendfile](https://www.ruby-forum.com/t/re-all-workers-in-d-state-using-sendfile/235243)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [June 10, 2013, 1:57pm UTC](https://www.ruby-forum.com/t/re-all-workers-in-d-state-using-sendfile/235243 "2013-06-10T13:57:53Z")

</div>

Hi, I am facing the same exact issue as explained by Drew, is there any working solution to tune nginx for higher throughput? or how to deal with sleeping D state nginx processes ? i can post my server specs and ngin…

---

## [Extended\_status module for 1.5.x](https://www.ruby-forum.com/t/extended-status-module-for-1-5-x/245494)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [June 10, 2013, 1:19pm UTC](https://www.ruby-forum.com/t/extended-status-module-for-1-5-x/245494 "2013-06-10T13:19:18Z")

</div>

Hi all, Has someone forwardported this module to 1.5.x? Although the 1.0.11 diff can be applied to 1.2.6 as per the doc, it gives a shipload of fails when touching ngx\_http\_request.c. Thanks, -w-

---

## [Nginx proxy to apache ERR\_TOO\_MANY\_REDIRECTS](https://www.ruby-forum.com/t/nginx-proxy-to-apache-err-too-many-redirects/235257)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [June 10, 2013, 1:09pm UTC](https://www.ruby-forum.com/t/nginx-proxy-to-apache-err-too-many-redirects/235257 "2013-06-10T13:09:57Z")

</div>

i have the following setup which uses nginx as proxy to an apache instance running prestashop, this works ok, but i get from time to time Error 310 ERR\_TOO\_MANY\_REDIRECTS and i can’t figure out where this is coming fr…

---

## [Error 504, gateway timeout nginx,](https://www.ruby-forum.com/t/error-504-gateway-timeout-nginx/245546)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 10, 2013, 11:49am UTC](https://www.ruby-forum.com/t/error-504-gateway-timeout-nginx/245546 "2013-06-10T11:49:19Z")

</div>

Hello! I’ve setup a web server running on debian with Nginx, PHP5 (PHP-FPM), And Fcgiwrap My webpage is running ok but a friend recently noticed me that while trying to access my page it gives him the Error 504(oth…

---

## [Simple SSL Question](https://www.ruby-forum.com/t/simple-ssl-question/235236)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 8, 2013, 8:55pm UTC](https://www.ruby-forum.com/t/simple-ssl-question/235236 "2013-06-08T20:55:31Z")

</div>

Hi, I’m using nginx with SSL, and I want to always redirect to www, regardless of whether the request is http or https. I just want to redirect to the respective protocol but with www. I have the port 80 server block…

---

## [Check applied confirguration per container (http, server, location, etc.)](https://www.ruby-forum.com/t/check-applied-confirguration-per-container-http-server-location-etc/235228)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [June 7, 2013, 5:04pm UTC](https://www.ruby-forum.com/t/check-applied-confirguration-per-container-http-server-location-etc/235228 "2013-06-07T17:04:25Z")

</div>

Hello, I wondered if the foolowing improvement ideas had been aleready mentioned or not and if they could prove useful. Having the possibility of displaying the applied configuration for a specific level in configu…

---

## [Caching any point to go in ram?](https://www.ruby-forum.com/t/caching-any-point-to-go-in-ram/235224)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [June 7, 2013, 4:51pm UTC](https://www.ruby-forum.com/t/caching-any-point-to-go-in-ram/235224 "2013-06-07T16:51:33Z")

</div>

Hello, I have a 15k rpm server 16g ram on which is fiercely installed nginx 1.5.1 on a debian 7 machine (no apache installed). I read a lot (up to crunching my head) about caching strategy. I would like to reduce th…

---

## [Updated patch for CVE-2013-2070?](https://www.ruby-forum.com/t/updated-patch-for-cve-2013-2070/235217)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [June 7, 2013, 3:29pm UTC](https://www.ruby-forum.com/t/updated-patch-for-cve-2013-2070/235217 "2013-06-07T15:29:43Z")

</div>

Hello. As stated here (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708164), the patch nginx developers wrote for fixing CVE-2013-2070 is not 100% correct C. This is a big issue for us (I’m part of the nginx debi…

---

## [Kerberos](https://www.ruby-forum.com/t/kerberos/228346)

<div class="topic-metadata">

**Author:** [@Friedrich\_L](https://www.ruby-forum.com/u/Friedrich_L)\
**Replies:** 1\
**Last updated:** [June 7, 2013, 9:18am UTC](https://www.ruby-forum.com/t/kerberos/228346 "2013-06-07T09:18:44Z")

</div>

I wonder if nginx supports kerberos in the same sense as apache does! I mean: with apache i may specify if i will want SSO or password (by retrieving the password from the kerberos database). The configuration options…

---

## [Index.php in folders](https://www.ruby-forum.com/t/index-php-in-folders/245522)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [June 7, 2013, 7:55am UTC](https://www.ruby-forum.com/t/index-php-in-folders/245522 "2013-06-07T07:55:47Z")

</div>

Is there a simple config I can use to check for an index.php in subfolders? It was my understanding that if I used index index.php; in the server block, and try\_files $uri $uri/ /index.php; in location / {} that it…

---

## [Gunzip module and buffer managment](https://www.ruby-forum.com/t/gunzip-module-and-buffer-managment/235213)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 7, 2013, 4:09am UTC](https://www.ruby-forum.com/t/gunzip-module-and-buffer-managment/235213 "2013-06-07T04:09:06Z")

</div>

I’m trying to use the http\_gunzip module as an example for a filter I am trying to write. I’m particularly interested in the buffer management. The module has a value in its ctx stuct called last\_buf … ngx\_chain\_t…

---

## [How can i get ip and port under forward proxy](https://www.ruby-forum.com/t/how-can-i-get-ip-and-port-under-forward-proxy/235191)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [June 7, 2013, 4:05am UTC](https://www.ruby-forum.com/t/how-can-i-get-ip-and-port-under-forward-proxy/235191 "2013-06-07T04:05:35Z")

</div>

Hi, there I want to get ip and port under forward proxy use NGINX, a forward proxy sketch like this: \[Client \]-\> \[NGINX\] → \[Internet\] so i want to get proxy’s ip and port . i have try and made some modifications t…

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

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