# Server

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

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

---

## [Got timeout problems, even with 1.0.2, without old patches, reverse proxy with cache features](https://www.ruby-forum.com/t/got-timeout-problems-even-with-1-0-2-without-old-patches-reverse-proxy-with-cache-features/207021)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 16, 2011, 12:30pm UTC](https://www.ruby-forum.com/t/got-timeout-problems-even-with-1-0-2-without-old-patches-reverse-proxy-with-cache-features/207021 "2011-05-16T12:30:04Z")

</div>

Hi Even with 1.0.2 version i am needed to patch these 2 patches: http://nginx.org/pipermail/nginx-devel/2010-January/000100.html Because i am getting timeouts without those 2 patch. My backend is IBM Lotus Domino and…

---

## [Gzip vs Gzip static](https://www.ruby-forum.com/t/gzip-vs-gzip-static/207015)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 16, 2011, 10:25am UTC](https://www.ruby-forum.com/t/gzip-vs-gzip-static/207015 "2011-05-16T10:25:44Z")

</div>

Hi, This may be a silly question, but, does gzip static depend/extend gzip, or can i just compile with gzip static and without gzip? I would assume either gzip or gzip+static, but i’d like to confirm. Thanks, Nuno

---

## [Empty reply from server](https://www.ruby-forum.com/t/empty-reply-from-server/206646)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 16, 2011, 6:40am UTC](https://www.ruby-forum.com/t/empty-reply-from-server/206646 "2011-05-16T06:40:59Z")

</div>

I’m setting up a new nginx environment and I’m having issues with 404’s. When I use curl to request a file that I know does not exist, nginx responds back with an empty reply… I would prefer a 404 not found with the c…

---

## [No error logging](https://www.ruby-forum.com/t/no-error-logging/207003)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 16, 2011, 4:22am UTC](https://www.ruby-forum.com/t/no-error-logging/207003 "2011-05-16T04:22:00Z")

</div>

I’ve added an error\_log direction to the nginx.conf file, restarted nginx. However, it’s not logging php errors. What could be wrong?

---

## [Anything wrong with the wiki server?](https://www.ruby-forum.com/t/anything-wrong-with-the-wiki-server/206991)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 16, 2011, 3:21am UTC](https://www.ruby-forum.com/t/anything-wrong-with-the-wiki-server/206991 "2011-05-16T03:21:03Z")

</div>

I can connect to nginx.org but not to wiki.nginx.org, times out.

---

## [Async n/w logging](https://www.ruby-forum.com/t/async-n-w-logging/204706)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 15, 2011, 10:45pm UTC](https://www.ruby-forum.com/t/async-n-w-logging/204706 "2011-05-15T22:45:37Z")

</div>

Is there some module that tries to log messages (access log) over the network by plugging into the core event loop? I am use Boost.ASIO, GIO of glib etc. etc. but they all start their own event loop.

---

## [IPv6 issues viewing any static or dynamic file](https://www.ruby-forum.com/t/ipv6-issues-viewing-any-static-or-dynamic-file/206988)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 15, 2011, 6:23pm UTC](https://www.ruby-forum.com/t/ipv6-issues-viewing-any-static-or-dynamic-file/206988 "2011-05-15T18:23:30Z")

</div>

Hello, I am having issues with IPv6 being able to view any files static or dynamic. I keep getting the error curl -6 http://ipv6.example.com/test.png 2011/05/14 16:18:36 \[info\] 6217#0: \*1 client timed out (110: Conne…

---

## [Add\_header works in server but not in http?](https://www.ruby-forum.com/t/add-header-works-in-server-but-not-in-http/206982)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 15, 2011, 4:50pm UTC](https://www.ruby-forum.com/t/add-header-works-in-server-but-not-in-http/206982 "2011-05-15T16:50:09Z")

</div>

Hello, I decided I’d clean up my configuration files for Nginx. It’s long overdue. I have the following in my nginx.conf but is never sent. I don’t have another reference to this header anywhere. add\_header …

