# Server

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

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

---

## [Why body filter not work](https://www.ruby-forum.com/t/why-body-filter-not-work/231399)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 6, 2014, 2:46pm UTC](https://www.ruby-forum.com/t/why-body-filter-not-work/231399 "2014-08-06T14:46:52Z")

</div>

Hi. I just copy the code from Evan M.'s body filter. Emiller’s Guide to Nginx Module Development – Evan Miller, however, In my browser I could not see inserted string () And I found that request header. Transfer-Enc…

---

## [Override Content-Type header with proxied requests](https://www.ruby-forum.com/t/override-content-type-header-with-proxied-requests/245370)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [August 6, 2014, 2:18pm UTC](https://www.ruby-forum.com/t/override-content-type-header-with-proxied-requests/245370 "2014-08-06T14:18:53Z")

</div>

Hi !! i have a Nginx server that operates as a reverse proxy to a my bucket in Amazon S3. Amazon S3 service could deliver contents with wrong Content-Type header, so i would like to override this header by referring …

---

## [Re: nginx-1.7.4](https://www.ruby-forum.com/t/re-nginx-1-7-4/231403)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 6, 2014, 1:20pm UTC](https://www.ruby-forum.com/t/re-nginx-1-7-4/231403 "2014-08-06T13:20:00Z")

</div>

Hello, Thanks for the update! Are there plans to update the mercurial respository? I just tried pulling changesets, recompiling, and I am still at 1.7.1. Cole

---

## [Php5-fpm with nginx not working](https://www.ruby-forum.com/t/php5-fpm-with-nginx-not-working/231404)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 6, 2014, 1:18pm UTC](https://www.ruby-forum.com/t/php5-fpm-with-nginx-not-working/231404 "2014-08-06T13:18:13Z")

</div>

Hi All, Please I have installed nginx version 1.7.4 with the php5-fpm on debien wheezy. Work fine but php do not seem to be integrated properly with the " An error occurred." on the browser below my config from the …

---

## [Ngx.shared\_dict.get\_keys usage](https://www.ruby-forum.com/t/ngx-shared-dict-get-keys-usage/231397)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 6, 2014, 8:59am UTC](https://www.ruby-forum.com/t/ngx-shared-dict-get-keys-usage/231397 "2014-08-06T08:59:56Z")

</div>

Hi, I’m trying to use the lua module in combination with ngx.shared.DICT feature to record some statistics for nginx (and upstreams’) health monitoring. When I do dict.get\_keys(100), I see the following error in ngin…

---

## [Why cannot the same path for cache used several times?](https://www.ruby-forum.com/t/why-cannot-the-same-path-for-cache-used-several-times/231389)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 6, 2014, 8:47am UTC](https://www.ruby-forum.com/t/why-cannot-the-same-path-for-cache-used-several-times/231389 "2014-08-06T08:47:24Z")

</div>

What is wrong in having configured: proxy\_cache\_path /data/nginx/cache levels=1:2 keys\_zone=one:10m; proxy\_cache\_path /data/nginx/cache levels=1:2 keys\_zone=two:10m; each stanza loaded from a different .conf file (fro…

---

## [Nginx-1.6.1](https://www.ruby-forum.com/t/nginx-1-6-1/231376)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 6, 2014, 2:25am UTC](https://www.ruby-forum.com/t/nginx-1-6-1/231376 "2014-08-06T02:25:08Z")

</div>

Changes with nginx 1.6.1 05 Aug 2014 \*) Security: pipelined commands were not discarded after STARTTLS command in SMTP proxy (CVE-2014-3556); the bug had appeared in 1.5.6. …

---

## [Proxy URL contains Chinese cause very slow access](https://www.ruby-forum.com/t/proxy-url-contains-chinese-cause-very-slow-access/231342)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 5, 2014, 8:18pm UTC](https://www.ruby-forum.com/t/proxy-url-contains-chinese-cause-very-slow-access/231342 "2014-08-05T20:18:13Z")

</div>

