# Server

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

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

---

## [Nginx imap proxy problem](https://www.ruby-forum.com/t/nginx-imap-proxy-problem/205032)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 28, 2011, 1:50pm UTC](https://www.ruby-forum.com/t/nginx-imap-proxy-problem/205032 "2011-03-28T13:50:52Z")

</div>

Hi, I try to use this php script: But all I get is: auth http server web-srv.de:80 did not send server or port while in http auth state, client: , server: mail-srv:993, login: “foo@bar” I guess it’s the php scrip…

---

## [Module dav with http\_auth](https://www.ruby-forum.com/t/module-dav-with-http-auth/205007)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 27, 2011, 6:45pm UTC](https://www.ruby-forum.com/t/module-dav-with-http-auth/205007 "2011-03-27T18:45:32Z")

</div>

Hello! I’m wanting to create my own “firefox sync” service. As I could read, it’s only a dav service without any special thing. So I tried to create it like, enabling the dav module\[1\] in nginx. I’ve read the example…

---

## [Weird behavior - race condition?](https://www.ruby-forum.com/t/weird-behavior-race-condition/205018)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [March 27, 2011, 10:30am UTC](https://www.ruby-forum.com/t/weird-behavior-race-condition/205018 "2011-03-27T10:30:59Z")

</div>

Hi all, I just found a weird behavior in nginx, which looks like a race condition. I’m using an unmodified nginx 0.9.6 with no option on the ./configure line and the config is pretty much the default except for thos…

---

## [uWSGI 0.9.7.1](https://www.ruby-forum.com/t/uwsgi-0-9-7-1/204997)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 26, 2011, 10:06am UTC](https://www.ruby-forum.com/t/uwsgi-0-9-7-1/204997 "2011-03-26T10:06:26Z")

</div>

The first maintainance release of uWSGI 0.9.7 is available fixed/improved python stackless support http://projects.unbit.it/uwsgi/wiki/AsyncSupport#SuspendResume added persistence for queue add --queue-store for…

---

## [404 Method Not Allowed when returning 500 error to POST request](https://www.ruby-forum.com/t/404-method-not-allowed-when-returning-500-error-to-post-request/204970)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 25, 2011, 10:21pm UTC](https://www.ruby-forum.com/t/404-method-not-allowed-when-returning-500-error-to-post-request/204970 "2011-03-25T22:21:22Z")

</div>

Hi there, I have what I consider to be an excellent configuration for how I’m handling error pages with nginx running as a load balancer reverse proxy in front of Apache. In a nutshell, if the upstream apache webserve…

---

## [Problem in first usage of nginx](https://www.ruby-forum.com/t/problem-in-first-usage-of-nginx/204916)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 25, 2011, 2:26pm UTC](https://www.ruby-forum.com/t/problem-in-first-usage-of-nginx/204916 "2011-03-25T14:26:56Z")

</div>

Hello, I have several questions about using NginX. After I first install nginx-0.8.41 in Ubuntu 8.04 system, with the default .conf file. I start nginx with 127.0.0.1:8000, however, I can not see the default we…

---

## [NginxHttpAuthBasicModule with Sinatra & Passenger](https://www.ruby-forum.com/t/nginxhttpauthbasicmodule-with-sinatra-passenger/185541)

<div class="topic-metadata">

