# Server

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

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

---

## [Buffer overflow CVE-2011-4315](https://www.ruby-forum.com/t/buffer-overflow-cve-2011-4315/218819)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [April 13, 2012, 1:05am UTC](https://www.ruby-forum.com/t/buffer-overflow-cve-2011-4315/218819 "2012-04-13T01:05:47Z")

</div>

we are running nginx 0.8.54, I’m trying to pass PCI compliance testing they say this is vulnerable to a buffer overflow. however when i try and find out if it is i can’t seem to find out. http://web.nvd.nist.gov/view/…

---

## [KeepAlive Not Working as expected for a Reverse Proxy Scenario](https://www.ruby-forum.com/t/keepalive-not-working-as-expected-for-a-reverse-proxy-scenario/218732)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [April 12, 2012, 9:36pm UTC](https://www.ruby-forum.com/t/keepalive-not-working-as-expected-for-a-reverse-proxy-scenario/218732 "2012-04-12T21:36:32Z")

</div>

Hi, The KeepAlive Timeout is set to 2 hours, but we can see that the connections start terminating after a few minutes. The KeepAlive module does not seems to be behaving as expected. The connections are created on …

---

## [Php-fpm, nginx , centos 6 - this page is temporarily unavailable](https://www.ruby-forum.com/t/php-fpm-nginx-centos-6-this-page-is-temporarily-unavailable/218810)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [April 12, 2012, 6:35pm UTC](https://www.ruby-forum.com/t/php-fpm-nginx-centos-6-this-page-is-temporarily-unavailable/218810 "2012-04-12T18:35:19Z")

</div>

ok, ive install nginx , php 5.3.8 and php-fpm ive created a vhost but it seems there are problems with my fastcgi\_pass settings as i get The page you are looking for is temporarily unavailable. Please try again late…

---

## [Gzip compression not working with pages served through memcached](https://www.ruby-forum.com/t/gzip-compression-not-working-with-pages-served-through-memcached/218769)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [April 12, 2012, 5:58pm UTC](https://www.ruby-forum.com/t/gzip-compression-not-working-with-pages-served-through-memcached/218769 "2012-04-12T17:58:09Z")

</div>

Hi, I’m trying to set up nginx so that it serves entire pages from memcached. If it can’t find the requested URI in memcached, it proxies the request to Apache (running on port 8080 on the same server). It seems to w…

---

## [Tengine-1.2.4](https://www.ruby-forum.com/t/tengine-1-2-4/218426)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [April 12, 2012, 4:30pm UTC](https://www.ruby-forum.com/t/tengine-1-2-4/218426 "2012-04-12T16:30:59Z")

</div>

Hi folks! We’re pleased to announce that Tengine-1.2.4 has been released. You can either download the tar ball from http://tengine.taobao.org/download/tengine-1.2.4.tar.gz , or checkout the code from GitHub - alibab…

---

## [Security advisory](https://www.ruby-forum.com/t/security-advisory/218807)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 12, 2012, 3:28pm UTC](https://www.ruby-forum.com/t/security-advisory/218807 "2012-04-12T15:28:48Z")

</div>

Hello! Matthew Daley discovered a security problem in the ngx\_http\_mp4\_module, CVE-2012-2089. A specially crafted mp4 file might allow to overwrite memory locations in a worker process if the ngx\_http\_mp4\_module is …

---

## [The best use of small spy camera](https://www.ruby-forum.com/t/the-best-use-of-small-spy-camera/218797)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 12, 2012, 11:04am UTC](https://www.ruby-forum.com/t/the-best-use-of-small-spy-camera/218797 "2012-04-12T11:04:28Z")

</div>

At one time, the only place the spy camera would have noticed the film or television show. Not that world anymore. Small spy cameras are available for all citizens to buy and put to use in their homes, their businesse…

---

## [All visitor have same IP (my server IP)](https://www.ruby-forum.com/t/all-visitor-have-same-ip-my-server-ip/218762)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 12, 2012, 10:06am UTC](https://www.ruby-forum.com/t/all-visitor-have-same-ip-my-server-ip/218762 "2012-04-12T10:06:37Z")

