# Server

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

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

---

## [Unknown directive "uwsgi\_pass"](https://www.ruby-forum.com/t/unknown-directive-uwsgi-pass/197826)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 21, 2010, 12:45am UTC](https://www.ruby-forum.com/t/unknown-directive-uwsgi-pass/197826 "2010-10-21T00:45:23Z")

</div>

Hello, I’m new to nginx. We are migrating from Apache to Nginx and I’m having this problem when I tried to configure Nginx, uwsgi and django. \[emerg\]: unknown directive “uwsgi\_pass” in /etc/nginx/nginx.conf:156 confi…

---

## [Some download hangs with nginx-0.8.52](https://www.ruby-forum.com/t/some-download-hangs-with-nginx-0-8-52/197824)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 9:19pm UTC](https://www.ruby-forum.com/t/some-download-hangs-with-nginx-0-8-52/197824 "2010-10-20T21:19:40Z")

</div>

This happens only with nginx-0.8.52, not 0.7.67. It seems a little weird and happens intermittently. In Firefox, when clicking download a file, it just hangs there. In nginx logs, I can’t see any indication that it’s …

---

## [0.8.53 reports incorrect version](https://www.ruby-forum.com/t/0-8-53-reports-incorrect-version/197740)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 20, 2010, 4:02pm UTC](https://www.ruby-forum.com/t/0-8-53-reports-incorrect-version/197740 "2010-10-20T16:02:38Z")

</div>

After updating to 0.8.53 (via Launchpad PPA), version still reports as 0.8.52. Anyone else noticed this? Cheers, Phil.

---

## [Question on redundant nginx reverse proxy setup](https://www.ruby-forum.com/t/question-on-redundant-nginx-reverse-proxy-setup/197800)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 20, 2010, 2:07pm UTC](https://www.ruby-forum.com/t/question-on-redundant-nginx-reverse-proxy-setup/197800 "2010-10-20T14:07:11Z")

</div>

Hi, I’m planning to set up this environment: ±------------+ ±------------+ | ISP1 | | ISP2 | ±------------+ ±------------+ | | ±------…

---

## [Fwd: nginx support for http/1.1 backend](https://www.ruby-forum.com/t/fwd-nginx-support-for-http-1-1-backend/197786)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [October 20, 2010, 7:28am UTC](https://www.ruby-forum.com/t/fwd-nginx-support-for-http-1-1-backend/197786 "2010-10-20T07:28:28Z")

</div>

Ive used that solution in the past, I dont consider it viable. Anyone here have experience with echo async subrequest, any idea if it could do the same? On Wed, Oct 20, 2010 at 12:04 AM, Ryan M. removed\_email\_address…

---

## [Safari intermittently hangs when loading FCGI request](https://www.ruby-forum.com/t/safari-intermittently-hangs-when-loading-fcgi-request/197688)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [October 19, 2010, 4:06pm UTC](https://www.ruby-forum.com/t/safari-intermittently-hangs-when-loading-fcgi-request/197688 "2010-10-19T16:06:49Z")

</div>

As you can see in attached debug log there is ±20 second delay before returning the page to Safari 5.0.2. Profiling PHP-FPM and PHP script itself show that they render under 0.03 seconds. The connection stall is not h…

---

## [Basic auth for specific controller](https://www.ruby-forum.com/t/basic-auth-for-specific-controller/197651)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 19, 2010, 3:11pm UTC](https://www.ruby-forum.com/t/basic-auth-for-specific-controller/197651 "2010-10-19T15:11:51Z")

</div>