Proxy URL contains Chinese cause very slow access For example:http://search1.10086.cn/search?start=1&content=话费充值&areacode=100&areaName=北京 nginx/1.4.7 removed\_email\_address@domain.invalid

---

## [GeoIP Organization filtering?](https://www.ruby-forum.com/t/geoip-organization-filtering/231378)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 5, 2014, 4:33pm UTC](https://www.ruby-forum.com/t/geoip-organization-filtering/231378 "2014-08-05T16:33:53Z")

</div>

Has anyone tried using the Maxmind GeoIP Organization database to allow/block access to directories? I am currently using the GeoIP.dat (country) file – which I believe is “version 1” of their binary db – and this wor…

---

## [Nginx security advisory (CVE-2014-3556)](https://www.ruby-forum.com/t/nginx-security-advisory-cve-2014-3556/231377)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 5, 2014, 3:58pm UTC](https://www.ruby-forum.com/t/nginx-security-advisory-cve-2014-3556/231377 "2014-08-05T15:58:10Z")

</div>

Hello! A bug in nginx SMTP proxy was found, which allows an attacker in a privileged network position to inject commands into SSL sessions started with the STARTTLS command, potentially making it possible to steal se…

---

## [Rtmp plugin + flash player - timeouts?](https://www.ruby-forum.com/t/rtmp-plugin-flash-player-timeouts/231317)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 4, 2014, 6:55pm UTC](https://www.ruby-forum.com/t/rtmp-plugin-flash-player-timeouts/231317 "2014-08-04T18:55:46Z")

</div>

Hi, i have compiled nginx with rtmp plugin (completed by ./configure –with-http\_stub\_status\_module --add-module=/root/nginx-rtmp-module/) i start streaming to channel by FME (adobe flash media encoder) - by rtmp prot…

---

## [Whitelist 'notabot' not working in limit\_conn](https://www.ruby-forum.com/t/whitelist-notabot-not-working-in-limit-conn/231335)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 4, 2014, 5:06pm UTC](https://www.ruby-forum.com/t/whitelist-notabot-not-working-in-limit-conn/231335 "2014-08-04T17:06:54Z")

</div>

Iam trying to whitelist some IPs in the geo #connlimit1 so that the limit\_conn doesnt apply to it. For some reason its not working… those ips are always being limited. I must be doing something obviously wrong guidanc…

---

## [Accpet\_mutex cause nginx worker balance problem](https://www.ruby-forum.com/t/accpet-mutex-cause-nginx-worker-balance-problem/231326)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 4, 2014, 4:58pm UTC](https://www.ruby-forum.com/t/accpet-mutex-cause-nginx-worker-balance-problem/231326 "2014-08-04T16:58:35Z")

</div>

hello, I use ab to test performance. but when i turn on accept\_mutex, I found the num of connection for every nginx worker is not balance. for example, I have 4 core and start 4 nginx worker. ab -n 300000 -c 1000…

---

## [Nginx mp4 module about "keyframe aligning"](https://www.ruby-forum.com/t/nginx-mp4-module-about-keyframe-aligning/231346)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 4, 2014, 3:59pm UTC](https://www.ruby-forum.com/t/nginx-mp4-module-about-keyframe-aligning/231346 "2014-08-04T15:59:05Z")

</div>

hi all I use mp4 module to cut big mp4 file into little mp4 file , I found a peoblem about “keyframe aligning” so I do a patch to solve this problem pach is here : – Best Regards, Harold Miao

---

## [Any plans to offer other ssllibs builds on linux\_packages](https://www.ruby-forum.com/t/any-plans-to-offer-other-ssllibs-builds-on-linux-packages/231345)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 4, 2014, 11:42am UTC](https://www.ruby-forum.com/t/any-plans-to-offer-other-ssllibs-builds-on-linux-packages/231345 "2014-08-04T11:42:25Z")

</div>

Dear NGINX-Team. Are there any plans to offer precompiled packages with boring- or libressl? http://nginx.org/en/linux\_packages.html Best regards Aleks

---