---

## [Seperating ipv6 and ipv4 traffic](https://www.ruby-forum.com/t/seperating-ipv6-and-ipv4-traffic/206971)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 15, 2011, 2:33pm UTC](https://www.ruby-forum.com/t/seperating-ipv6-and-ipv4-traffic/206971 "2011-05-15T14:33:36Z")

</div>

server { server\_name secure.mydomain.com; listen 443; gzip on; gzip\_comp\_level 1; gzip\_types text/plain text/html text/css application/x-javascript text/xml text/javascript; gzip\_static on; gz…

---

## [Nginx worker processes](https://www.ruby-forum.com/t/nginx-worker-processes/206970)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 14, 2011, 7:29pm UTC](https://www.ruby-forum.com/t/nginx-worker-processes/206970 "2011-05-14T19:29:32Z")

</div>

Is it true to say that every worker process in nginx has its own round-robin counters and that they are not aware of the other workers counters? Thanks! Jonathan

---

## [Nginx 1.0.2 intermittent segfault error 4](https://www.ruby-forum.com/t/nginx-1-0-2-intermittent-segfault-error-4/246537)

<div class="topic-metadata">

**Author:** [@inph](https://www.ruby-forum.com/u/inph)\
**Replies:** 0\
**Last updated:** [May 14, 2011, 5:16pm UTC](https://www.ruby-forum.com/t/nginx-1-0-2-intermittent-segfault-error-4/246537 "2011-05-14T17:16:51Z")

</div>

Hi, I’ve noticed some nginx segfaults over the last week or so with 1.0.1 and 1.0.2. I havent tested any other version for long enough. The segfaults are not immediate and sometimes it requires several hours to repro…

---

## [Cgi files in plain text](https://www.ruby-forum.com/t/cgi-files-in-plain-text/206811)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 14, 2011, 2:20pm UTC](https://www.ruby-forum.com/t/cgi-files-in-plain-text/206811 "2011-05-14T14:20:21Z")

</div>

Hi, I installed nginx and php5-fpm from repositories on ubuntu 10.04. everything works well. The phpinfo test file works. I try to access collection (for collectd) pages. When I access the url of the collection3/bin/…

---

## [Trouble with forward proxying](https://www.ruby-forum.com/t/trouble-with-forward-proxying/206658)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 13, 2011, 10:01pm UTC](https://www.ruby-forum.com/t/trouble-with-forward-proxying/206658 "2011-05-13T22:01:36Z")

</div>

Hello, I’ve looked far and wide but couldn’t find an answer to my problem. Here’s a quick description: an appserver must use the company’s http proxy for outgoing http requests, but cannot be configured. So I (tried) …

---

## [IPv6 Issues / Question](https://www.ruby-forum.com/t/ipv6-issues-question/206945)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [May 13, 2011, 9:49pm UTC](https://www.ruby-forum.com/t/ipv6-issues-question/206945 "2011-05-13T21:49:53Z")

</div>

Last night I had my provider (Linode) add IPv6 support for my server. I also had them assign me an IPv6 pool to use. I have Nginx 1.0.2 compiled with IPv6 support, restarted my Nginx and everything was fine all night…

---

## [Rewrite n00b](https://www.ruby-forum.com/t/rewrite-n00b/206867)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 13, 2011, 8:17pm UTC](https://www.ruby-forum.com/t/rewrite-n00b/206867 "2011-05-13T20:17:17Z")

</div>

Hi, Just wanting to enabled a rewrite of the following url, Redirecting all requests from http://www.domain.com/site/forums and http://www.domain.com/forums to http://forums.domain.com Thanks :slight\_smile:

---

## [Why doesn't Nginx support fastcgi keepalive connection?](https://www.ruby-forum.com/t/why-doesnt-nginx-support-fastcgi-keepalive-connection/206912)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 13, 2011, 3:10pm UTC](https://www.ruby-forum.com/t/why-doesnt-nginx-support-fastcgi-keepalive-connection/206912 "2011-05-13T15:10:05Z")

</div>

Hi, all It seems that nginx will communicate with fastcgi using short connection, and with heavy load, nginx and fastcgi will cause large number of TIME\_WAIT. It’s annoying. I am wondering why nginx doesn’t support…

---

## [After upgrading nginx from 0.8.54 to 1.0.2, getting blank page with drupal context module install](https://www.ruby-forum.com/t/after-upgrading-nginx-from-0-8-54-to-1-0-2-getting-blank-page-with-drupal-context-module-install/206916)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 13, 2011, 2:21pm UTC](https://www.ruby-forum.com/t/after-upgrading-nginx-from-0-8-54-to-1-0-2-getting-blank-page-with-drupal-context-module-install/206916 "2011-05-13T14:21:54Z")

</div>

This is the error log from server 2011/05/11 17:40:02 \[error\] 3358#0: \*1 FastCGI sent in stderr: “PHP Fatal error: require() \[function.require\]: Failed opening required ‘context.core.inc’ (include\_path=‘.:/usr/local/…

---

## [Locate Command Linux Problems](https://www.ruby-forum.com/t/locate-command-linux-problems/206898)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 12, 2011, 8:31pm UTC](https://www.ruby-forum.com/t/locate-command-linux-problems/206898 "2011-05-12T20:31:13Z")

</div>

Hey so I am trying to write installation software. I am installing third party software on a computer, but first I check to see if it has already been installed. I am trying to use the locate command but it is not ret…

---

## [Nginx-1.0.2 for Windows 32-bit and 64-bit now available](https://www.ruby-forum.com/t/nginx-1-0-2-for-windows-32-bit-and-64-bit-now-available/206886)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 12, 2011, 4:06pm UTC](https://www.ruby-forum.com/t/nginx-1-0-2-for-windows-32-bit-and-64-bit-now-available/206886 "2011-05-12T16:06:29Z")

</div>

For those interested, Cygwin based versions of Nginx 1.0.2 for Windows (both 32-bit and 64-bit) builds are available here: Blog post/announcement: Cygwin is NOT required on your system to run this version; all neede…

---

## [Redirecting url from old to new](https://www.ruby-forum.com/t/redirecting-url-from-old-to-new/206837)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 12, 2011, 1:58pm UTC](https://www.ruby-forum.com/t/redirecting-url-from-old-to-new/206837 "2011-05-12T13:58:50Z")

</div>

Any body will help me to redirect my old wordpress post http://tuffclassified.com/xyz/ to new custom post http://tuffclassified.com/ads/xyz/ . It was easy in apache as i have to add just END WordPress RewriteRule …

---

## [Proxy\_next\_upstream and POSTs](https://www.ruby-forum.com/t/proxy-next-upstream-and-posts/206771)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 9\
**Last updated:** [May 12, 2011, 12:31pm UTC](https://www.ruby-forum.com/t/proxy-next-upstream-and-posts/206771 "2011-05-12T12:31:41Z")

</div>

Hi! Nginx is great and the way it handles upstream and failed server as well! I would just like to avoid retrying request when they are POSTs, as POSTs are no idempotent and my backend can’t handle duplicated POSTs …

---

## [Nginx-1.0.2](https://www.ruby-forum.com/t/nginx-1-0-2/206795)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 11, 2011, 12:30pm UTC](https://www.ruby-forum.com/t/nginx-1-0-2/206795 "2011-05-11T12:30:58Z")

</div>

Changes with nginx 1.0.2 10 May 2011 \*) Feature: now shared zones and caches use POSIX semaphores. \*) Bugfix: in the "rotate" parameter of the "image\_filter" directive. Thank…

---

## [Server\_name for https](https://www.ruby-forum.com/t/server-name-for-https/206748)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 11, 2011, 12:07pm UTC](https://www.ruby-forum.com/t/server-name-for-https/206748 "2011-05-11T12:07:31Z")

</div>

Hello, Since HTTPS doesn’t support vhost, shall we have the need to put the server\_name command in the server section? for example, server { listen 443; server\_name xxx.example.com;…

---

## [2048 worker\_connections are not enough while connecting to upstream](https://www.ruby-forum.com/t/2048-worker-connections-are-not-enough-while-connecting-to-upstream/206791)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 10, 2011, 12:29pm UTC](https://www.ruby-forum.com/t/2048-worker-connections-are-not-enough-while-connecting-to-upstream/206791 "2011-05-10T12:29:57Z")

</div>

I’m using nginx as a remote proxy server in front of some Tomcat instances, with pretty high traffic. Suddenly yesterday afternoon we started getting the error in the message subject, one I’d never seen before, and it…

---

## [Nginx silently drops response body of POST depending on its length](https://www.ruby-forum.com/t/nginx-silently-drops-response-body-of-post-depending-on-its-length/206734)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 10, 2011, 12:45am UTC](https://www.ruby-forum.com/t/nginx-silently-drops-response-body-of-post-depending-on-its-length/206734 "2011-05-10T00:45:12Z")

</div>

I’ve come across an incredibly weird problem with POST responses using nginx 1.0.1 and uWSGI 0.9.7.2 on CentOS 5.6. uWSGI successfully sends the response body to nginx, but nginx seems to ignore it if both (1) the req…

---

## [How to redirect non anonymous proxy traffic?](https://www.ruby-forum.com/t/how-to-redirect-non-anonymous-proxy-traffic/206768)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 5:53pm UTC](https://www.ruby-forum.com/t/how-to-redirect-non-anonymous-proxy-traffic/206768 "2011-05-09T17:53:07Z")

</div>

I know it’s something with HTTP\_X\_FORWARDED directive but not sure how to make it work. I need detection of it and then redirect to set URL.

---

## [Expierence nGinx with Typo3 Caching](https://www.ruby-forum.com/t/expierence-nginx-with-typo3-caching/206763)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 9, 2011, 4:17pm UTC](https://www.ruby-forum.com/t/expierence-nginx-with-typo3-caching/206763 "2011-05-09T16:17:25Z")

</div>

Hello Everybody, Does anybody have expierence with nginx and typo3 caching? I have a very strange problem with the caching on of our customers sites. They made changes in typo3. On the first domain first.domain.de th…

---

## [Logs in wrong order](https://www.ruby-forum.com/t/logs-in-wrong-order/206752)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 9, 2011, 2:13pm UTC](https://www.ruby-forum.com/t/logs-in-wrong-order/206752 "2011-05-09T14:13:55Z")

</div>

When I hit the nginx server with a very rapid succession of requests from multiple clients, the logs will be out of order. For example, the log times would appear like this: … 18:10:11 … … 18:10:11 … … 18:10:11 … ……

---

## [Log rotate](https://www.ruby-forum.com/t/log-rotate/206754)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 9, 2011, 1:12pm UTC](https://www.ruby-forum.com/t/log-rotate/206754 "2011-05-09T13:12:04Z")

</div>

Hi, Does nginx support the feature of logrotate by log4j format? log4j is rotate the log files by each date and rename the old logs with log\_name.YYYY-MM-DD. Thanks. – Jeff P. www.DNSbed.com

---

## [Aio info](https://www.ruby-forum.com/t/aio-info/206581)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [May 9, 2011, 11:33am UTC](https://www.ruby-forum.com/t/aio-info/206581 "2011-05-09T11:33:42Z")

</div>

Hi A lot of talk about AIO recently - I actually didn’t know it existed before, so I am trying it on freebsd8 sysctl -a | grep aio kern.features.aio: 1 vfs.aio.max\_buf\_aio: 16 vfs.aio.max\_aio\_queue\_per\_proc: 256 vf…

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

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