Hi, we would like to provide basic auth for specific rails controllers (/stats …) with nginx (and passenger). We tried the following. server { listen 80; server\_name www.myapp.de; root /home/deployer/myapp/public; …

---

## [Nginx support for http/1.1 backend](https://www.ruby-forum.com/t/nginx-support-for-http-1-1-backend/197656)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [October 19, 2010, 3:06pm UTC](https://www.ruby-forum.com/t/nginx-support-for-http-1-1-backend/197656 "2010-10-19T15:06:01Z")

</div>

Hello, I’m using nginx as a reverse proxy, and the backend server only supports http/1.1 connections. It silently drops all http/1.0 connections. Is there any way to get nginx talk http/1.1 to the backend? Any patch…

---

## [Nginx replacing body content](https://www.ruby-forum.com/t/nginx-replacing-body-content/197690)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 19, 2010, 6:42am UTC](https://www.ruby-forum.com/t/nginx-replacing-body-content/197690 "2010-10-19T06:42:12Z")

</div>

Hello all: So I have been using nginx for a while now for various types of proxying and SSL acceleration all with great success. However now I need to replace specific content within an html body. I have been trying …

---

## [Nginx causes cpu burst problem when it is received USR1 signal by logrotate script](https://www.ruby-forum.com/t/nginx-causes-cpu-burst-problem-when-it-is-received-usr1-signal-by-logrotate-script/197648)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 19, 2010, 4:36am UTC](https://www.ruby-forum.com/t/nginx-causes-cpu-burst-problem-when-it-is-received-usr1-signal-by-logrotate-script/197648 "2010-10-19T04:36:02Z")

</div>

Hi, I’m using nginx/0.7.67 on the freebsd-6.4 $ nginx -V nginx version: nginx/0.7.67 built by gcc 2.95.3 20010315 (release) configure arguments: --prefix=/usr/local –conf-path=/usr/local/conf/nginx/nginx.conf –pid…

---

## [Issue/Bug with USR1 signal, and unnecessary chowning of log files](https://www.ruby-forum.com/t/issue-bug-with-usr1-signal-and-unnecessary-chowning-of-log-files/197655)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 18, 2010, 2:37pm UTC](https://www.ruby-forum.com/t/issue-bug-with-usr1-signal-and-unnecessary-chowning-of-log-files/197655 "2010-10-18T14:37:05Z")

</div>

I have found that when sending USR1 signal to Nginx that Nginx chowns the log files even if log files already exist and are already writable (but have different user/group). Let me elaborate on the situation: Nginx r…

---

## [Nginx-0.8.53](https://www.ruby-forum.com/t/nginx-0-8-53/197653)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [October 18, 2010, 2:11pm UTC](https://www.ruby-forum.com/t/nginx-0-8-53/197653 "2010-10-18T14:11:53Z")

</div>

Changes with nginx 0.8.53 18 Oct 2010 \*) Feature: now the "error\_page" directive allows to change a status code in a redirect. \*) Feature: the "gzip\_disable" directive support…

---

## [Php fastcgi main/common config](https://www.ruby-forum.com/t/php-fastcgi-main-common-config/197433)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 18, 2010, 11:22am UTC](https://www.ruby-forum.com/t/php-fastcgi-main-common-config/197433 "2010-10-18T11:22:39Z")

</div>

