# Server

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

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

---

## [HTTP Redis, SSI and error log](https://www.ruby-forum.com/t/http-redis-ssi-and-error-log/202104)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 24, 2011, 9:33am UTC](https://www.ruby-forum.com/t/http-redis-ssi-and-error-log/202104 "2011-01-24T09:33:36Z")

</div>

Hello, I am trying to use the http redis module for nginx basically like : set $redis\_key "$key"; redis\_pass redisbackend; default\_type text/html; error\_page 404 502 504 = @fallback; But I have a curious message in e…

---

## [Request\_uri escaping "//" to "/"](https://www.ruby-forum.com/t/request-uri-escaping-to/202175)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 5:57am UTC](https://www.ruby-forum.com/t/request-uri-escaping-to/202175 "2011-01-24T05:57:17Z")

</div>

Hi, I’ve setup nginx to host a local site xxx.com When I click on the link ‘XXX Sex - Free Porn Videos at XXX.com’, inside sinatra the env path\_info becomes /api/https:/bam.com/ instead of /api/https://bam.com/. Has…

---

## [IPv4+IPv6 SSL](https://www.ruby-forum.com/t/ipv4-ipv6-ssl/202170)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 24, 2011, 1:37am UTC](https://www.ruby-forum.com/t/ipv4-ipv6-ssl/202170 "2011-01-24T01:37:46Z")

</div>

I switched on ipv6, this domain uses ipv4+ssl without issue, however when I use ipv6 with the same domain I get an error (only occurs from an ipv6 connection) SSL received a record that exceeded the maximum permissibl…

---

## [Virtual Document Root](https://www.ruby-forum.com/t/virtual-document-root/202124)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 22, 2011, 8:52am UTC](https://www.ruby-forum.com/t/virtual-document-root/202124 "2011-01-22T08:52:45Z")

</div>

Hello All, Is there a configuration for Nginx that is comparable to Apache’s VirtualDocumentRoot? For example, in an Apache vhost conf file I can have “VirtualDocumentRoot /var/www/html/\_%-2.0.%-1.0/%-3/%-4+/current/…

---

## [Unable to bind using ipv6](https://www.ruby-forum.com/t/unable-to-bind-using-ipv6/202114)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 21, 2011, 11:42pm UTC](https://www.ruby-forum.com/t/unable-to-bind-using-ipv6/202114 "2011-01-21T23:42:08Z")

</div>

http://pastebin.com/raw.php?i=hby7CsDs Using Ubuntu 10.10, As soon as I change the line back to “Listen 80;” nginx works fine. \[emerg\]: bind() to 0.0.0.0:80 failed (98: Address already in use) \[emerg\]: bind() to 0.0…

---

## [Skipping the proxy cache based on a cookie?](https://www.ruby-forum.com/t/skipping-the-proxy-cache-based-on-a-cookie/201066)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 25\
**Last updated:** [January 21, 2011, 10:18pm UTC](https://www.ruby-forum.com/t/skipping-the-proxy-cache-based-on-a-cookie/201066 "2011-01-21T22:18:43Z")

</div>

Hi everyone, I’m looking into setting up nginx as a proxy cache. I was wondering if someone can elaborate a bit about ways to bypass the cache in certain requests. For example, I’d like every new user to go to the ba…

---

## [Introducing Nginx Guts blog](https://www.ruby-forum.com/t/introducing-nginx-guts-blog/202082)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [January 21, 2011, 8:55pm UTC](https://www.ruby-forum.com/t/introducing-nginx-guts-blog/202082 "2011-01-21T20:55:13Z")

</div>

Greetings! Nginx is growing, people are becoming more curious about it’s internals. During the last 4 years I’ve been on a fantastic journey into programming for Nginx, studying how things are working in this amazing …

---

## [IE6 problems when using gzip\_disable](https://www.ruby-forum.com/t/ie6-problems-when-using-gzip-disable/202059)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [January 21, 2011, 5:55pm UTC](https://www.ruby-forum.com/t/ie6-problems-when-using-gzip-disable/202059 "2011-01-21T17:55:01Z")

</div>

Hello- I am new to nginx, so this may be a silly question. I set up gzip with the recommended ‘gzip\_disable “MSIE \[1-6\].”’ parameter. But this results in long delays and/or “IE cannot download” errors when used with …

---

## [Infinite loop after compiled with debug mode in nginx-0.8.54?](https://www.ruby-forum.com/t/infinite-loop-after-compiled-with-debug-mode-in-nginx-0-8-54/202092)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 4:21pm UTC](https://www.ruby-forum.com/t/infinite-loop-after-compiled-with-debug-mode-in-nginx-0-8-54/202092 "2011-01-21T16:21:20Z")

</div>

Hello, I compiled nginx-0.8.54 with debug mode, also with ssl and secure download modules. As long as I started a file download, download is finished, but in the error.log, there seems to be an infinite loop to repea…

---

## [Nginx-0.9.4](https://www.ruby-forum.com/t/nginx-0-9-4/202083)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 21, 2011, 12:37pm UTC](https://www.ruby-forum.com/t/nginx-0-9-4/202083 "2011-01-21T12:37:34Z")

</div>

Changes with nginx 0.9.4 21 Jan 2011 \*) Feature: the "server\_name" directive supports the $hostname variable. \*) Feature: 494 code for "Request Header Too Large" error. – Ig…

