# Server

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

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

---

## [Proxy-cache refresh](https://www.ruby-forum.com/t/proxy-cache-refresh/198245)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [October 30, 2010, 2:46pm UTC](https://www.ruby-forum.com/t/proxy-cache-refresh/198245 "2010-10-30T14:46:24Z")

</div>

Hello We are using the nginx proxy\_cache module to cache big media files - per default for 24h. Is there a way to tell nginx to check regularly on the backend servers if the file still exists or was being updated? T…

---

## [Cpu spike on HUP](https://www.ruby-forum.com/t/cpu-spike-on-hup/198276)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 30, 2010, 11:14am UTC](https://www.ruby-forum.com/t/cpu-spike-on-hup/198276 "2010-10-30T11:14:47Z")

</div>

Whenever nginx is sent a HUP signal, the cpu jumps to 100% then slowly drops until all the nginx worker processes that are trying to shutting down are done. Those nginx process usually take a while to shutdown since w…

---

## [How to setup nginx with Gmail IMAP?](https://www.ruby-forum.com/t/how-to-setup-nginx-with-gmail-imap/198357)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [October 30, 2010, 10:14am UTC](https://www.ruby-forum.com/t/how-to-setup-nginx-with-gmail-imap/198357 "2010-10-30T10:14:44Z")

</div>

Hi, I am new to Nginx. Does anyone have any example on how to setup nginx with both gmail imap and yahoo imap? There will be multiple users using this proxy. Thanks.

---

## [GZIP Issues in 0.7 vx 0.8](https://www.ruby-forum.com/t/gzip-issues-in-0-7-vx-0-8/198350)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 30, 2010, 8:50am UTC](https://www.ruby-forum.com/t/gzip-issues-in-0-7-vx-0-8/198350 "2010-10-30T08:50:51Z")

</div>

I ran into an issue the last couple days where we noticed some files were being gzipped from a site (in a reverse proxy config) and others were not. Initially we believed it to be due to the size of the buffer so we i…

---

## [Yet another "No input file specified." thread](https://www.ruby-forum.com/t/yet-another-no-input-file-specified-thread/176126)

<div class="topic-metadata">