Hello! Is there any main/common configuration for fastcgi php under nginx? I mean this days I use the following configuration (thanks again Igor for the alias idea): server { listen 80; location / { root /www/ho…

---

## [Unable to use CHIVE MySQL database management tool](https://www.ruby-forum.com/t/unable-to-use-chive-mysql-database-management-tool/197499)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 6\
**Last updated:** [October 18, 2010, 6:34am UTC](https://www.ruby-forum.com/t/unable-to-use-chive-mysql-database-management-tool/197499 "2010-10-18T06:34:09Z")

</div>

Currently use linode server. Ubuntu 10.04, nginx 0.8.52, PHP-fpm, I try to create subdomain for Chive. but it doesn’t to work. Cant access database at all. When i try with SQL buddy it work but my boss like Chive bett…

---

## [Using nginx as load balanced for outgoing mail](https://www.ruby-forum.com/t/using-nginx-as-load-balanced-for-outgoing-mail/197506)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 18, 2010, 5:15am UTC](https://www.ruby-forum.com/t/using-nginx-as-load-balanced-for-outgoing-mail/197506 "2010-10-18T05:15:51Z")

</div>

Hi Could you tell, please, is it reasonable (and is it possible at all) use nginx as load balanced for set of MTAs? I would like to setup set of exim’s on several hosts. Client application will send mail to nginx, an…

---

## [Tracking the start and complete of a download?](https://www.ruby-forum.com/t/tracking-the-start-and-complete-of-a-download/197544)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [October 18, 2010, 2:49am UTC](https://www.ruby-forum.com/t/tracking-the-start-and-complete-of-a-download/197544 "2010-10-18T02:49:07Z")

</div>

How could I configure nginx so that when a download is started and when it completes, it makes a HTTP GET request to another web server? e.g. User requests http://nginx.com/download/file.zip?data=123456 (the filen…

---

## [Unexpected error response](https://www.ruby-forum.com/t/unexpected-error-response/197638)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 18, 2010, 2:34am UTC](https://www.ruby-forum.com/t/unexpected-error-response/197638 "2010-10-18T02:34:07Z")

</div>

I’m using Nginx as a front end proxy and have some config that checks for a file called /maintenance.html and shows that if it’s present. As our app is quite Ajaxy I would like return a 503 status when the /maintenanc…

---

## [Deny by ip and redirect](https://www.ruby-forum.com/t/deny-by-ip-and-redirect/197625)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 15\
**Last updated:** [October 17, 2010, 10:54pm UTC](https://www.ruby-forum.com/t/deny-by-ip-and-redirect/197625 "2010-10-17T22:54:23Z")

</div>

hi all, I’d like to only allow a certain set of ip addresses to access one of our test sites, and redirect anyone with a different ip address to our primary domain. location / { allow 1.1.1.1; deny all; } The a…

---

## [A question of fastcgi\_pass method](https://www.ruby-forum.com/t/a-question-of-fastcgi-pass-method/197615)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 17, 2010, 3:23pm UTC](https://www.ruby-forum.com/t/a-question-of-fastcgi-pass-method/197615 "2010-10-17T15:23:22Z")

</div>

HI, I’m a chinese ,sorry for my poor english. I’m new to nginx. I have installed nginx 0.7.67 ,and installed flup ,web.py to use python . I writer a simple test.py file ,and just run : python test.py . VIsit ht…

---

## [Bug: HttpProxyModule doesn't report errors using proxy\_temp](https://www.ruby-forum.com/t/bug-httpproxymodule-doesnt-report-errors-using-proxy-temp/197609)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 17, 2010, 11:11am UTC](https://www.ruby-forum.com/t/bug-httpproxymodule-doesnt-report-errors-using-proxy-temp/197609 "2010-10-17T11:11:28Z")

</div>

If HttpProxyModule can’t write to the directories inside proxy\_temp (eg they are owned by root not server uid) then requests for URLs of large size fail after 102400 bytes, they hang in the client, then timeout and no…

---

## [(update) bug: HttpProxyModule doesn't report errors using proxy\_temp](https://www.ruby-forum.com/t/update-bug-httpproxymodule-doesnt-report-errors-using-proxy-temp/197610)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 17, 2010, 8:12am UTC](https://www.ruby-forum.com/t/update-bug-httpproxymodule-doesnt-report-errors-using-proxy-temp/197610 "2010-10-17T08:12:49Z")

</div>

Sorry I wrote too soon, there were errors in the log. Still, I believe nginx -t should test for valid (usable) directories before starting to avoid running badly. ---------- Forwarded message ---------- From: jb remo…

---

## [X-Accel-Redirect](https://www.ruby-forum.com/t/x-accel-redirect/194654)

<div class="topic-metadata">

**Author:** [@rovervr](https://www.ruby-forum.com/u/rovervr)\
**Replies:** 11\
**Last updated:** [October 16, 2010, 7:19pm UTC](https://www.ruby-forum.com/t/x-accel-redirect/194654 "2010-10-16T19:19:58Z")

</div>

Hi everyone, I got a server which serves Data to a client ( in my case MP3s ). The MP3s are saved in a storage directory in the form Artist - Title.mp3 I’m using X-Accel-Redirect to serve the files from the storage di…

---

## [Nothing in Conf.d](https://www.ruby-forum.com/t/nothing-in-conf-d/197505)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 15, 2010, 10:39pm UTC](https://www.ruby-forum.com/t/nothing-in-conf-d/197505 "2010-10-15T22:39:44Z")

</div>

Hello. I’m new to Nginx - & set it up a week or so ago… (with Codeigniter / PHP)… Having problems. Anyway, I tried tonight. & see I have a directory of \\etc\\nginx\\conf.d with nothing in it. Is this folder a pla…

---

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

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [October 15, 2010, 3:13am UTC](https://www.ruby-forum.com/t/re-image-hosting/197453 "2010-10-15T03:13:17Z")

</div>

Hi Maxim, With this config, my iowait in increasing. 38.4%wa before that, maximum is about 15%wa From: Indo P. removed\_email\_address@domain.invalid To: removed\_email\_address@domain.invalid Sent: Thu, October 14, 2…

---

## [Best way to cache static files](https://www.ruby-forum.com/t/best-way-to-cache-static-files/197458)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 14, 2010, 6:38pm UTC](https://www.ruby-forum.com/t/best-way-to-cache-static-files/197458 "2010-10-14T18:38:52Z")

</div>

What is the preferred way to cache static files these days? (i.e. ccs/js) Recompile with slowfs module Serve css/js through php backend and use fastcgi\_cache Create additional nginx localhost server and proxy\_cache fr…

---

## [Variable $1 is Empty](https://www.ruby-forum.com/t/variable-1-is-empty/197438)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 14, 2010, 6:16pm UTC](https://www.ruby-forum.com/t/variable-1-is-empty/197438 "2010-10-14T18:16:53Z")

</div>

Hi everyone, This is my first time installing nginx. I install it on my Debian 5.0.3 VPS and use Debian’s repository to install it (version: 0.6.32). I’m having problem with using regular expression at server\_name. H…

---

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

<div class="topic-metadata">

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

</div>

It’s almost 400GB striped size.

---

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

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 3:38pm UTC](https://www.ruby-forum.com/t/re-image-hosting/197445 "2010-10-14T15:38:03Z")

</div>

I’m using ubuntu. Will try to upgrade worker process

---

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

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 3:37pm UTC](https://www.ruby-forum.com/t/re-image-hosting/197443 "2010-10-14T15:37:25Z")

</div>

The disk are 6x73GB in scsi 15K RPM…

---

## [Nginx-0.8.51](https://www.ruby-forum.com/t/nginx-0-8-51/195646)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 10\
**Last updated:** [October 14, 2010, 10:51am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646 "2010-10-14T10:51:11Z")

</div>

Changes with nginx 0.8.51 27 Sep 2010 \*) Change: the "secure\_link\_expires" directive has been canceled. \*) Change: a logging level of resolver errors has been lowered from "al…

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

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