**Author:** [@scainey](https://www.ruby-forum.com/u/scainey)\
**Replies:** 2\
**Last updated:** [March 25, 2011, 1:50pm UTC](https://www.ruby-forum.com/t/nginxhttpauthbasicmodule-with-sinatra-passenger/185541 "2011-03-25T13:50:34Z")

</div>

Hi, I’m serving static pages from a Sinatra application using Nginx & Phusion Passenger. I’ve implemented Basic Authentication for one page on the site using NginxHttpAuthBasicModule, the authentication succeeds but …

---

## [Re: problem in first usage of nginx](https://www.ruby-forum.com/t/re-problem-in-first-usage-of-nginx/204919)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 24, 2011, 9:49pm UTC](https://www.ruby-forum.com/t/re-problem-in-first-usage-of-nginx/204919 "2011-03-24T21:49:06Z")

</div>

Hello Alexander, I solved the first problem. But I still can not use chunkin module. I followed the exact step in your link. Following is the .configure result: yzhang@virus:~/nginx-0.8.41$ ./configure –add-module=…

---

## [.htaccess to nginx, how to make wp-minify work?](https://www.ruby-forum.com/t/htaccess-to-nginx-how-to-make-wp-minify-work/204874)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 24, 2011, 10:32am UTC](https://www.ruby-forum.com/t/htaccess-to-nginx-how-to-make-wp-minify-work/204874 "2011-03-24T10:32:02Z")

</div>

This is the .htaccess located on /wp-content/plugins/wp-minify/min/ : RewriteEngine on RewriteRule ^(\[a-z\]=.\*) index.php?$1 \[L,NE\] And I’m not able to figure out what should I put on my nginx configuration file, this…

---

## [Nginx redirect problem](https://www.ruby-forum.com/t/nginx-redirect-problem/204884)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 24, 2011, 9:24am UTC](https://www.ruby-forum.com/t/nginx-redirect-problem/204884 "2011-03-24T09:24:21Z")

</div>

here is the conf: server { listen 10.68.150.4:82; server\_name h.test.com; root /usr/www; location / { index index.html index.htm index.php; } error\_page 500 502 503 504 /50x.…

---

## [Nginx vc9 support](https://www.ruby-forum.com/t/nginx-vc9-support/204864)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 24, 2011, 7:42am UTC](https://www.ruby-forum.com/t/nginx-vc9-support/204864 "2011-03-24T07:42:55Z")

</div>

Hello since php 5.3.6 now uses vc9 to compile the source code can nginx do the same to have the integrity with latest PHP ? Posted at Nginx Forum:

---

## [Nginx cannot resolve specific host](https://www.ruby-forum.com/t/nginx-cannot-resolve-specific-host/204366)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 24, 2011, 3:28am UTC](https://www.ruby-forum.com/t/nginx-cannot-resolve-specific-host/204366 "2011-03-24T03:28:30Z")

</div>

Hi I have a weird problem with nginx. a specific host will not be resolved by nginx. \[error\] 9934#0: \*22920 fsdndm.fileserve.com could not be resolved (3: Host not found) the system has no problem resolving this hos…

---

## [Body\_bytes\_sent always 0](https://www.ruby-forum.com/t/body-bytes-sent-always-0/204879)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 24, 2011, 12:20am UTC](https://www.ruby-forum.com/t/body-bytes-sent-always-0/204879 "2011-03-24T00:20:36Z")

</div>

I’m trying to configure a post\_action to submit details of downloads to our app but when I do the body\_bytes\_sent is always 0 even after a successful download. The flow we have is:- external request proxy pass to ap…

---

## [Proxy\_pass\_header precedence over proxy\_hide\_header](https://www.ruby-forum.com/t/proxy-pass-header-precedence-over-proxy-hide-header/204875)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 8:02pm UTC](https://www.ruby-forum.com/t/proxy-pass-header-precedence-over-proxy-hide-header/204875 "2011-03-23T20:02:00Z")

</div>

Hi Everyone, I just spent a lot of time fighting with a misterious problem with the cache in one of our nginx servers. Problem was found and thought it would be nice to share what happened with everyone else so no on…

---

## [Problem with setting Virtual Hosts](https://www.ruby-forum.com/t/problem-with-setting-virtual-hosts/204869)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 23, 2011, 7:08pm UTC](https://www.ruby-forum.com/t/problem-with-setting-virtual-hosts/204869 "2011-03-23T19:08:43Z")

</div>

i need help :frowning: I wrote as the following site. http://wiki.nginx.org/VirtualHostExample here is my nginx.conf user www www; worker\_processes 1; error\_log /data/logs/nginx\_error.log crit; pid /opt/…

---

## [Developer Tools (5856)](https://www.ruby-forum.com/t/developer-tools-5856/204865)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 23, 2011, 4:26pm UTC](https://www.ruby-forum.com/t/developer-tools-5856/204865 "2011-03-23T16:26:34Z")

</div>

Discover How To Create IPhone Apps Easily With No Programming Experienced Required. Learn From Some Of The Top IPhone App Developers To Get Your App Created Now. For more detail visit:NameBright - Coming Soon. Posted…

---

## [Redirect based on hostname](https://www.ruby-forum.com/t/redirect-based-on-hostname/204860)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 23, 2011, 1:48pm UTC](https://www.ruby-forum.com/t/redirect-based-on-hostname/204860 "2011-03-23T13:48:01Z")

</div>

I’ve read the whole NginX wiki and couldn’t find a solution yet. So would you be so gentle to tell me how to do this. I have two (2) domains on the same website. Let’s say “www.first.com” and “www.second.com” The fro…

---

## [$ancient\_browser - always 1?](https://www.ruby-forum.com/t/ancient-browser-always-1/204850)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 23, 2011, 11:40am UTC](https://www.ruby-forum.com/t/ancient-browser-always-1/204850 "2011-03-23T11:40:14Z")

</div>

as per subject, I’m playing around with the http browser module right now, and I just can’t seem to get it to work. http://wiki.nginx.org/HttpBrowserModule itself seems confused as well. In the first part (“Selectio…

---

## [Disable memory buffer for file uploads](https://www.ruby-forum.com/t/disable-memory-buffer-for-file-uploads/204833)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 23, 2011, 11:17am UTC](https://www.ruby-forum.com/t/disable-memory-buffer-for-file-uploads/204833 "2011-03-23T11:17:38Z")

</div>

Hi, I’m using the latest version of Nginx, PHP/PHP-FPM on a Linux machine with 2GB of ram and plenty of hard disk space. My problem is this: when I upload a large (2GB, for exemple) file on my Web site, Nginx buffers…

---

## [MEPP - Enviroment local development web for mac with nginx, percona and php](https://www.ruby-forum.com/t/mepp-enviroment-local-development-web-for-mac-with-nginx-percona-and-php/204802)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 5:44am UTC](https://www.ruby-forum.com/t/mepp-enviroment-local-development-web-for-mac-with-nginx-percona-and-php/204802 "2011-03-22T05:44:53Z")

</div>

I’m writing an app for OSX that allows you to deploy a web development environment with nginx in minutes, more information: http://mepp.tumblr.com Posted at Nginx Forum:

---

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

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [March 22, 2011, 3:53am UTC](https://www.ruby-forum.com/t/proxy-logging/204798 "2011-03-22T03:53:01Z")

</div>

When nginx is used as a proxy, is it possible to log the complete http request (headers + body) of both the request and proxied response? The end goal is to log these values into a database. If I was able to shoot a …

---

## [Nginx-0.9.6](https://www.ruby-forum.com/t/nginx-0-9-6/226209)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [March 22, 2011, 3:14am UTC](https://www.ruby-forum.com/t/nginx-0-9-6/226209 "2011-03-22T03:14:16Z")

</div>

Changes with nginx 0.9.6 21 Mar 2011 \*) Feature: the "map" directive supports regular expressions as value of the first parameter. \*) Feature: $time\_iso8601 access\_log variab…

---

## [Nginx-0.9.6](https://www.ruby-forum.com/t/nginx-0-9-6/204780)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 21, 2011, 4:40pm UTC](https://www.ruby-forum.com/t/nginx-0-9-6/204780 "2011-03-21T16:40:01Z")

</div>

Changes with nginx 0.9.6 21 Mar 2011 \*) Feature: the "map" directive supports regular expressions as value of the first parameter. \*) Feature: $time\_iso8601 access\_log variab…

