# Server

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

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

---

## [Debian 7](https://www.ruby-forum.com/t/debian-7/228965)

<div class="topic-metadata">

**Author:** [@zdavidlnx](https://www.ruby-forum.com/u/zdavidlnx)\
**Replies:** 3\
**Last updated:** [May 28, 2013, 12:14pm UTC](https://www.ruby-forum.com/t/debian-7/228965 "2013-05-28T12:14:49Z")

</div>

Hey, I only want to ask, when the Debian Wheezy package will be released in http://nginx.org/packages/debian/ Best Regards David

---

## [How to convert Lighttpd rewrite to NGinx rewrite](https://www.ruby-forum.com/t/how-to-convert-lighttpd-rewrite-to-nginx-rewrite/235045)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [May 28, 2013, 10:24am UTC](https://www.ruby-forum.com/t/how-to-convert-lighttpd-rewrite-to-nginx-rewrite/235045 "2013-05-28T10:24:58Z")

</div>

Hi All, I have a problem in convert Lighttpd rules to Nginx rewrite This is my Lighttpd rules “^/pthumb/(\[^/\]+)/(.+)$” =\> “/pthumb/index.php?$1&f=$2” And this is Nginx Rewrite converted from above Lighttpd rules rew…

---

## [SPDY certificates and Wordpress multisite](https://www.ruby-forum.com/t/spdy-certificates-and-wordpress-multisite/235039)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [May 28, 2013, 5:59am UTC](https://www.ruby-forum.com/t/spdy-certificates-and-wordpress-multisite/235039 "2013-05-28T05:59:45Z")

</div>

Hello. I manage a small blog network (17) that has a lot of traffic (20MM visits/month). I use Wordpress Multisite to manage it, each blog has its own domain name, and all are served from the same WP install. I’m th…

---

## [Rewriting and proxy problem](https://www.ruby-forum.com/t/rewriting-and-proxy-problem/235005)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [May 27, 2013, 9:17pm UTC](https://www.ruby-forum.com/t/rewriting-and-proxy-problem/235005 "2013-05-27T21:17:39Z")

</div>

H folks! I am completeley newbie to nginx I have the following config # Forward request to /demo to tomcat. This is for # the BigBlueButton api demos. location /demo { rewrite ^ /upvc; proxy…

---

## [Performance trouble after migration Squeeze to Wheezy](https://www.ruby-forum.com/t/performance-trouble-after-migration-squeeze-to-wheezy/245420)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [May 27, 2013, 7:46pm UTC](https://www.ruby-forum.com/t/performance-trouble-after-migration-squeeze-to-wheezy/245420 "2013-05-27T19:46:28Z")

</div>

Hello, First of all I need to emphasize the fact that I know WHeezy is not yet supported. What I am trying to determine how WHeezy could impact Nginx (compiled for Squeeze) performance. Since I made the upgrade, bi…

---

## [Nginx got an 500 error when uploading files](https://www.ruby-forum.com/t/nginx-got-an-500-error-when-uploading-files/235016)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [May 27, 2013, 2:12pm UTC](https://www.ruby-forum.com/t/nginx-got-an-500-error-when-uploading-files/235016 "2013-05-27T14:12:09Z")

</div>

Hi everyone, I am using nginx 1.4.1 and php-fpm 5.3.25. Everything is fine except when I uploading files to server. I have a Discuz! x3(a forum system) and when I post threads, except attachment everything is fine, b…

---

## [Rewriting](https://www.ruby-forum.com/t/rewriting/245391)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [May 27, 2013, 4:26am UTC](https://www.ruby-forum.com/t/rewriting/245391 "2013-05-27T04:26:47Z")

</div>

Hi, I use opencart with nginx+php-fpm. Sometimes it is necessary to redirect all clients, except admin (190.212.201.0/24), to “Service unavailable” page which is simple index.html file with logo, background image and …

---

## [NGINX error log format documentation](https://www.ruby-forum.com/t/nginx-error-log-format-documentation/234987)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [May 26, 2013, 11:20pm UTC](https://www.ruby-forum.com/t/nginx-error-log-format-documentation/234987 "2013-05-26T23:20:02Z")

</div>

Hey! I want to parse NGINX error logs. However, I did not find any documentation concerning the used log format. While the meaning of some fields like the data is pretty obvious, for some it is not at all. In additio…

---

## [Proxy only certain assets based on host header?](https://www.ruby-forum.com/t/proxy-only-certain-assets-based-on-host-header/245378)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [May 24, 2013, 3:08pm UTC](https://www.ruby-forum.com/t/proxy-only-certain-assets-based-on-host-header/245378 "2013-05-24T15:08:25Z")

</div>

We’re trying to proxy only certain assets like png|jpg|css only when the host header is a certain DNS name. I tried to do this in the proxy.conf file using something the example below but it doesnt like the if stateme…

---

## [Valid\_referers dynamic hostname](https://www.ruby-forum.com/t/valid-referers-dynamic-hostname/234921)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [May 24, 2013, 1:11pm UTC](https://www.ruby-forum.com/t/valid-referers-dynamic-hostname/234921 "2013-05-24T13:11:33Z")

</div>

Sorry for posting here - don’t know for sure if it’s the right place. I have an issue: I use nginx as reverse proxy, but I don’t always know the domain name for which I’m serving, so my setup looks like this: serve…

---

## [Ngx\_openresty devel version 1.2.8.5 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-8-5-released/245366)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [May 24, 2013, 3:21am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-8-5-released/245366 "2013-05-24T03:21:34Z")

</div>

Hello guys! I am happy to announce that the new development version of ngx\_openresty, 1.2.8.5, is now released: http://openresty.org/#Download Special thanks go to all our contributors and users for helping make thi…

---

## [Streaming request](https://www.ruby-forum.com/t/streaming-request/234956)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [May 23, 2013, 8:14pm UTC](https://www.ruby-forum.com/t/streaming-request/234956 "2013-05-23T20:14:08Z")

</div>

Hi, I’m trying to do a streaming request that uses chunked encoding that gets forwarded to a back-end node.js http server. In this case the client does not end the request before it gets a response header from the s…

---

## [Updated cross-reference (LXR)](https://www.ruby-forum.com/t/updated-cross-reference-lxr/215364)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 23, 2013, 5:43pm UTC](https://www.ruby-forum.com/t/updated-cross-reference-lxr/215364 "2013-05-23T17:43:59Z")

</div>

Hello from an old ghost! To ring in the new year I’ve updated the Nginx LXR for the first time in ages: http://lxr.evanmiller.org/http/source/ It now hosts code from the 1.0.11 and 1.1.12 releases; I’ve retired the a…

---

## [How to tell nginx to check dead backend in upstream adaptively?](https://www.ruby-forum.com/t/how-to-tell-nginx-to-check-dead-backend-in-upstream-adaptively/234983)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [May 23, 2013, 5:18pm UTC](https://www.ruby-forum.com/t/how-to-tell-nginx-to-check-dead-backend-in-upstream-adaptively/234983 "2013-05-23T17:18:16Z")

</div>

Hi, Currently nginx will check every fail\_timeout (default=10s) which is too frequent when the backend server dead completely that require manually replacement and it might take long time. Definitely we can mark it a…

---

## [Problem with rewrite regexes when the URL contains a trailing slash (nginx-1.5.0)](https://www.ruby-forum.com/t/problem-with-rewrite-regexes-when-the-url-contains-a-trailing-slash-nginx-1-5-0/245376)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [May 22, 2013, 11:17pm UTC](https://www.ruby-forum.com/t/problem-with-rewrite-regexes-when-the-url-contains-a-trailing-slash-nginx-1-5-0/245376 "2013-05-22T23:17:24Z")

</div>

Hello. I’m having a problem with nginx’s rewrite directive. Basically, when the URL contains a trailing point, it is ignored by the rewrite regexp. Let’s do an example: I load http://uri/something. (with the trailin…

---

## [Using http\_limit\_conn with a custom variable](https://www.ruby-forum.com/t/using-http-limit-conn-with-a-custom-variable/234969)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [May 22, 2013, 4:36pm UTC](https://www.ruby-forum.com/t/using-http-limit-conn-with-a-custom-variable/234969 "2013-05-22T16:36:00Z")

</div>

Hi, We’re trying to use the limit\_conn\_zone directive to throttle incoming HTTP requests. We’d like to throttle based on the http basic auth variable ($remote\_user), however, we must do processing on this value so th…

---

## [NGINX SE vs. Open Source](https://www.ruby-forum.com/t/nginx-se-vs-open-source/245365)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [May 22, 2013, 2:06pm UTC](https://www.ruby-forum.com/t/nginx-se-vs-open-source/245365 "2013-05-22T14:06:23Z")

</div>

Hello, on your Site (NGINX Application Platform | NGINX) you are comparing NGINX SE with the Open Source version. The table states “Basic” and “Enhanced” on many core features of NGINX. The SE/“Enhanced” column offers…

---

## [Looking to returning a 302 Redirect if a file is above a certain size](https://www.ruby-forum.com/t/looking-to-returning-a-302-redirect-if-a-file-is-above-a-certain-size/234954)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [May 21, 2013, 7:28am UTC](https://www.ruby-forum.com/t/looking-to-returning-a-302-redirect-if-a-file-is-above-a-certain-size/234954 "2013-05-21T07:28:06Z")

</div>

Hey there, I was looking for some guidance for a project I’m working on. We’re looking into CDNs here, and we are specifically looking for a decent origin pull service that also supports denying by referrer to preven…

---

## [Can't log/print in header\_filter\_by\_lua](https://www.ruby-forum.com/t/cant-log-print-in-header-filter-by-lua/234948)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [May 21, 2013, 2:19am UTC](https://www.ruby-forum.com/t/cant-log-print-in-header-filter-by-lua/234948 "2013-05-21T02:19:03Z")

</div>

Hi all, I’ve been experimenting with rewriting ‘Set Cookie’ headers in a nginx-reverse-proxy effort. The Set-Cookie rewrite doesn’t seem to work yet, and more importantly, my log/print statements don’t print to erro…

---

## [Fancyindex module hangs connection](https://www.ruby-forum.com/t/fancyindex-module-hangs-connection/228960)

<div class="topic-metadata">

**Author:** [@peku33](https://www.ruby-forum.com/u/peku33)\
**Replies:** 1\
**Last updated:** [May 20, 2013, 11:11pm UTC](https://www.ruby-forum.com/t/fancyindex-module-hangs-connection/228960 "2013-05-20T23:11:23Z")

</div>

Hi everybody. I’m facing a problem with my nginx 1.4.0 server bulit from portage on gentoo (fresh instllation, amd64). After configuring one location to use fancyindex on; directory listing loads to footer and then …

---

## [The truth about gzip\_buffers?](https://www.ruby-forum.com/t/the-truth-about-gzip-buffers/234916)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [May 20, 2013, 1:27pm UTC](https://www.ruby-forum.com/t/the-truth-about-gzip-buffers/234916 "2013-05-20T13:27:07Z")

</div>

Reading the docs on nginx.org and searching around, it seems there’s no consensus on how we should configure gzip\_buffers. Some guides say that the total buffer needs to be greater than any file you want to gzip, or …

---

## [Nginx balancing mechanism](https://www.ruby-forum.com/t/nginx-balancing-mechanism/234945)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [May 20, 2013, 12:39pm UTC](https://www.ruby-forum.com/t/nginx-balancing-mechanism/234945 "2013-05-20T12:39:48Z")

</div>

Hello What balancing mechanism is used in nginx: connections are balanced, or messages in connections are balanced? Posted at Nginx Forum:

---

## [Nginx cache opendir failed](https://www.ruby-forum.com/t/nginx-cache-opendir-failed/234932)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [May 20, 2013, 11:27am UTC](https://www.ruby-forum.com/t/nginx-cache-opendir-failed/234932 "2013-05-20T11:27:19Z")

</div>

Hi On a Freebsd 9.1 machine Nginx 1.4.1 opendir() “/var/cache/www/nginx2” failed (13: Permission denied) microcache dir : drwxr-x–x 3 root wheel 512 May 19 17:05 /var/cache drwxr-xr-x 3 www www 512 May 19 17…

---

## [Unbuffered requests in a reverse proxy?](https://www.ruby-forum.com/t/unbuffered-requests-in-a-reverse-proxy/234936)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [May 20, 2013, 9:57am UTC](https://www.ruby-forum.com/t/unbuffered-requests-in-a-reverse-proxy/234936 "2013-05-20T09:57:20Z")

</div>

Hi Can nginx be configured to pass through a reverse proxy request before it has been transmitted completely? My set-up is a public facing nginx server accepting file uploads passed to another server via a reverse pr…

---

## [1.4.1 + spdy + centos 6 + openssl-1.0.1e (static), firefox 21 ajax requests ssl spdy = segfault](https://www.ruby-forum.com/t/1-4-1-spdy-centos-6-openssl-1-0-1e-static-firefox-21-ajax-requests-ssl-spdy-segfault/234933)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [May 20, 2013, 3:21am UTC](https://www.ruby-forum.com/t/1-4-1-spdy-centos-6-openssl-1-0-1e-static-firefox-21-ajax-requests-ssl-spdy-segfault/234933 "2013-05-20T03:21:11Z")

</div>

Hello, on one of my servers, nginx suddenly started crashing on some AJAX-heavy pages when accessed via SSL+SPDY. It seems to happen only when Firefox is the client (tested with Firefox 21), latest version of chrome …

---

## [Merging equivalent cache keys?](https://www.ruby-forum.com/t/merging-equivalent-cache-keys/234918)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [May 18, 2013, 3:45pm UTC](https://www.ruby-forum.com/t/merging-equivalent-cache-keys/234918 "2013-05-18T15:45:42Z")

</div>

We’ve got a route which is used to retrieve multiple objects in parallel. The client does a GET on /api/1/station/multi?id=123&id=456&id=789. We cache these in our nginx config: location ~ /api/\[^/\]+/station/mult…

---

## [404s logged in error.log?](https://www.ruby-forum.com/t/404s-logged-in-error-log/234912)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [May 18, 2013, 5:24am UTC](https://www.ruby-forum.com/t/404s-logged-in-error-log/234912 "2013-05-18T05:24:03Z")

</div>

I was wondering if someone could confirm that requests resulting in a 404 response are by default logged to error.log at error level “error”. Is that normal, or is there some piece of configuration I am missing that …

---

## [Permissions check](https://www.ruby-forum.com/t/permissions-check/234911)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [May 18, 2013, 3:35am UTC](https://www.ruby-forum.com/t/permissions-check/234911 "2013-05-18T03:35:22Z")

</div>

I just updated nginx and was warned about permissions. Are these appropriate: /var/log/nginx: drwxr-x— root root /var/lib/nginx/tmp and /var/lib/nginx/tmp/\*: drwx------ nginx nginx Grant

---

## [Choosing source-address for upstream connections](https://www.ruby-forum.com/t/choosing-source-address-for-upstream-connections/234897)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [May 17, 2013, 3:28pm UTC](https://www.ruby-forum.com/t/choosing-source-address-for-upstream-connections/234897 "2013-05-17T15:28:33Z")

</div>

Is there a way to tell nginx to use a specific address when talking to an upstream? I would like to do something like: upstream bla { server \[D0C::1234\]:8080 src \[D0C::beaf\]; server 1.2.3.4:8080 src 1.2.3.5; server…

---

## [Add to subject lines on this mailing list?](https://www.ruby-forum.com/t/add-to-subject-lines-on-this-mailing-list/229017)

<div class="topic-metadata">

**Author:** [@Daniel\_Griscom](https://www.ruby-forum.com/u/Daniel_Griscom)\
**Replies:** 11\
**Last updated:** [May 17, 2013, 3:04pm UTC](https://www.ruby-forum.com/t/add-to-subject-lines-on-this-mailing-list/229017 "2013-05-17T15:04:35Z")

</div>

This mailing list is run by Gnu’s Mailman application. The default configuration for Mailman adds a “\[NameOfMailList\]” prefix to the subject of every sent email, e.g. Subject: \[Congregation\] Tuesday’s Notes This ma…

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

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