---

## [Nngix maybe dead lock in ngnix\_event\_timer](https://www.ruby-forum.com/t/nngix-maybe-dead-lock-in-ngnix-event-timer/202081)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 21, 2011, 11:46am UTC](https://www.ruby-forum.com/t/nngix-maybe-dead-lock-in-ngnix-event-timer/202081 "2011-01-21T11:46:37Z")

</div>

In file src/event/ngx\_event\_timer.c: function: void ngx\_event\_expire\_timers (void) { … … for ( ;; ) { \[color=#FF0000\]ngx\_mutex\_lock(ngx\_event\_timer\_mutex);\[/color\] root = ngx\_event\_timer\_rbtree.root; …

---

## [Nginx reload causing dropped requests](https://www.ruby-forum.com/t/nginx-reload-causing-dropped-requests/202073)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [January 21, 2011, 9:27am UTC](https://www.ruby-forum.com/t/nginx-reload-causing-dropped-requests/202073 "2011-01-21T09:27:31Z")

</div>

Hi, I’m seeing dropped requests on nginx reload. I’m using 0.8.53 compiled from source. My configuration is nginx as a proxy in front of (currently) 2 apache servers. It looks like if a client reuses a connection …

---

## [Fastcgi\_split\_path\_info capture group bug?](https://www.ruby-forum.com/t/fastcgi-split-path-info-capture-group-bug/202067)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 20, 2011, 11:35pm UTC](https://www.ruby-forum.com/t/fastcgi-split-path-info-capture-group-bug/202067 "2011-01-20T23:35:19Z")

</div>

I’m running nginx v0.8.54 (latest stable), and I’m having issues with fastcgi\_split\_path\_info passing the query parameters into PATH\_INFO e.g., http://example.com/index.php/foo/bar/?id=1 breaks is passed to fcgi as S…

---

## [Nginx, PATH\_INFO, and url-rewriting: i must be missing something](https://www.ruby-forum.com/t/nginx-path-info-and-url-rewriting-i-must-be-missing-something/201962)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 20, 2011, 11:14pm UTC](https://www.ruby-forum.com/t/nginx-path-info-and-url-rewriting-i-must-be-missing-something/201962 "2011-01-20T23:14:00Z")

</div>

I’m switching from Apache to Nginx/fcgi and I’m having a small issue while attempting to setup the applications rewrite rules. The code handles routes via the use of PATH\_INFO, e.g., example.com/foo/bar/ will be route…

---

## [What is apache proxy ProxyHTMLURLMap prototype at nginx proxy?](https://www.ruby-forum.com/t/what-is-apache-proxy-proxyhtmlurlmap-prototype-at-nginx-proxy/202055)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 20, 2011, 9:34pm UTC](https://www.ruby-forum.com/t/what-is-apache-proxy-proxyhtmlurlmap-prototype-at-nginx-proxy/202055 "2011-01-20T21:34:04Z")

</div>

Apapche Proxy Support ProxyHTMLURLMap , can be change Absolute path in html content. code: ProxyRequests Off ProxyHTMLExtended On ProxyPass /test1/ http://10.1.1.1/ ProxyPassReverse / ProxyHTMLURLMap http://10.1.1…

---

## [Problem with Nginx returning correct content, but with 404](https://www.ruby-forum.com/t/problem-with-nginx-returning-correct-content-but-with-404/202054)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 20, 2011, 6:05pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-returning-correct-content-but-with-404/202054 "2011-01-20T18:05:48Z")

</div>

Hello, We have a setup where we have requests coming into a cache server which is in front of an app server. The requests hit nginx on the cache server, which makes the request to a process running on the cache serve…

---

## [Get a variable value in my module](https://www.ruby-forum.com/t/get-a-variable-value-in-my-module/202039)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 20, 2011, 10:45am UTC](https://www.ruby-forum.com/t/get-a-variable-value-in-my-module/202039 "2011-01-20T10:45:11Z")

</div>

Hello, I have problem with getting the value of a variable from nginx conf file in my module - $arg\_u. Code in my module seems like: { ngx\_string(“ap\_filter\_sessionid”), NGX\_HTTP\_MAIN\_CONF|NGX\_HTTP\_SRV\_CONF|NGX\_HTTP…

---

## [Ngx\_lua v0.1.3: improved Solaris and Mac portability](https://www.ruby-forum.com/t/ngx-lua-v0-1-3-improved-solaris-and-mac-portability/201925)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 20, 2011, 7:26am UTC](https://www.ruby-forum.com/t/ngx-lua-v0-1-3-improved-solaris-and-mac-portability/201925 "2011-01-20T07:26:15Z")

</div>

Hi, folks! I’m delighted to announce that ngx\_lua v0.1.3 has been released. You can download the tarball from the following download page: https://github.com/chaoslawful/lua-nginx-module/downloads In this version, we…

---

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

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 24\
**Last updated:** [January 20, 2011, 12:25am UTC](https://www.ruby-forum.com/t/nginx-0-8-53-segfault/201687 "2011-01-20T00:25:50Z")

</div>

I noticed that nginx segfaulting while serving large files like .avi or .flv tail -f /var/log/kern.log: Jan 13 00:10:36 hvosting nginx\[5068\]: segfault at e8 ip 0808aeeb sp bd565c80 error 4 in nginx\[8048000+60000\] Jan…

---

## [Trying to use and understand satisfy any](https://www.ruby-forum.com/t/trying-to-use-and-understand-satisfy-any/202007)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 20, 2011, 12:13am UTC](https://www.ruby-forum.com/t/trying-to-use-and-understand-satisfy-any/202007 "2011-01-20T00:13:19Z")

</div>

Hi, Trying to do something like this: server { listen… server\_name… root… location / { satisfy any; allow 1.2.3.4; deny all; auth\_basic “closed site”; auth\_basic\_user\_file conf/userFile; index index.php; e…

---

## [2 rails app on the same domain](https://www.ruby-forum.com/t/2-rails-app-on-the-same-domain/200259)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [January 19, 2011, 4:58pm UTC](https://www.ruby-forum.com/t/2-rails-app-on-the-same-domain/200259 "2011-01-19T16:58:13Z")

</div>

Hi, I have 2 app. One one www.mysite.com and the second one on www.mysite.com/alerts I have an issue with the routes on the second app. The Rails app thinks “/alerts” is in my routes, whereas it should be the root of…

---

## [Full Filename Directory Listing](https://www.ruby-forum.com/t/full-filename-directory-listing/194006)

<div class="topic-metadata">

**Author:** [@mindfrost82](https://www.ruby-forum.com/u/mindfrost82)\
**Replies:** 1\
**Last updated:** [January 19, 2011, 2:37am UTC](https://www.ruby-forum.com/t/full-filename-directory-listing/194006 "2011-01-19T02:37:51Z")

</div>

I have a nginx server setup and everything is working fine. I have a virtual server setup which allows directory listing (autoindex on;). It appears to truncate the file names at around 50 characters. Is it possible …

---

## [Change server name](https://www.ruby-forum.com/t/change-server-name/201964)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 18, 2011, 11:28pm UTC](https://www.ruby-forum.com/t/change-server-name/201964 "2011-01-18T23:28:00Z")

</div>

Hi all! I need to know how I can change the server name in the tags. Server nginx/0.8.53 Thanks Jorge Posted at Nginx Forum:

---

## [Nginx doesnt start](https://www.ruby-forum.com/t/nginx-doesnt-start/201963)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 18, 2011, 10:39pm UTC](https://www.ruby-forum.com/t/nginx-doesnt-start/201963 "2011-01-18T22:39:01Z")

</div>

Hi all, after install nginx using EPEL (yum install nginx) in CentOS 5.5. I tried to start the server, but I got this error: 2011/01/18 15:56:58 \[emerg\] 2139#0: eventfd() failed (38: Function not implemented) 2011/01…

---

## [502 Bad Gateway - Nginx + PHP-FPM](https://www.ruby-forum.com/t/502-bad-gateway-nginx-php-fpm/194986)

<div class="topic-metadata">

**Author:** [@jlangevin](https://www.ruby-forum.com/u/jlangevin)\
**Replies:** 9\
**Last updated:** [January 18, 2011, 9:35pm UTC](https://www.ruby-forum.com/t/502-bad-gateway-nginx-php-fpm/194986 "2011-01-18T21:35:35Z")

</div>

I’ve noticed a curious issue recently on my server. I am running Ubuntu 10.04, Nginx, and PHP-FPM using Brian Mercer method. I recently updated the server, and then also updated my PHP-FPM config to allow dynamic chi…

---

## [How come nginx is only accepting 1 connection?](https://www.ruby-forum.com/t/how-come-nginx-is-only-accepting-1-connection/201949)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 12\
**Last updated:** [January 18, 2011, 7:22pm UTC](https://www.ruby-forum.com/t/how-come-nginx-is-only-accepting-1-connection/201949 "2011-01-18T19:22:57Z")

</div>

Dear Nginx Community, I’m trying to setup nginx with the pylons framework via uwsgi. Nginx-0.8.54 is compiled using: ./configure --add-module=…/nginx-upload-progress-module/ –prefix=/mynginx-bin --with-http\_ssl\_modul…

---

## [Invalid parsed value for keys\_zone. Is this a problem?](https://www.ruby-forum.com/t/invalid-parsed-value-for-keys-zone-is-this-a-problem/201944)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 18, 2011, 4:10pm UTC](https://www.ruby-forum.com/t/invalid-parsed-value-for-keys-zone-is-this-a-problem/201944 "2011-01-18T16:10:40Z")

</div>

Hi, driven by a wrong undestand of proxy\_cache’s keys\_zone parameter I have set it to a very high value: proxy\_cache\_path /tmp/cache levels=2:2:2 keys\_zone=cache:10000m max\_size=50g inactive=5m; What happens is t…

---

## [Proxying to 2 backends with a if](https://www.ruby-forum.com/t/proxying-to-2-backends-with-a-if/201941)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 12:29pm UTC](https://www.ruby-forum.com/t/proxying-to-2-backends-with-a-if/201941 "2011-01-18T12:29:25Z")

</div>

Hi, Not sure if the mailing list is more popular than the forums, so I ask here to… I setup two servers, each proxying to a different backend, one http and one fcgi, and it mostly worked. Now, I am trying to setup…

---

## [KeepAlive issue help](https://www.ruby-forum.com/t/keepalive-issue-help/201937)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 18, 2011, 12:04pm UTC](https://www.ruby-forum.com/t/keepalive-issue-help/201937 "2011-01-18T12:04:53Z")

</div>

Hi, everyone We have one issue trouble which related to keepalive, can anybody help me out or provide some clue, Thanks a lot. Let me describe the issue briefly. Nginx version: 07.62 Load balancing algorithm: Ro…

---

## [Httptunnel and nginx](https://www.ruby-forum.com/t/httptunnel-and-nginx/201554)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 18, 2011, 8:45am UTC](https://www.ruby-forum.com/t/httptunnel-and-nginx/201554 "2011-01-18T08:45:02Z")

</div>

Hello, I want use nginx to redirect a subdomain on a http tunnel. To make it I use hts as it : /usr/bin/hts --forward-port localhost:22 8080 and I configure nginx as it (file /etc/nginx/site-avaible/default): \[code\]s…

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

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