---

## [Surge 2011 Conference CFP](https://www.ruby-forum.com/t/surge-2011-conference-cfp/204769)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 21, 2011, 11:52am UTC](https://www.ruby-forum.com/t/surge-2011-conference-cfp/204769 "2011-03-21T11:52:10Z")

</div>

We are excited to announce Surge 2011, the Scalability and Performance Conference, to be held in Baltimore on Sept 28-30, 2011. The event focuses on case studies that demonstrate successes (and failures) in Web appli…

---

## [504 error Gateway Timeout](https://www.ruby-forum.com/t/504-error-gateway-timeout/204628)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [March 20, 2011, 11:19pm UTC](https://www.ruby-forum.com/t/504-error-gateway-timeout/204628 "2011-03-20T23:19:34Z")

</div>

HI; I’m using Nginx in a reverse proxy setup with Apache. I’m having a problem when I submit a large upload via php; while Mogrify is processing the photo upload, Nginx returns a 504 error - Gateway Timeout. I tried…

---

## [Fastcgi\_cache\_bypass still not working?](https://www.ruby-forum.com/t/fastcgi-cache-bypass-still-not-working/204753)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 20, 2011, 8:24pm UTC](https://www.ruby-forum.com/t/fastcgi-cache-bypass-still-not-working/204753 "2011-03-20T20:24:12Z")

