# Server

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

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

---

## [Basic\_auth plain text password](https://www.ruby-forum.com/t/basic-auth-plain-text-password/194767)

<div class="topic-metadata">

**Author:** [@Darius\_Damalakas](https://www.ruby-forum.com/u/Darius_Damalakas)\
**Replies:** 2\
**Last updated:** [September 10, 2010, 2:06pm UTC](https://www.ruby-forum.com/t/basic-auth-plain-text-password/194767 "2010-09-10T14:06:10Z")

</div>

Hi, I am running nginx/0.8.50, and i am using “auth\_basic” for basic authentication. Now what i have found so far is that it looks like nginx is treating the passwords as plain text. My basic idea is that Nginx do…

---

## [Help with Location Directives needed](https://www.ruby-forum.com/t/help-with-location-directives-needed/194778)

<div class="topic-metadata">

**Author:** [@tmsmaster](https://www.ruby-forum.com/u/tmsmaster)\
**Replies:** 0\
**Last updated:** [September 10, 2010, 11:53am UTC](https://www.ruby-forum.com/t/help-with-location-directives-needed/194778 "2010-09-10T11:53:16Z")

</div>

Hi, i am having some troubles with location directives. As only the first matching location directive is executed (if there is no rewrite of course) i have to do a little hack to get my config to work. This currently…

---

## [Proxy Feature Request](https://www.ruby-forum.com/t/proxy-feature-request/194700)

<div class="topic-metadata">

**Author:** [@mat\_h](https://www.ruby-forum.com/u/mat_h)\
**Replies:** 2\
**Last updated:** [September 10, 2010, 4:00am UTC](https://www.ruby-forum.com/t/proxy-feature-request/194700 "2010-09-10T04:00:21Z")

</div>

Ok first of all long time mailing list reader here, first time in a while ive sent something in. Ok, heres my request: A module that would allow for a partial proxy\_cache based on the last modified date returned by t…

---

## [SSI fails when the source is a proxy with a variable](https://www.ruby-forum.com/t/ssi-fails-when-the-source-is-a-proxy-with-a-variable/194725)

<div class="topic-metadata">

**Author:** [@Shish](https://www.ruby-forum.com/u/Shish)\
**Replies:** 1\
**Last updated:** [September 9, 2010, 7:49pm UTC](https://www.ruby-forum.com/t/ssi-fails-when-the-source-is-a-proxy-with-a-variable/194725 "2010-09-09T19:49:06Z")

</div>

I have two pylons processes running on my devbox, one is my app in production mode, one in development mode – I have dev-server.mydomain.com and www.mydomain.com both aliased to the devbox. Rather than have the nginx …

---

## [Default proxy\_cache\_key breaks SSI](https://www.ruby-forum.com/t/default-proxy-cache-key-breaks-ssi/194737)

<div class="topic-metadata">

**Author:** [@Shish](https://www.ruby-forum.com/u/Shish)\
**Replies:** 0\
**Last updated:** [September 9, 2010, 6:31pm UTC](https://www.ruby-forum.com/t/default-proxy-cache-key-breaks-ssi/194737 "2010-09-09T18:31:49Z")

</div>

The default proxy\_cache\_key is “$scheme$proxy\_host$request\_uri;” This means that when a non-cacheable page includes a cacheable part via SSI, the part is stored using the key of the main page, and the next person to v…

---

## [Cache manager process dies at start](https://www.ruby-forum.com/t/cache-manager-process-dies-at-start/194710)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Balduc](https://www.ruby-forum.com/u/JSSSSrSSSSme_Balduc)\
**Replies:** 0\
**Last updated:** [September 9, 2010, 11:17am UTC](https://www.ruby-forum.com/t/cache-manager-process-dies-at-start/194710 "2010-09-09T11:17:18Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://nginx.org/mailman/listinfo/nginx

---

## [Strange change in writing. (webserver)](https://www.ruby-forum.com/t/strange-change-in-writing-webserver/194557)

<div class="topic-metadata">

**Author:** [@heric](https://www.ruby-forum.com/u/heric)\
**Replies:** 7\
**Last updated:** [September 9, 2010, 5:43am UTC](https://www.ruby-forum.com/t/strange-change-in-writing-webserver/194557 "2010-09-09T05:43:02Z")

</div>

Hello! I use Nginx / fastcgi. See the graph of connections: Normal requests: Active connections: 2185 Reading: 94 Writing: 736 Waiting: 1355 Strange behavior: Active connections: 10893 Reading: 136 Writing: 945…

---

## [Help with open source project](https://www.ruby-forum.com/t/help-with-open-source-project/194677)

<div class="topic-metadata">

**Author:** [@Eugaia](https://www.ruby-forum.com/u/Eugaia)\
**Replies:** 2\
**Last updated:** [September 9, 2010, 12:18am UTC](https://www.ruby-forum.com/t/help-with-open-source-project/194677 "2010-09-09T00:18:11Z")

</div>

Hi guys, I hope nobody minds me asking for help in this way. I’m asking for help from programmers to help set up a unique open-source project that could benefit a great many people. The Tagmata Project’s three aims a…

---

## [HTTP Digest support?](https://www.ruby-forum.com/t/http-digest-support/124346)

<div class="topic-metadata">

**Author:** [@zenzei](https://www.ruby-forum.com/u/zenzei)\
**Replies:** 2\
**Last updated:** [September 8, 2010, 9:36pm UTC](https://www.ruby-forum.com/t/http-digest-support/124346 "2010-09-08T21:36:01Z")

</div>

Hi there, is it planned to add digest auth at some time ? It’s not that basic auth is not useful, but it’s pretty weak on replay attacks. Nowadays, every common browser supports digest auth so it would be really a pl…

---

## [Disable IP logging?](https://www.ruby-forum.com/t/disable-ip-logging/194672)

<div class="topic-metadata">

**Author:** [@kivala](https://www.ruby-forum.com/u/kivala)\
**Replies:** 0\
**Last updated:** [September 8, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/disable-ip-logging/194672 "2010-09-08T20:56:47Z")

</div>

Hi! I’d like to know if there’s a way to disable IP logging in Nginx; if I set a custom log and disable the IP logging it will disable the logging in the main log, but everything in error.log will still have IP logged …

---

## [Nginx-ey-balancer (Engine Yard patch to Nginx for max\_connections upstream)](https://www.ruby-forum.com/t/nginx-ey-balancer-engine-yard-patch-to-nginx-for-max-connections-upstream/194663)

<div class="topic-metadata">

**Author:** [@jlangevin](https://www.ruby-forum.com/u/jlangevin)\
**Replies:** 1\
**Last updated:** [September 8, 2010, 7:14pm UTC](https://www.ruby-forum.com/t/nginx-ey-balancer-engine-yard-patch-to-nginx-for-max-connections-upstream/194663 "2010-09-08T19:14:20Z")

</div>

So apparently Engine Y. has a patch for Nginx, called nginx-ey-balancer, to add a max\_connections directive for connections being passed upstream. The patch is to fix issues such as Mongrel backend servers being dropp…

---

## [Nginx-0.8.50](https://www.ruby-forum.com/t/nginx-0-8-50/194336)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 6\
**Last updated:** [September 8, 2010, 2:30pm UTC](https://www.ruby-forum.com/t/nginx-0-8-50/194336 "2010-09-08T14:30:53Z")

</div>

Changes with nginx 0.8.50 02 Sep 2010 \*) Feature: the "secure\_link", "secure\_link\_md5", and "secure\_link\_expires" directives of the ngx\_http\_secure\_link\_module. \*) Feature: …

---

## [Nginx + php-fpm "504 Gateway Time-out" error with almost zero load (on a test-server)](https://www.ruby-forum.com/t/nginx-php-fpm-504-gateway-time-out-error-with-almost-zero-load-on-a-test-server/194563)

<div class="topic-metadata">

**Author:** [@rahul286](https://www.ruby-forum.com/u/rahul286)\
**Replies:** 19\
**Last updated:** [September 8, 2010, 2:18pm UTC](https://www.ruby-forum.com/t/nginx-php-fpm-504-gateway-time-out-error-with-almost-zero-load-on-a-test-server/194563 "2010-09-08T14:18:00Z")

</div>

(note - this is reposting of - Nginx + php-fpm "504 Gateway Time-out" error with almost zero load (on a test-server)) Hi All, After debugging for 6-hours - I am giving this up :expressionless: We have a nginx+php-fpm…

---

## [Path-based reverse proxy](https://www.ruby-forum.com/t/path-based-reverse-proxy/194487)

<div class="topic-metadata">

**Author:** [@cantabile](https://www.ruby-forum.com/u/cantabile)\
**Replies:** 3\
**Last updated:** [September 8, 2010, 12:24pm UTC](https://www.ruby-forum.com/t/path-based-reverse-proxy/194487 "2010-09-08T12:24:26Z")

</div>

Hi all, I’m new to nginx and I’m looking for a path-based reverse-proxy. Here’s my setup. nginx server has $PUB\_IP, listening to port 80 I have two webservers with $IP1 and $IP2 I want to access my main server from …

---

## [Segfault in NGINX - testcase](https://www.ruby-forum.com/t/segfault-in-nginx-testcase/185433)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 9\
**Last updated:** [September 8, 2010, 6:26am UTC](https://www.ruby-forum.com/t/segfault-in-nginx-testcase/185433 "2010-09-08T06:26:45Z")

</div>

Hello, NGINX will segfault, if you delete the root node in an rbtree with two elements. Testcase: http://doppelbauer.name/nginx-testcase.c A patch is attached below. Thanks a lot Markus Doppelbauer \*\*\* a/core/ngx…

---

## [X-Accel-Redirect doesn't URL-decode paths](https://www.ruby-forum.com/t/x-accel-redirect-doesnt-url-decode-paths/194593)

<div class="topic-metadata">

**Author:** [@gustavo](https://www.ruby-forum.com/u/gustavo)\
**Replies:** 2\
**Last updated:** [September 7, 2010, 5:56pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-doesnt-url-decode-paths/194593 "2010-09-07T17:56:18Z")

</div>

Hello, I’m using the X-Accel-Redirect feature in Nginx, but it fails to send some files (returning a 404) because it does not URL-decode the requested path. It does work when the file name need not be URL-decoded. S…

---

## [GeoIp local countries](https://www.ruby-forum.com/t/geoip-local-countries/194582)

<div class="topic-metadata">

**Author:** [@soisita](https://www.ruby-forum.com/u/soisita)\
**Replies:** 1\
**Last updated:** [September 7, 2010, 5:11pm UTC](https://www.ruby-forum.com/t/geoip-local-countries/194582 "2010-09-07T17:11:47Z")

</div>

Hi, I’m new here and uses nginx for a couple of months as a reverse proxy for apache since I discovered this server (setup for magento website) I now need to localize my users, meaning redirecting german users to dom…

---

## [Forcing proxy-throughput](https://www.ruby-forum.com/t/forcing-proxy-throughput/194584)

<div class="topic-metadata">

**Author:** [@Flavio\_Torres](https://www.ruby-forum.com/u/Flavio_Torres)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 3:04pm UTC](https://www.ruby-forum.com/t/forcing-proxy-throughput/194584 "2010-09-07T15:04:43Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Please, I would like to know how can I rewrite and force proxy with nginx. For example: server-nginx → IIS-server (CMS) Web URL: Custom Application Development Sof…

---

## [Apache debate](https://www.ruby-forum.com/t/apache-debate/194583)

<div class="topic-metadata">

**Author:** [@jlangevin](https://www.ruby-forum.com/u/jlangevin)\
**Replies:** 1\
**Last updated:** [September 7, 2010, 2:33pm UTC](https://www.ruby-forum.com/t/apache-debate/194583 "2010-09-07T14:33:06Z")

</div>

While reading articles over the weekend about Nginx, I found a few of the typical Nginx vs Apache benchmarks. In every benchmark, someone always showed up to defend Apache’s appalling performance, and claim that Apach…

---

## [Nginx Reverse Proxy - HTTPsupport?](https://www.ruby-forum.com/t/nginx-reverse-proxy-httpsupport/194561)

<div class="topic-metadata">

**Author:** [@jlangevin](https://www.ruby-forum.com/u/jlangevin)\
**Replies:** 3\
**Last updated:** [September 7, 2010, 1:43pm UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-httpsupport/194561 "2010-09-07T13:43:55Z")

</div>

I’ve successfully configured Nginx on an Ubuntu 10.04 box, serving up a dynamic PHP website. We need to be able to reverse proxy this website, which I’ve also been able to do, as: www frontend (nginx reverse proxy) …

---

## [Hangup in epoll](https://www.ruby-forum.com/t/hangup-in-epoll/194568)

<div class="topic-metadata">

**Author:** [@jhauser](https://www.ruby-forum.com/u/jhauser)\
**Replies:** 1\
**Last updated:** [September 7, 2010, 10:38am UTC](https://www.ruby-forum.com/t/hangup-in-epoll/194568 "2010-09-07T10:38:54Z")

</div>

Hello, with recent versions of nginx (0.8.47 - 0.8.49) we had hangups of all nginx processes, which could even not killed. This happend during low-traffic hours. In the kernel-logs we found: Sep 7 05:02:00 www06 kern…

---

## [Nginx as reverse proxy to Hudson-Logout issue](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-to-hudson-logout-issue/194216)

<div class="topic-metadata">

**Author:** [@mogaroy](https://www.ruby-forum.com/u/mogaroy)\
**Replies:** 6\
**Last updated:** [September 7, 2010, 10:26am UTC](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-to-hudson-logout-issue/194216 "2010-09-07T10:26:01Z")

</div>

Hello list, I have configured nginx as a reverse proxy to our hudson build server as follows: \[b\]server { listen 80; server\_name koala.proxy.internal; location /hudson/ { proxy\_pass http://build.exa…

---

## [2010/09/06 17:19:31 1060#0: unknown directive "geoip\_country" in /usr/local/etc/nginx/nginx.conf:16](https://www.ruby-forum.com/t/2010-09-06-1731-1060-0-unknown-directive-geoip-country-in-usr-local-etc-nginx-nginx-conf-16/194531)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [September 6, 2010, 9:51pm UTC](https://www.ruby-forum.com/t/2010-09-06-1731-1060-0-unknown-directive-geoip-country-in-usr-local-etc-nginx-nginx-conf-16/194531 "2010-09-06T21:51:35Z")

</div>

Hi, I did compile in the geo\_ip module: (rproxy \<~\>) 0 # strings /usr/local/sbin/nginx |grep geo configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt=’-I /usr/local/include’ --with-ld-opt=’-L /usr/local/…

---

## [Problem about config one virtual host with separated server blocks](https://www.ruby-forum.com/t/problem-about-config-one-virtual-host-with-separated-server-blocks/194521)

<div class="topic-metadata">

**Author:** [@speedfirst](https://www.ruby-forum.com/u/speedfirst)\
**Replies:** 3\
**Last updated:** [September 6, 2010, 4:52pm UTC](https://www.ruby-forum.com/t/problem-about-config-one-virtual-host-with-separated-server-blocks/194521 "2010-09-06T16:52:23Z")

</div>

Is it possible to write a config like this? server { server\_name www.example.com; location / { … } } server { server\_name www.example.com; listen 143; ssl on; ssl\_certificate example.crt; ssl\_certificate\_key …

---

## [Re: Problem with Firefox](https://www.ruby-forum.com/t/re-problem-with-firefox/194517)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/re-problem-with-firefox/194517 "2010-09-06T16:39:55Z")

</div>

Change it to: server\_name mydomain.com www.mydomain.com; -Kevin

---

## [Basic Example: WordPress Proxy Caching with FastCGI](https://www.ruby-forum.com/t/basic-example-wordpress-proxy-caching-with-fastcgi/194512)

<div class="topic-metadata">

**Author:** [@miradev](https://www.ruby-forum.com/u/miradev)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/basic-example-wordpress-proxy-caching-with-fastcgi/194512 "2010-09-06T16:39:53Z")

</div>

I would like to add caching to various wordpress installations (some bloggy, some not). There are no caching plugins installed, as I’d like nginx to handle the caching. The current setup is fairly basic: server { l…

---

## [Nginx capping at 320 requests per second](https://www.ruby-forum.com/t/nginx-capping-at-320-requests-per-second/193875)

<div class="topic-metadata">

**Author:** [@dpn](https://www.ruby-forum.com/u/dpn)\
**Replies:** 11\
**Last updated:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/nginx-capping-at-320-requests-per-second/193875 "2010-09-06T16:39:49Z")

</div>

Hey, we run a website of fairly decent volume… up to nearly 4m pageviews a day. At the moment we run a single machine with nginx and mysql and two worker machines with memcached and tornado instances. The nginx server …

---

## [Problem with Firefox](https://www.ruby-forum.com/t/problem-with-firefox/194479)

<div class="topic-metadata">

**Author:** [@bhkien](https://www.ruby-forum.com/u/bhkien)\
**Replies:** 0\
**Last updated:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/problem-with-firefox/194479 "2010-09-06T16:39:41Z")

</div>

Hi, I install NginX 0.8.50 on my server. It works OK with Internet Explorer, Chrome but on FireFox the website does not work without www. My virtual host config below server { listen 80; server\_name mydomai…

---

## [Nginx 0.8.45-0.8.49 segfault bug](https://www.ruby-forum.com/t/nginx-0-8-45-0-8-49-segfault-bug/194238)

<div class="topic-metadata">

**Author:** [@zhijianpeng](https://www.ruby-forum.com/u/zhijianpeng)\
**Replies:** 10\
**Last updated:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/nginx-0-8-45-0-8-49-segfault-bug/194238 "2010-09-06T16:39:28Z")

</div>

url may cause nginx work process crash the code in src/http/ngx\_http\_request.c:ngx\_http\_free\_request r-\>upstream may be a NULL pointer #0 0x000000000042b368 in ngx\_http\_free\_request (r=0x13b60c20, rc=0) at src/http/…

---

## [Proxying SMTP+SSL to SSL-unaware mail server](https://www.ruby-forum.com/t/proxying-smtp-ssl-to-ssl-unaware-mail-server/194355)

<div class="topic-metadata">

**Author:** [@kgoj](https://www.ruby-forum.com/u/kgoj)\
**Replies:** 1\
**Last updated:** [September 5, 2010, 7:05pm UTC](https://www.ruby-forum.com/t/proxying-smtp-ssl-to-ssl-unaware-mail-server/194355 "2010-09-05T19:05:05Z")

</div>

Hi, Is there a way to make nginx handle all the SSL/STARTTLS and proxy the traffic to SSL-unaware SMTP server? How do I tell nginx not to use SSL when talking to other server, even if e-mail client does use SSL when …

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

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