## [Getting intermittent '502 bad gateway ' error](https://www.ruby-forum.com/t/getting-intermittent-502-bad-gateway-error/231311)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 3, 2014, 9:57pm UTC](https://www.ruby-forum.com/t/getting-intermittent-502-bad-gateway-error/231311 "2014-08-03T21:57:00Z")

</div>

We are using nodejs(v 0.10.29 ) ,express,nginx( version 1.4.6) with mongodb(v 2.6.3) replicaset and getting intermittent 502 bad gateway error. pm2 logs is unable to log error though nginx aerror.log is showing recv(…

---

## [Change proxy\_pass protocol accordingly to x-forwarded-proto](https://www.ruby-forum.com/t/change-proxy-pass-protocol-accordingly-to-x-forwarded-proto/231324)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 3, 2014, 11:27am UTC](https://www.ruby-forum.com/t/change-proxy-pass-protocol-accordingly-to-x-forwarded-proto/231324 "2014-08-03T11:27:32Z")

</div>

Hi, I have load balancer with SSL on it that connects to nginx servers. Nginx servers simply reverse proxy site X.com. The problem is that nginx servers don’t have SSL certs and listing only to unsecured port but i…

---

## [Sub-domain in variable](https://www.ruby-forum.com/t/sub-domain-in-variable/227719)

<div class="topic-metadata">

**Author:** [@huttarichard](https://www.ruby-forum.com/u/huttarichard)\
**Replies:** 5\
**Last updated:** [August 2, 2014, 1:46pm UTC](https://www.ruby-forum.com/t/sub-domain-in-variable/227719 "2014-08-02T13:46:49Z")

</div>

Hi guys, I have question. My server\_name looks like this: server\_name ~^(www.)(?\[^.\]).(?\[^.\])$; but I need, for my website do subdomains. I try: server\_name ~^(www.)?(?.)(?\[^.\]).(?\[^.\])$; but won’t work for me. An…

---

## [NGINX conference October 20-22 in San Francisco, California](https://www.ruby-forum.com/t/nginx-conference-october-20-22-in-san-francisco-california/230707)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 1, 2014, 6:21pm UTC](https://www.ruby-forum.com/t/nginx-conference-october-20-22-in-san-francisco-california/230707 "2014-08-01T18:21:25Z")

</div>

Hi All, Weve just opened a call for proposals for the first NGINX conference, nginx.conf. Please share this CFP with those you know who have good NGINX stories to share Direct link to the CFP https://nginx.busyconf…

---

## [Pid file location even after setting pid directive](https://www.ruby-forum.com/t/pid-file-location-even-after-setting-pid-directive/231297)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 1, 2014, 5:23pm UTC](https://www.ruby-forum.com/t/pid-file-location-even-after-setting-pid-directive/231297 "2014-08-01T17:23:44Z")

</div>

Hi, I have added pid directive to nginx config. Pid /home/ubuntu/ngx.pid Nginx -t -c (conf) also succeeds. However when I run nginx, and later try to stop it with nginx -s stop, I get following error: Open failed (…

---

## [Local processing return values from fastcgi\_pass](https://www.ruby-forum.com/t/local-processing-return-values-from-fastcgi-pass/231292)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 1, 2014, 4:54pm UTC](https://www.ruby-forum.com/t/local-processing-return-values-from-fastcgi-pass/231292 "2014-08-01T16:54:00Z")

</div>

For example I have one fastcgi\_pass location block and I want to process the return values of a request to use in a second fastcgi\_pass, is this possible ? location … { … fastcgi\_pass server1; server1 returns so…

---

## [How to directly return in filter](https://www.ruby-forum.com/t/how-to-directly-return-in-filter/231288)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 1, 2014, 4:35pm UTC](https://www.ruby-forum.com/t/how-to-directly-return-in-filter/231288 "2014-08-01T16:35:32Z")

</div>

Hi All: I am developing a module in Nginx-1.6.0, Now My module work as a filter. static ngx\_int\_t ngx\_http\_my\_handler(ngx\_http\_request\_t \*r) { … return ngx\_http\_output\_filter(); } I use ngx\_http\_output\_filter() to…

---

## [GeoIP FirstNonPrivateXForwardedForIP](https://www.ruby-forum.com/t/geoip-firstnonprivatexforwardedforip/230356)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 10\
**Last updated:** [August 1, 2014, 4:13am UTC](https://www.ruby-forum.com/t/geoip-firstnonprivatexforwardedforip/230356 "2014-08-01T04:13:55Z")

</div>

Hi, My website does country based redirection based on result obtained from GeoIP against IP. I am facing a problem where GeoIP does not work as first IP in the X-Forwarded-For has Private network address. (Say 192.1…

---

## [Repeated include /etc/includes/ssl.conf Passes configtest, fails SSL Handshake](https://www.ruby-forum.com/t/repeated-include-etc-includes-ssl-conf-passes-configtest-fails-ssl-handshake/231245)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 31, 2014, 4:37pm UTC](https://www.ruby-forum.com/t/repeated-include-etc-includes-ssl-conf-passes-configtest-fails-ssl-handshake/231245 "2014-07-31T16:37:27Z")

</div>

Hi all, Had a chat with a helpful person on IRC but both are stumped as to why my configuration passes a check (nginx -t) but fails to properly handle SSL. Ive split a couple of repetitive blocks out into /etc/nginx…

---

## [Postpone\_gzipping](https://www.ruby-forum.com/t/postpone-gzipping/231271)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 31, 2014, 1:44pm UTC](https://www.ruby-forum.com/t/postpone-gzipping/231271 "2014-07-31T13:44:59Z")

</div>

Hi, I encountered the directive postpone\_gzipping but i couldnt find an explanation in the documentation although i found the directive in the source code of nginx, how is that directive different from gzip\_min\_lengt…

---

## [Nginx + boringSSL](https://www.ruby-forum.com/t/nginx-boringssl/230942)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [July 30, 2014, 10:06pm UTC](https://www.ruby-forum.com/t/nginx-boringssl/230942 "2014-07-30T22:06:04Z")

</div>

I’ve started playing around with boringssl with nginx. Mostly everything works except OCSP. Seems like either openssl 1.0.2 which boringssl was forked from does not have it, or the boringssl folk ripped it out. I have…

---

## [Rewrite url in upstream block](https://www.ruby-forum.com/t/rewrite-url-in-upstream-block/230403)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [July 30, 2014, 1:53pm UTC](https://www.ruby-forum.com/t/rewrite-url-in-upstream-block/230403 "2014-07-30T13:53:04Z")

</div>

Hi, I am using a query parameter in upstream module to serve request based on consistent hashing. This query parameter is introduced in the request handler module and not originally coming from the downstream. I woul…

---

## [Support for 3rd party zlib libraries](https://www.ruby-forum.com/t/support-for-3rd-party-zlib-libraries/231244)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [July 30, 2014, 1:14am UTC](https://www.ruby-forum.com/t/support-for-3rd-party-zlib-libraries/231244 "2014-07-30T01:14:50Z")

</div>

Hello, I recently came across a modified version of zlib with code contributed by Intel \[1\] that makes use of modern CPU instructions to increase performance. In testing, the performance gains seemed substantial, ho…

---

## [Bad default for proxy\_cache\_key](https://www.ruby-forum.com/t/bad-default-for-proxy-cache-key/230685)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [July 30, 2014, 1:02am UTC](https://www.ruby-forum.com/t/bad-default-for-proxy-cache-key/230685 "2014-07-30T01:02:21Z")

</div>

Hello all, I stucked a while with a config problem where proxy\_cache\_key default value was $scheme$proxy\_host$uri$is\_args$args". Then I realized it really didn’t make. A better value $scheme$host$uri$is\_args$args" i…

---

## [What is My Purpose?](https://www.ruby-forum.com/t/what-is-my-purpose/231231)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 29, 2014, 2:06am UTC](https://www.ruby-forum.com/t/what-is-my-purpose/231231 "2014-07-29T02:06:45Z")

</div>

Hey There, Have you ever wondered why so few - comparatively speaking - find success in business, wealth, Life! While so many others find hardship and struggle, living paycheck to paycheck, not knowing where rent wil…

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

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