</div>

I just wanted to know if there are any updates regarding the corrupted response headers: I am trying to use fastcgi\_cache\_bypass to request a fresh response from the PHP-FPM backend and store it in cache when $http\_n…

---

## [Status 401 Behaviour Issue](https://www.ruby-forum.com/t/status-401-behaviour-issue/204726)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 20, 2011, 5:22am UTC](https://www.ruby-forum.com/t/status-401-behaviour-issue/204726 "2011-03-20T05:22:51Z")

</div>

Hi all. I noticed a certain behaviour of the 401 status code response I will like to change. Firstly, in Apache, there is an html page for 401 that is defined in the error\_page equivalent. When the request for a prot…

---

## [Nginx reverse proxy must understand lighttpd rewrite rules](https://www.ruby-forum.com/t/nginx-reverse-proxy-must-understand-lighttpd-rewrite-rules/204735)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [March 20, 2011, 12:14am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-must-understand-lighttpd-rewrite-rules/204735 "2011-03-20T00:14:42Z")

</div>

Hi, Server 1: got lighttpd with rewrite rules (lighttpd rewrite rules) Server 2: got reverse proxy (no rewrite rules) When on server 2 as proxy serving lighttpd i dont have any rules in its config and it still unders…

---

## [100% CPU Usage (on all 8 cores)](https://www.ruby-forum.com/t/100-cpu-usage-on-all-8-cores/204702)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [March 19, 2011, 9:52pm UTC](https://www.ruby-forum.com/t/100-cpu-usage-on-all-8-cores/204702 "2011-03-19T21:52:06Z")

</div>

I have installed NGinX and struggled getting the server to work. It apparantly converts the httpd.conf and ports them to nginx vhosts. As many would know, the server upon starting would error out and die. I have sorte…

---

## [Active connection counter always increased (nginx 0.8.54)](https://www.ruby-forum.com/t/active-connection-counter-always-increased-nginx-0-8-54/204417)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 19, 2011, 9:08pm UTC](https://www.ruby-forum.com/t/active-connection-counter-always-increased-nginx-0-8-54/204417 "2011-03-19T21:08:14Z")

</div>

the active connection in nginx status is always increased, i am use rhel and nginx 0.8.54, the gcc and configure line: built by gcc 3.4.6 20060404 (Red Hat 3.4.6-10) configure arguments: --with-http\_gzip\_static\_module …

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

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