**Author:** [@hobson42](https://www.ruby-forum.com/u/hobson42)\
**Replies:** 9\
**Last updated:** [October 29, 2010, 11:05pm UTC](https://www.ruby-forum.com/t/yet-another-no-input-file-specified-thread/176126 "2010-10-29T23:05:17Z")

</div>

Hi folks. I’ve been tearing what little hair I have left out trying to find the problem with this. nginx version 0.7.61 installed from Jeff W.s site. On Ubuntu 9.4 Jackalope. /etc/nginx/nginx.conf - standard, as is…

---

## ["limit\_req\_zone" unknown directive](https://www.ruby-forum.com/t/limit-req-zone-unknown-directive/198295)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [October 29, 2010, 1:42pm UTC](https://www.ruby-forum.com/t/limit-req-zone-unknown-directive/198295 "2010-10-29T13:42:10Z")

</div>

Hello, i have added to my nginx.conf http { limit\_req\_zone $binary\_remote\_addr zone=antiddos:10m rate=10r/s; } And in my site config location ~ .php$ { #limit\_req zone=antiddos burst=5; } But i am only getting t…

---

## [Server\_name '\_' and custom error\_page](https://www.ruby-forum.com/t/server-name-and-custom-error-page/198298)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 29, 2010, 1:04pm UTC](https://www.ruby-forum.com/t/server-name-and-custom-error-page/198298 "2010-10-29T13:04:31Z")

</div>

Hi, This is my first time post, hi everybody. The reason of this post is that I found some Nginx behaviour that I don’t understand. I would like to know if it’s a bug or not. Version: nginx/0.8.52 I pointed all DNS…

---

## [Wordpress Apache protocol Q](https://www.ruby-forum.com/t/wordpress-apache-protocol-q/198293)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 12:00pm UTC](https://www.ruby-forum.com/t/wordpress-apache-protocol-q/198293 "2010-10-29T12:00:33Z")

</div>

Hi, all. I have an nginx proxy front serving https requests and it connects to an Apache back end serving plain old http. My issue is that all of my Wordpress generated links are coming out as ‘http://’ and I really n…

---

## [More informations about caching](https://www.ruby-forum.com/t/more-informations-about-caching/198291)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 11:35am UTC](https://www.ruby-forum.com/t/more-informations-about-caching/198291 "2010-10-29T11:35:24Z")

</div>

Hi everybody, I’m using Nginx as reverse proxy for a long time and i’m currently setting up a cache system using Nginx. I have a question about the proxy\_cache feature. I want to know what’s happen when the cache is …

---

## [Reverse proxy and too many temp files](https://www.ruby-forum.com/t/reverse-proxy-and-too-many-temp-files/198207)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 7\
**Last updated:** [October 28, 2010, 6:17pm UTC](https://www.ruby-forum.com/t/reverse-proxy-and-too-many-temp-files/198207 "2010-10-28T18:17:20Z")

</div>

hi we are using nginx as a reverse proxy in front of some webservers with media files. evrerithing works great beside when we start nginx new with an empty cache. in this situation allot of files in proxy\_temp\_path …

---

## [Unanswered requests from local host, high load](https://www.ruby-forum.com/t/unanswered-requests-from-local-host-high-load/198247)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 28, 2010, 5:37pm UTC](https://www.ruby-forum.com/t/unanswered-requests-from-local-host-high-load/198247 "2010-10-28T17:37:44Z")

</div>

Dear list, I’m running a public mirror server which currently handles about 5 GBit/sec with 15.000 concurrent connections and 1400 requests/second. We only serve static files and basically all served files are in RAM …

---

## [Mail proxy auth\_http stats](https://www.ruby-forum.com/t/mail-proxy-auth-http-stats/198124)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [October 28, 2010, 11:21am UTC](https://www.ruby-forum.com/t/mail-proxy-auth-http-stats/198124 "2010-10-28T11:21:45Z")

</div>

Hi, I have a mail proxy configured alongside the following: http { perl\_modules /etc/nginx/perl/lib; perl\_require mailauth.pm; // there’s a Perl::DBI call here server { listen 81; locat…

---

## [What represents the unlimited value of client\_max\_body\_size](https://www.ruby-forum.com/t/what-represents-the-unlimited-value-of-client-max-body-size/198223)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 28, 2010, 10:10am UTC](https://www.ruby-forum.com/t/what-represents-the-unlimited-value-of-client-max-body-size/198223 "2010-10-28T10:10:45Z")

</div>

What represents the unlimited value of client\_max\_body\_size? Is it 0? The wiki of http core module say nothing about this. Thanks. Posted at Nginx Forum:

---

## [Proxy caching primer?](https://www.ruby-forum.com/t/proxy-caching-primer/198128)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 28, 2010, 6:21am UTC](https://www.ruby-forum.com/t/proxy-caching-primer/198128 "2010-10-28T06:21:42Z")

</div>

I’m trying to understand proxy caching, specifically for our php scripts. How? what? when? Can anyone give me some basics? What about php scripts which serve dynamic data? Thanks

---

## [Ngx\_memc v0.11 released: small bug fixes and more documentation](https://www.ruby-forum.com/t/ngx-memc-v0-11-released-small-bug-fixes-and-more-documentation/198225)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 6:11am UTC](https://www.ruby-forum.com/t/ngx-memc-v0-11-released-small-bug-fixes-and-more-documentation/198225 "2010-10-28T06:11:04Z")

</div>

Hi, folks! I’ve just released the v0.11 version of our ngx\_memc module: http://github.com/agentzh/memc-nginx-module/tarball/v0.11 This version applies the patch from iframist, fixing the zero size buf alert in error.…

---

## [Multiple limit\_conn per connection](https://www.ruby-forum.com/t/multiple-limit-conn-per-connection/198080)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [October 28, 2010, 4:49am UTC](https://www.ruby-forum.com/t/multiple-limit-conn-per-connection/198080 "2010-10-28T04:49:29Z")

</div>

I’m trying to limit the number of simultaneous connections based on a CGI args. For example some queries are more expensive to process than others, and I’m trying to avoid a few slow/expensive queries to starve out al…

---

## [HTTP 411 Length Required Errors](https://www.ruby-forum.com/t/http-411-length-required-errors/198192)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 27, 2010, 8:05pm UTC](https://www.ruby-forum.com/t/http-411-length-required-errors/198192 "2010-10-27T20:05:12Z")

</div>

Greetings, we’d like to use nginx to balance for multiple instances of core grid services for the Atlanta Clinical & Translational Science Biomedical Informatics Grid. We’ve used nginx successfully on several other p…

---

## [Image Hosting](https://www.ruby-forum.com/t/image-hosting/197422)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 34\
**Last updated:** [October 27, 2010, 3:53pm UTC](https://www.ruby-forum.com/t/image-hosting/197422 "2010-10-27T15:53:51Z")

</div>

hi there, we have an image hosting, and of course we’re using Nginx! Now on we’re having problem with disk i/o. With 200GB of images. Is there any recommendation for this matter? Nginx configuration or Hardware/other…

---

## [Proxy: cookie injection or header filter](https://www.ruby-forum.com/t/proxy-cookie-injection-or-header-filter/198169)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [October 27, 2010, 3:04pm UTC](https://www.ruby-forum.com/t/proxy-cookie-injection-or-header-filter/198169 "2010-10-27T15:04:44Z")

</div>

My nginx proxy configuration: location / { proxy\_pass http://site.external.com/; proxy\_redirect http://site.external.com http://site.local.my; proxy\_set\_header Accept-Encoding “”; sub\_…

---

## [Ssl](https://www.ruby-forum.com/t/ssl/198166)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 27, 2010, 2:22pm UTC](https://www.ruby-forum.com/t/ssl/198166 "2010-10-27T14:22:36Z")

</div>

Hello, I’m trying to use SSL for a domain with nginx 0.6 I already added a dedicated IP for the domain. I used ssl with apache previously but never with nginx Anyone can tell me how to proceed to use SSL please? Tha…

---

## [Incoming X-Forwarded-For in conditional evaulation](https://www.ruby-forum.com/t/incoming-x-forwarded-for-in-conditional-evaulation/198159)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 27, 2010, 1:49pm UTC](https://www.ruby-forum.com/t/incoming-x-forwarded-for-in-conditional-evaulation/198159 "2010-10-27T13:49:52Z")

</div>

Hi. I’ve set up nginx as a front-end for apache with mod\_rpaf. My config (parts that are meaningful for this thread) is: http { proxy\_set\_header Host $host; proxy\_set\_header X-Forwarded-For $remote\_addr; server { …

---

## [How to limit per virtual host and per client connection number at the same time?](https://www.ruby-forum.com/t/how-to-limit-per-virtual-host-and-per-client-connection-number-at-the-same-time/198144)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 27, 2010, 11:20am UTC](https://www.ruby-forum.com/t/how-to-limit-per-virtual-host-and-per-client-connection-number-at-the-same-time/198144 "2010-10-27T11:20:55Z")

</div>

How to limit per virtual host and per client connection number at the same time, like this: limit\_zone server\_conn $server\_name 10m; limit\_conn server\_conn 100; limit\_zone client\_conn $binary\_remote\_addr 10m; limit\_…

---

## [Nginx ignores the case of how to set URL?](https://www.ruby-forum.com/t/nginx-ignores-the-case-of-how-to-set-url/198148)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 27, 2010, 8:15am UTC](https://www.ruby-forum.com/t/nginx-ignores-the-case-of-how-to-set-url/198148 "2010-10-27T08:15:46Z")

</div>

Does nginx ignores how to set up the case of URL, apache has CheckSpelling module, then nginx it? Posted at Nginx Forum:

---

## [Mail fowarding](https://www.ruby-forum.com/t/mail-fowarding/198139)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 27, 2010, 3:11am UTC](https://www.ruby-forum.com/t/mail-fowarding/198139 "2010-10-27T03:11:37Z")

</div>

Whats required in nginx to setup just a fowarding SMTP and IMAP (and POP3?) proxy, no extra authentication is needed we just want to foward it on like a reverse proxy. I found the documentation on the area particular…

---

## [FastCGI with C++ Web Toolkit](https://www.ruby-forum.com/t/fastcgi-with-c-web-toolkit/198134)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 27, 2010, 1:21am UTC](https://www.ruby-forum.com/t/fastcgi-with-c-web-toolkit/198134 "2010-10-27T01:21:26Z")

</div>

I will like to help documenting the best way to communicate “C++ WT” with nginx on Unix like system somebody have some info about it ? Thanks Posted at Nginx Forum:

---

## [Server performance issue](https://www.ruby-forum.com/t/server-performance-issue/198087)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 21\
**Last updated:** [October 26, 2010, 11:18pm UTC](https://www.ruby-forum.com/t/server-performance-issue/198087 "2010-10-26T23:18:11Z")

</div>

Hi all, For yesterday, my server is getting slower and slower… Sometime php-fpm is taking up 100% cpu, and there are about 1G free memory. Everytime I restart nginx and php-fpm, webserver will be OK. But after about …

---

## [Problem with Solaris](https://www.ruby-forum.com/t/problem-with-solaris/198117)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 26, 2010, 10:24pm UTC](https://www.ruby-forum.com/t/problem-with-solaris/198117 "2010-10-26T22:24:48Z")

</div>

Hello, I just came to this old problem : readv() failed (22: Invalid argument) while reading upstream Running nginx 0.8.52 on Solaris10 I have seen a message from 2008 that spoke about that, but it seems that the bu…

---

## [499 errors in IE9 causing order duplicates](https://www.ruby-forum.com/t/499-errors-in-ie9-causing-order-duplicates/198113)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 26, 2010, 8:43pm UTC](https://www.ruby-forum.com/t/499-errors-in-ie9-causing-order-duplicates/198113 "2010-10-26T20:43:04Z")

</div>

We use nginx to reverse proxy to a farm of apache servers. It rocks. But we’ve noticed that Internet Explorer 9 has been generating duplicate orders. It does not happen every time, but often enough. It appears to b…

---

## [Nginx and Memcache](https://www.ruby-forum.com/t/nginx-and-memcache/197917)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [October 26, 2010, 7:35pm UTC](https://www.ruby-forum.com/t/nginx-and-memcache/197917 "2010-10-26T19:35:41Z")

</div>

Hi, I have recently installed Nginx as a front facing server to communicate with memcache. My problem is that the PHP code that writes into memcache serializes the contents. I cannot turn off serialization but need to …

---

## [Proxy caching](https://www.ruby-forum.com/t/proxy-caching/198125)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 26, 2010, 7:25pm UTC](https://www.ruby-forum.com/t/proxy-caching/198125 "2010-10-26T19:25:39Z")

</div>

Could someone give me some basic guidance on using the proxy cache features of Nginx? I’m trying to understand the benefits and pitfalls, especially when dynamic data changes? Thanks

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

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