# Server

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

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

---

## [The UCC SSL Problems](https://www.ruby-forum.com/t/the-ucc-ssl-problems/180721)

<div class="topic-metadata">

**Author:** [@Peter\_Cui](https://www.ruby-forum.com/u/Peter_Cui)\
**Replies:** 1\
**Last updated:** [December 29, 2009, 7:04pm UTC](https://www.ruby-forum.com/t/the-ucc-ssl-problems/180721 "2009-12-29T19:04:55Z")

</div>

Hello everybody Does anyone knows how to configure the UCC SSL on nginx? I was doing as this article said and always get (Error code: ssl\_error\_rx\_record\_too\_long) http://wiki.nginx.org/NginxHttpSslModule#Using\_Wildc…

---

## [A problem about proxy\_pass and wordpress](https://www.ruby-forum.com/t/a-problem-about-proxy-pass-and-wordpress/180813)

<div class="topic-metadata">

**Author:** [@H\_D](https://www.ruby-forum.com/u/H_D)\
**Replies:** 0\
**Last updated:** [December 29, 2009, 6:40pm UTC](https://www.ruby-forum.com/t/a-problem-about-proxy-pass-and-wordpress/180813 "2009-12-29T18:40:19Z")

</div>

I have a WordPress blog running on nginx+php+mysql platform, on which I run into a problem related to nginx as a reverse proxy. When I tried to visit http://www.domain.com/wp-admin/, it would be redirected to http:/…

---

## [NginxHttpMemcModule vie NginxHttpMemcachedModule](https://www.ruby-forum.com/t/nginxhttpmemcmodule-vie-nginxhttpmemcachedmodule/180780)

<div class="topic-metadata">

**Author:** [@Danny\_Trinh](https://www.ruby-forum.com/u/Danny_Trinh)\
**Replies:** 3\
**Last updated:** [December 29, 2009, 5:40pm UTC](https://www.ruby-forum.com/t/nginxhttpmemcmodule-vie-nginxhttpmemcachedmodule/180780 "2009-12-29T17:40:00Z")

</div>

Hello group, I saw there are 2 modules for using with memcached. I wonder that can I recompile nginx with both of them? Can you share simple nginx.conf but complete that works with either module, please? Thanks, Da…

---

## [Proxy\_set\_header host](https://www.ruby-forum.com/t/proxy-set-header-host/179729)

<div class="topic-metadata">

**Author:** [@frankmt](https://www.ruby-forum.com/u/frankmt)\
**Replies:** 4\
**Last updated:** [December 29, 2009, 1:27pm UTC](https://www.ruby-forum.com/t/proxy-set-header-host/179729 "2009-12-29T13:27:01Z")

</div>

I am having quite some trouble with something that should be pretty straightforward. I have an app deployed at http://localhost:9090/app/ , and need to access it via http://subdomain.domain.com. Thus I configured the…

---

## [Feature Request - File size limit for caching](https://www.ruby-forum.com/t/feature-request-file-size-limit-for-caching/180787)

<div class="topic-metadata">

**Author:** [@Kingsley\_F](https://www.ruby-forum.com/u/Kingsley_F)\
**Replies:** 0\
**Last updated:** [December 29, 2009, 4:30am UTC](https://www.ruby-forum.com/t/feature-request-file-size-limit-for-caching/180787 "2009-12-29T04:30:38Z")

</div>

Hi All, My first feature request for a while (generally nginx has everything i need). We use nginx’s proxy\_pass for a couple of systems, we however want to add some caching to this. So my request is to add a file si…

---

## [Nginx-0.8.31](https://www.ruby-forum.com/t/nginx-0-8-31/180657)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [December 29, 2009, 4:16am UTC](https://www.ruby-forum.com/t/nginx-0-8-31/180657 "2009-12-29T04:16:35Z")

</div>

Changes with nginx 0.8.31 23 Dec 2009 \*) Feature: now the "error\_page" directive may redirect the 301 and 302 responses. \*) Feature: the $geoip\_city\_continent\_code, $geoip\_lat…

---

## [Problem with the lack of url encoding in the rewrite result url](https://www.ruby-forum.com/t/problem-with-the-lack-of-url-encoding-in-the-rewrite-result-url/180776)

<div class="topic-metadata">

**Author:** [@Alexander\_Radostin](https://www.ruby-forum.com/u/Alexander_Radostin)\
**Replies:** 0\
**Last updated:** [December 28, 2009, 10:43pm UTC](https://www.ruby-forum.com/t/problem-with-the-lack-of-url-encoding-in-the-rewrite-result-url/180776 "2009-12-28T22:43:32Z")

</div>

Hi everyone! Recently we’ve moved from lighttpd to nginx and I’ve discovered a problem with the different rewrite handling in nginx. The rule: rewrite ^/download/(\[^/\]+)/(.+)/$ /index.php/download/?hash=$1&filename…

---

## [Streaming of Content (CGI)](https://www.ruby-forum.com/t/streaming-of-content-cgi/180763)

<div class="topic-metadata">

**Author:** [@nfn](https://www.ruby-forum.com/u/nfn)\
**Replies:** 2\
**Last updated:** [December 28, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/streaming-of-content-cgi/180763 "2009-12-28T20:57:16Z")

</div>

Hi, I’m trying to run cgiirc (http://cgiirc.org) with nginx proxy to apache/thttpd. If I access apache or thttpd directly it works, but when I access with nginx it doesn’t work. I’ve tested with this test file too a…

---

## [Gunzip filter module](https://www.ruby-forum.com/t/gunzip-filter-module/180768)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 0\
**Last updated:** [December 28, 2009, 8:25pm UTC](https://www.ruby-forum.com/t/gunzip-filter-module/180768 "2009-12-28T20:25:23Z")

</div>

Hello! I’m pleased to announce gunzip filter module. This module allows gunzipping responses returned with Content-Encoding: gzip for clients that doesn’t support it. It may be usefull if you prefer to store data co…

---

## [Traffic Limit and HTTP Header rewrite](https://www.ruby-forum.com/t/traffic-limit-and-http-header-rewrite/180714)

<div class="topic-metadata">

**Author:** [@Anto](https://www.ruby-forum.com/u/Anto)\
**Replies:** 7\
**Last updated:** [December 28, 2009, 10:45am UTC](https://www.ruby-forum.com/t/traffic-limit-and-http-header-rewrite/180714 "2009-12-28T10:45:12Z")

</div>

Hello Everybody, Some time ago, it was mentioned that we can not limit the traffic per server on Nginx. We have to use traffic shaper at the OS level to do that. Is it still the case now? And I want to try Nginx, but…

---

## [Port 11211 (memcached default) not open](https://www.ruby-forum.com/t/port-11211-memcached-default-not-open/180726)

<div class="topic-metadata">

**Author:** [@Danny\_Trinh](https://www.ruby-forum.com/u/Danny_Trinh)\
**Replies:** 5\
**Last updated:** [December 28, 2009, 1:51am UTC](https://www.ruby-forum.com/t/port-11211-memcached-default-not-open/180726 "2009-12-28T01:51:56Z")

</div>

Hello group, I use nginx-0.8.31 and do try the memcached config from http://lserinol.blogspot.com/2009/03/speeding-up-your-nginx-server-with. html. location ~\* .(jpg|png|gif)$ { access\_log off; expires max; …

---

## [Access Module Question](https://www.ruby-forum.com/t/access-module-question/180681)

<div class="topic-metadata">

**Author:** [@joviyach](https://www.ruby-forum.com/u/joviyach)\
**Replies:** 0\
**Last updated:** [December 25, 2009, 7:46pm UTC](https://www.ruby-forum.com/t/access-module-question/180681 "2009-12-25T19:46:08Z")

</div>

I recently had a spike in requests and saw many lines like this in the access log: 67.249.108.42 - - \[25/Dec/2009:13:15:57 -0500\] “GET /forums/forumdisplay.php?s=&forumid=2 HTTP/1.1” 301 185 “-” “Mozilla/4.0 (compati…

---

## [Getting FastCGI Upstream Information](https://www.ruby-forum.com/t/getting-fastcgi-upstream-information/180669)

<div class="topic-metadata">

**Author:** [@Arie\_Karhendana](https://www.ruby-forum.com/u/Arie_Karhendana)\
**Replies:** 1\
**Last updated:** [December 25, 2009, 5:17pm UTC](https://www.ruby-forum.com/t/getting-fastcgi-upstream-information/180669 "2009-12-25T17:17:54Z")

</div>

Hi all, I think this is not nginx specific question per se, but seeing all experts here, maybe this list is the right place to start. We have an nginx & PHP FastCGI configuration, where nginx is run on different serv…

---

## [Basic Auth not requested when rewrite rule exists](https://www.ruby-forum.com/t/basic-auth-not-requested-when-rewrite-rule-exists/180658)

<div class="topic-metadata">

**Author:** [@Dave\_Kennard](https://www.ruby-forum.com/u/Dave_Kennard)\
**Replies:** 2\
**Last updated:** [December 25, 2009, 4:12pm UTC](https://www.ruby-forum.com/t/basic-auth-not-requested-when-rewrite-rule-exists/180658 "2009-12-25T16:12:01Z")

</div>

Part of my Server config looks like this: location /admin/ { auth\_basic “Restricted”; auth\_basic\_user\_file /path/to/.htpasswd; #rewrite any .xhtml page to page.php rewrite ^/(.+)\\.xhtml$ /$1.php…

---

## [Memcached/JSONP](https://www.ruby-forum.com/t/memcached-jsonp/180486)

<div class="topic-metadata">

**Author:** [@dylanz](https://www.ruby-forum.com/u/dylanz)\
**Replies:** 29\
**Last updated:** [December 25, 2009, 3:52pm UTC](https://www.ruby-forum.com/t/memcached-jsonp/180486 "2009-12-25T15:52:04Z")

</div>

Hello! We have an API which makes heavy use of JSONP. In context, that means the body of the response from our API must be wrapped in a callback parameter that’s passed in the same request. We currently store the JSO…

---

## [Using an upstream header value as a proxy\_cache\_key](https://www.ruby-forum.com/t/using-an-upstream-header-value-as-a-proxy-cache-key/180654)

<div class="topic-metadata">

**Author:** [@troy\_qa](https://www.ruby-forum.com/u/troy_qa)\
**Replies:** 2\
**Last updated:** [December 25, 2009, 3:44pm UTC](https://www.ruby-forum.com/t/using-an-upstream-header-value-as-a-proxy-cache-key/180654 "2009-12-25T15:44:27Z")

</div>

Is it possible to have an upstream server set an HTTP header that can be used as the key in proxy\_cache\_key? This doesn’t work: proxy\_cache\_key $upstream\_http\_x\_myheader; And neither does this: …

---

## [Vacantion](https://www.ruby-forum.com/t/vacantion/180655)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 3\
**Last updated:** [December 25, 2009, 3:43pm UTC](https://www.ruby-forum.com/t/vacantion/180655 "2009-12-25T15:43:51Z")

</div>

I will be on vacantion since Dec 26 till Jan 09. – Igor S. http://sysoev.ru/en/

---

## [Is there a bug in QUERY\_STRING or try\_files?](https://www.ruby-forum.com/t/is-there-a-bug-in-query-string-or-try-files/180656)

<div class="topic-metadata">

**Author:** [@seaprince](https://www.ruby-forum.com/u/seaprince)\
**Replies:** 2\
**Last updated:** [December 25, 2009, 3:43pm UTC](https://www.ruby-forum.com/t/is-there-a-bug-in-query-string-or-try-files/180656 "2009-12-25T15:43:51Z")

</div>

Hello all, I found a problem when using try\_files, it seems a tiny bug here. Configuration section: location / { root /home/tee/abc.com; try\_files $uri /t.php; } other configuration sections like fastcgi setting…

---

## [Gathering upstream response headers](https://www.ruby-forum.com/t/gathering-upstream-response-headers/180652)

<div class="topic-metadata">

**Author:** [@dobe](https://www.ruby-forum.com/u/dobe)\
**Replies:** 1\
**Last updated:** [December 25, 2009, 3:40pm UTC](https://www.ruby-forum.com/t/gathering-upstream-response-headers/180652 "2009-12-25T15:40:18Z")

</div>

hi all i need to gather all upstream response headers of a given special type (e.g: “x\_something”) in order to process them later. what would be the best solution to achieve this in nginx (e.g via a custom module). th…

---

## [Try\_recent\_files?](https://www.ruby-forum.com/t/try-recent-files/180466)

<div class="topic-metadata">

**Author:** [@Yuval\_H](https://www.ruby-forum.com/u/Yuval_H)\
**Replies:** 8\
**Last updated:** [December 25, 2009, 3:40pm UTC](https://www.ruby-forum.com/t/try-recent-files/180466 "2009-12-25T15:40:18Z")

</div>

I am using nginx to serve a dynamic (PHP) site, that saves generated pages statically for fast serving for anonymous users (Drupal + Boost module). The expiration of these files is handled by a cron job that deletes …

---

## [Fastcgi restarts question](https://www.ruby-forum.com/t/fastcgi-restarts-question/180594)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [December 25, 2009, 3:40pm UTC](https://www.ruby-forum.com/t/fastcgi-restarts-question/180594 "2009-12-25T15:40:18Z")

</div>

Hello, I have a setup where I need to restart my (rails) fastcgi processes rather often (about hourly). I think the processes are being shutdown cleanly (ie: a flag is set by a signal, and when the request completes…

---

## [Loggint through syslog](https://www.ruby-forum.com/t/loggint-through-syslog/180459)

<div class="topic-metadata">

**Author:** [@Gabri\_Mate](https://www.ruby-forum.com/u/Gabri_Mate)\
**Replies:** 13\
**Last updated:** [December 25, 2009, 3:39pm UTC](https://www.ruby-forum.com/t/loggint-through-syslog/180459 "2009-12-25T15:39:42Z")

</div>

Hey There! Is there any chance to be able to log access through syslog? It would be useful for an environment with a dozen nginx proxies logging to a central syslog server for statistics and analyze. Regards, Gabri M…

---

## [Frontend - POP3 , backend - POP3 /w SSL](https://www.ruby-forum.com/t/frontend-pop3-backend-pop3-w-ssl/180491)

<div class="topic-metadata">

**Author:** [@hkendusers](https://www.ruby-forum.com/u/hkendusers)\
**Replies:** 2\
**Last updated:** [December 25, 2009, 3:39pm UTC](https://www.ruby-forum.com/t/frontend-pop3-backend-pop3-w-ssl/180491 "2009-12-25T15:39:42Z")

</div>

Hi all, I am using nginx as my pop3 proxy currently, it works greatly. Now I have a question, would anyone let me know is it possible to make the frontend POP3 connection be plain text, but the backend POP3 connection …

---

## [Overriding default 'missing trailing slash' behavior](https://www.ruby-forum.com/t/overriding-default-missing-trailing-slash-behavior/180653)

<div class="topic-metadata">

**Author:** [@Melvyn\_Sopacua](https://www.ruby-forum.com/u/Melvyn_Sopacua)\
**Replies:** 1\
**Last updated:** [December 25, 2009, 3:39pm UTC](https://www.ruby-forum.com/t/overriding-default-missing-trailing-slash-behavior/180653 "2009-12-25T15:39:42Z")

</div>

Hi, Is there a way to override the default behavior of how nginx handles directory redirecting? At present is does the equivalent of: rewrite $scheme://$first\_server\_name/$request\_uri/ permanent I tried overriding: …

---

## [Strange behavior with custom module and http proxy](https://www.ruby-forum.com/t/strange-behavior-with-custom-module-and-http-proxy/180551)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 7\
**Last updated:** [December 22, 2009, 5:58pm UTC](https://www.ruby-forum.com/t/strange-behavior-with-custom-module-and-http-proxy/180551 "2009-12-22T17:58:48Z")

</div>

Hi all, I have a module I’ve written which, as part of its processing fork/execs another process. The child process forks again and exits and the grandchild process is reparented to init and stays active for 60 seco…

---

## [Worker process number](https://www.ruby-forum.com/t/worker-process-number/180595)

<div class="topic-metadata">

**Author:** [@dobe](https://www.ruby-forum.com/u/dobe)\
**Replies:** 0\
**Last updated:** [December 22, 2009, 2:26pm UTC](https://www.ruby-forum.com/t/worker-process-number/180595 "2009-12-22T14:26:17Z")

</div>

hi all is there a way to get a unique index of the current worker process via a variable? (e.g. 0,1,2,3 for 4 workers) i want to use it as a memcache prefix, therefore i cannot use $pid because this changes upon rest…

---

## [Cache as failover](https://www.ruby-forum.com/t/cache-as-failover/180461)

<div class="topic-metadata">

**Author:** [@mfeldheim](https://www.ruby-forum.com/u/mfeldheim)\
**Replies:** 3\
**Last updated:** [December 21, 2009, 7:17pm UTC](https://www.ruby-forum.com/t/cache-as-failover/180461 "2009-12-21T19:17:17Z")

</div>

So far I am using Nginx as loadbalancer only. Since we have a huge amounts of ( frequently changing ) pages, and a small hitrate per unique page, output caching has never been really interesting. I have a failover app…

---

## [Stub\_status stops working after adding static server section](https://www.ruby-forum.com/t/stub-status-stops-working-after-adding-static-server-section/180518)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 2\
**Last updated:** [December 21, 2009, 6:53am UTC](https://www.ruby-forum.com/t/stub-status-stops-working-after-adding-static-server-section/180518 "2009-12-21T06:53:20Z")

</div>

A few days ago, I added a static.digitalhit.com server section to my setup for serving static resources on a cookieless domain. Just now I noticed that since the change, my nginx reports in munin have not been working…

---

## [Announcement : NGX\_HTTP\_SET\_VAR\_MODULE](https://www.ruby-forum.com/t/announcement-ngx-http-set-var-module/180470)

<div class="topic-metadata">

**Author:** [@kastorilo](https://www.ruby-forum.com/u/kastorilo)\
**Replies:** 1\
**Last updated:** [December 21, 2009, 3:15am UTC](https://www.ruby-forum.com/t/announcement-ngx-http-set-var-module/180470 "2009-12-21T03:15:36Z")

</div>

Hi, As inspired by the previous comments about setting hash values to variables, here’s a small module that does just that. Currently you can generate the MD5, SHA1 and Murmurhash2 values (in uppercase hexadecimal) o…

---

## [Nginx & FastCGI buffering to slow clients, thousands of connections backup to fast-cgi/php processes](https://www.ruby-forum.com/t/nginx-fastcgi-buffering-to-slow-clients-thousands-of-connections-backup-to-fast-cgi-php-processes/180498)

<div class="topic-metadata">

**Author:** [@mushero](https://www.ruby-forum.com/u/mushero)\
**Replies:** 1\
**Last updated:** [December 21, 2009, 1:54am UTC](https://www.ruby-forum.com/t/nginx-fastcgi-buffering-to-slow-clients-thousands-of-connections-backup-to-fast-cgi-php-processes/180498 "2009-12-21T01:54:49Z")

</div>

I assume this has been covered before but despite lots of searching, cannot find it. We run many nginx servers with fast-cgi for PHP, but here in China the connections can be slow or dynamic, so suddenly we have 1000 …

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

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