</div>

Additionally, compile the module “mod\_rpaf-2.0.so” for apache in case you are using apache as a proxied server

---

## [Chunked input module problem with http\_dav](https://www.ruby-forum.com/t/chunked-input-module-problem-with-http-dav/218713)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [April 12, 2012, 5:39am UTC](https://www.ruby-forum.com/t/chunked-input-module-problem-with-http-dav/218713 "2012-04-12T05:39:06Z")

</div>

Hi all - I’m running the latest tagged version of the chunked input body module as per Tags · agentzh/chunkin-nginx-module · GitHub (0.23rc2) and nginx 1.0.14 with the http\_dav module. I’m seeing some failures which …

---

## [Redis2\_pass with \<host\>:\<port\> from $args fail](https://www.ruby-forum.com/t/redis2-pass-with-host-port-from-args-fail/218751)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 12, 2012, 5:36am UTC](https://www.ruby-forum.com/t/redis2-pass-with-host-port-from-args-fail/218751 "2012-04-12T05:36:00Z")

</div>

I’m trying to address several redis instances, dispatching it on a host:port basis (one single backend location) here part of my nginx.conf location … location /redis\_backend { internal; set\_unescape\_uri $verb $arg…

---

## [Need help configuring this location directive](https://www.ruby-forum.com/t/need-help-configuring-this-location-directive/218775)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 9:46pm UTC](https://www.ruby-forum.com/t/need-help-configuring-this-location-directive/218775 "2012-04-11T21:46:42Z")

</div>

I’ve been reading about how nginx matches requests - most specific to least, then regex in the order they are listed. For fastcgi, though, all of the tutorials suggest something like: location ~ .php$ { try\_files $ur…

---

## [Access log in response begin](https://www.ruby-forum.com/t/access-log-in-response-begin/218767)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 4:48pm UTC](https://www.ruby-forum.com/t/access-log-in-response-begin/218767 "2012-04-11T16:48:05Z")

</div>

Our servers serving static and large size video files. We can see the accesslog details if the response is complete. Can i get log at the response is being sent to client? (not when request recieved) request | | …

---

## [Serve static content on static domain](https://www.ruby-forum.com/t/serve-static-content-on-static-domain/218638)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [April 11, 2012, 12:31pm UTC](https://www.ruby-forum.com/t/serve-static-content-on-static-domain/218638 "2012-04-11T12:31:51Z")

</div>

Hi, How to serve static content on static domain cookieless. I use ngix to serve static content then apache to dynamic content. Want to serve on static.mydomain.com all static content: jpeg, css, js, … Here my actua…

---

## [Nginx and Wordpress Super Cache](https://www.ruby-forum.com/t/nginx-and-wordpress-super-cache/218754)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 3:36am UTC](https://www.ruby-forum.com/t/nginx-and-wordpress-super-cache/218754 "2012-04-11T03:36:48Z")

</div>

'm trying to setup a new server with nginx instead of LAMP using php-fpm. I’ve got wordpress setup and running, but I’m at a loss to figure out how to get Wordpress Super Cache working. I’d appreciate any help. I’m al…

---

## [Could not build the referers\_hash](https://www.ruby-forum.com/t/could-not-build-the-referers-hash/218389)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 9\
**Last updated:** [April 10, 2012, 4:44pm UTC](https://www.ruby-forum.com/t/could-not-build-the-referers-hash/218389 "2012-04-10T16:44:52Z")

</div>

Hello, I am trying to reload nginx and keep getting this error: nginx: \[emerg\] could not build the referers\_hash, you should increase referers\_hash\_bucket\_size: 64 nginx: configuration file /usr/local/nginx/conf/ngin…

---

## [MP4 - start time is out mp4 stts samples](https://www.ruby-forum.com/t/mp4-start-time-is-out-mp4-stts-samples/213944)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 10\
**Last updated:** [April 10, 2012, 12:11pm UTC](https://www.ruby-forum.com/t/mp4-start-time-is-out-mp4-stts-samples/213944 "2012-04-10T12:11:01Z")

</div>

Hello, About MP4 module, my files are around 100-200MB, 30-50minutes videos. When I try to seek more then 14-20min from start, I got “video not found” and this error in nginx log: 2011/11/17 01:17:46 \[error\] 15463#0:…

---

## [Memcache module implementation with multi-get support?](https://www.ruby-forum.com/t/memcache-module-implementation-with-multi-get-support/218650)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 10, 2012, 3:44am UTC](https://www.ruby-forum.com/t/memcache-module-implementation-with-multi-get-support/218650 "2012-04-10T03:44:38Z")

</div>

Hi, Is there a memcache module implementation with multi-get support? Thanks, Ashish

---

## [Rewrites for sites without SSL on same IP address as those using SSL](https://www.ruby-forum.com/t/rewrites-for-sites-without-ssl-on-same-ip-address-as-those-using-ssl/218701)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [April 9, 2012, 3:58pm UTC](https://www.ruby-forum.com/t/rewrites-for-sites-without-ssl-on-same-ip-address-as-those-using-ssl/218701 "2012-04-09T15:58:40Z")

</div>

I have a few sites on a single IP and a single nginx instance. Some domains have SSL certificates (and listen on ports 80 and 443) and some don’t (and only listen on port 80). For those domains that don’t have an SSL …

---

## [Nginx upstream prematurely closed connection](https://www.ruby-forum.com/t/nginx-upstream-prematurely-closed-connection/218370)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 9, 2012, 1:42pm UTC](https://www.ruby-forum.com/t/nginx-upstream-prematurely-closed-connection/218370 "2012-04-09T13:42:41Z")

</div>

Hello, I’m using nginx as a reverse proxy to handle static files with apache to handle dynamic file .php I’m receiving too many errors ( Bad Gateway 502 ) when i’m using vBulletin , joomla , wordpress in PHP Post or …

---

## [Rewrite proxy flag set problem](https://www.ruby-forum.com/t/rewrite-proxy-flag-set-problem/218184)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 24\
**Last updated:** [April 9, 2012, 10:26am UTC](https://www.ruby-forum.com/t/rewrite-proxy-flag-set-problem/218184 "2012-04-09T10:26:26Z")

</div>

Hi I have write a one rewrite rule as below rewrite /auction(.\*)$ http://192.168.1.210$1; This rewrite rule working fine for me. but the problem is it show the Ip address 192.168.1.210 also. I want to hide this IP…

---

## [I need the best nginx configuration please](https://www.ruby-forum.com/t/i-need-the-best-nginx-configuration-please/218624)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 7, 2012, 5:51am UTC](https://www.ruby-forum.com/t/i-need-the-best-nginx-configuration-please/218624 "2012-04-07T05:51:49Z")

</div>

Hello, Please, I need the best nginx configuration for my servers My servers for images hosting In any server, From 2 to 5 million images The problem is that images do not appear quickly, a long time, Slow Please he…

---

## [Limit\_req\_zone and limit\_req: rate too strict](https://www.ruby-forum.com/t/limit-req-zone-and-limit-req-rate-too-strict/218637)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 6, 2012, 10:57pm UTC](https://www.ruby-forum.com/t/limit-req-zone-and-limit-req-rate-too-strict/218637 "2012-04-06T22:57:05Z")

</div>

Hi, I have started using limit\_req\_zone + limit\_req but am seeing more delayed log entries than I would expect. I have the following: limit\_req\_zone $binary\_remote\_addr zone=one:10m rate=3r/s; … server { … locat…

---

## [Proxy\_buffering on - doesn't return files with large data?](https://www.ruby-forum.com/t/proxy-buffering-on-doesnt-return-files-with-large-data/218636)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 6, 2012, 6:36pm UTC](https://www.ruby-forum.com/t/proxy-buffering-on-doesnt-return-files-with-large-data/218636 "2012-04-06T18:36:08Z")

</div>

Hi, We have setup like so : Nginx is configured as server which recieves user request The user request is proxy\_passed to another server which is also Nginx. Now when user requests for a file(401481 bytes) over AJAX…

---

## [HttpSecureLinkModule timestamp inside uri](https://www.ruby-forum.com/t/httpsecurelinkmodule-timestamp-inside-uri/218599)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 6, 2012, 6:03pm UTC](https://www.ruby-forum.com/t/httpsecurelinkmodule-timestamp-inside-uri/218599 "2012-04-06T18:03:50Z")

</div>

I would like to use HttpSecureLinkModule to restrict access to some member photos. Now I would like to have the timestamp inside the path but I’m not sure how to implement that. The timestamp I could get with /t(\\d+)/…

---

## [Problem add http\_400 for module upstream](https://www.ruby-forum.com/t/problem-add-http-400-for-module-upstream/218633)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 6, 2012, 11:16am UTC](https://www.ruby-forum.com/t/problem-add-http-400-for-module-upstream/218633 "2012-04-06T11:16:14Z")

</div>

Hello every body! I want to add http\_400 in directive proxy\_next\_upstream of module upstream: Add code below in file src/http/ngx\_http\_upstream.h: #define NGX\_HTTP\_UPSTREAM\_FT\_HTTP\_502 0x00000020 #define NGX…

---

## [No response nginx](https://www.ruby-forum.com/t/no-response-nginx/218592)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 6, 2012, 3:47am UTC](https://www.ruby-forum.com/t/no-response-nginx/218592 "2012-04-06T03:47:51Z")

</div>

Hi. I have a problem with nginx-1.1.16 uses proxy\_cache\_lock on. When high load or many request to nginx, Suddenly nginx seems hang, no response at all. In netstat “SYN\_RECV”,“CLOSE\_WAIT” too many. This problem needs …

---

## [Multiget support in memcache/memc nginx modules](https://www.ruby-forum.com/t/multiget-support-in-memcache-memc-nginx-modules/218621)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 6, 2012, 1:34am UTC](https://www.ruby-forum.com/t/multiget-support-in-memcache-memc-nginx-modules/218621 "2012-04-06T01:34:23Z")

</div>

Hi, It looks like neither the nginx memc module, nor the memcache standard module supports multi-get out of the box. Is there an implementation openly available, that supports the same? How about support for larger …

---

## [Nginx conf](https://www.ruby-forum.com/t/nginx-conf/218595)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [April 5, 2012, 8:56pm UTC](https://www.ruby-forum.com/t/nginx-conf/218595 "2012-04-05T20:56:20Z")

</div>

Hi all, how to configure nginx.conf, sites-available and sites-enabled I get 403 Forbidden nginx/0.7.67 please check out where my configuration errors I nginx.conf following: user www-data; worker\_processes 1; er…

---

## [Combine if clauses for denial](https://www.ruby-forum.com/t/combine-if-clauses-for-denial/218611)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 5, 2012, 5:22pm UTC](https://www.ruby-forum.com/t/combine-if-clauses-for-denial/218611 "2012-04-05T17:22:23Z")

</div>

Hi all, I know how to block requests with an empty user-agent or with an empty referrer - is it possible to combine these two criteria and deny access when a request has no referrer AND no user-agent? Regards, Peter …

---

## [Limit\_rate dynamically using $arg - security](https://www.ruby-forum.com/t/limit-rate-dynamically-using-arg-security/218587)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 5, 2012, 5:06pm UTC](https://www.ruby-forum.com/t/limit-rate-dynamically-using-arg-security/218587 "2012-04-05T17:06:52Z")

</div>

I’ve been looking for a way to limit videos to their bitrate to save bandwidth and I’ve come up with this code if ($arg\_LIMITSPEED) { set $limit\_rate $arg\_LIMITSPEED; } It works but I would l…

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

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