# Server

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

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

---

## [Can't make a simple configuration](https://www.ruby-forum.com/t/cant-make-a-simple-configuration/209671)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 20, 2011, 12:20am UTC](https://www.ruby-forum.com/t/cant-make-a-simple-configuration/209671 "2011-07-20T00:20:56Z")

</div>

Hi, This will be an absolute beginner question. Sorry about that. What I want to do is, I want to serve all files under http://localhost/static from /home/myname/public\_html/static My configuration regarding that pa…

---

## [Nginx-0.7.69](https://www.ruby-forum.com/t/nginx-0-7-69/209650)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 4:49pm UTC](https://www.ruby-forum.com/t/nginx-0-7-69/209650 "2011-07-19T16:49:36Z")

</div>

Changes with nginx 0.7.69 19 Jul 2011 \*) Bugfix: a segmentation fault might occur in a worker process, if a caching was used. Thanks to Lanshun Zhou. – Igor S.

---

## [Nginx-0.8.55](https://www.ruby-forum.com/t/nginx-0-8-55/209648)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 4:47pm UTC](https://www.ruby-forum.com/t/nginx-0-8-55/209648 "2011-07-19T16:47:44Z")

</div>

Changes with nginx 0.8.55 19 Jul 2011 \*) Bugfix: a segmentation fault might occur in a worker process, if a caching was used. Thanks to Lanshun Zhou. – Igor S.

---

## [Nginx-1.0.5](https://www.ruby-forum.com/t/nginx-1-0-5/209649)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 4:45pm UTC](https://www.ruby-forum.com/t/nginx-1-0-5/209649 "2011-07-19T16:45:15Z")

</div>

Changes with nginx 1.0.5 19 Jul 2011 \*) Change: now default SSL ciphers are "HIGH:!aNULL:!MD5". Thanks to Rob Stradling. \*) Feature: the "referer\_hash\_max\_size" and “refere…

---

## [Re: Re: nginx 1.0.4 crashes](https://www.ruby-forum.com/t/re-re-nginx-1-0-4-crashes/209637)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 9:13am UTC](https://www.ruby-forum.com/t/re-re-nginx-1-0-4-crashes/209637 "2011-07-19T09:13:49Z")

</div>

Can you make sure this is not a hardware memory error by running an extensive memory test on the machine\> ----- original message -------- Subject: Re: nginx 1.0.4 crashes Sent: Tue, 19 Jul 2011 From: David Yu On Tu…

---

## [Delete from cache](https://www.ruby-forum.com/t/delete-from-cache/209633)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 9:09am UTC](https://www.ruby-forum.com/t/delete-from-cache/209633 "2011-07-19T09:09:30Z")

</div>

Hello i am using nginx for resize images, but right now i want to add one more feature to rotate source image, and after that i need to clean cached image how i can do that? Posted at Nginx Forum:

---

## [After reload, nginx's CPU usage jumped to 100 percent（backtrace provided)](https://www.ruby-forum.com/t/after-reload-nginxs-cpu-usage-jumped-to-100-percent-backtrace-provided/209358)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 19, 2011, 8:42am UTC](https://www.ruby-forum.com/t/after-reload-nginxs-cpu-usage-jumped-to-100-percent-backtrace-provided/209358 "2011-07-19T08:42:53Z")

</div>

After reload, all the worker processes, including newly forked ones, goes straight to 100% CPU: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17301 nobody 25 0 2670m 107m 1128 R 99.6 0.7 …

---

## [A question about "proxy\_redirect"](https://www.ruby-forum.com/t/a-question-about-proxy-redirect/209632)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 19, 2011, 8:13am UTC](https://www.ruby-forum.com/t/a-question-about-proxy-redirect/209632 "2011-07-19T08:13:10Z")

</div>

If the backend server uses FULL URL to initiate a redirect, like sendRedirect("http://10.1.2.3:1234/redirect"); Can proxy\_redirect match this URL and do the redirect? I write this in config but it seems doesn’t work: …

---

## [Nginx windows iocp error](https://www.ruby-forum.com/t/nginx-windows-iocp-error/209624)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 19, 2011, 7:55am UTC](https://www.ruby-forum.com/t/nginx-windows-iocp-error/209624 "2011-07-19T07:55:53Z")

</div>

events { use iocp; … php file… error.log msg 2011/07/18 10:28:59 \[error\] 2696#3444: \*1 upstream timed out (10060… please help me… Posted at Nginx Forum:

---

## [Nginx windows](https://www.ruby-forum.com/t/nginx-windows/205427)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [July 19, 2011, 7:35am UTC](https://www.ruby-forum.com/t/nginx-windows/205427 "2011-07-19T07:35:29Z")

</div>

Hello I wonder if this is possible to fix in the future and if somebody gonna fix that out? Known issues Although several workers can be run, only one of them actually does any work. A worker can handle no more than…

---

## [Empty User\_Agent](https://www.ruby-forum.com/t/empty-user-agent/209627)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 5:47am UTC](https://www.ruby-forum.com/t/empty-user-agent/209627 "2011-07-19T05:47:00Z")

</div>

hi I saw an empty User\_Agent request got logged in the tomcat, but i don’t find this request got logged in the Nginx. I have turn on the access log on http, server directives. any help is appreciated. Thank You Ste…

---

## [Nginx 1.0.4 crashes](https://www.ruby-forum.com/t/nginx-1-0-4-crashes/209506)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [July 19, 2011, 2:22am UTC](https://www.ruby-forum.com/t/nginx-1-0-4-crashes/209506 "2011-07-19T02:22:30Z")

</div>

Hi, I’m experiencing some random nginx crashes. My server is Ubuntu 10.04, with glibc 2.11.1-0ubuntu7.8. Here is an excerpt from the log file: 2011/07/15 05:15:14 \[error\] 3299#0: \*2788234 open() “\[…\]” failed (2: No s…

---

## [Select upstream by subdomain](https://www.ruby-forum.com/t/select-upstream-by-subdomain/209611)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 8:43pm UTC](https://www.ruby-forum.com/t/select-upstream-by-subdomain/209611 "2011-07-18T20:43:20Z")

</div>

We are rewriting our app and would like to migrate accounts to the new back end in chunks, though not in alphabetical sequence. All accounts have unique subdomains. We have thousands of accounts so I don’t think that …

---

## [Poor performance in serving of static files](https://www.ruby-forum.com/t/poor-performance-in-serving-of-static-files/209573)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 17\
**Last updated:** [July 18, 2011, 5:33pm UTC](https://www.ruby-forum.com/t/poor-performance-in-serving-of-static-files/209573 "2011-07-18T17:33:17Z")

</div>

Hello, After having been hit by a traffic-wave recently, I decided to switch hosting of all my Jetty based web-apps to Nginx, replacing Apapche2. One of these sites is for a type foundry, and the pages it servers con…

---

## [Fwd: Backend handling of Expect: 100-Continue header](https://www.ruby-forum.com/t/fwd-backend-handling-of-expect-100-continue-header/209596)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 18, 2011, 5:17pm UTC](https://www.ruby-forum.com/t/fwd-backend-handling-of-expect-100-continue-header/209596 "2011-07-18T17:17:49Z")

</div>

Hi guys, I am forwarding questions from my friend (it seems that he has some problems with posting to this group). Hope it’s OK for you. Cheers, Kamil ---------- Forwarded message ---------- From: Łukasz Osipiuk re…

---

## [Re: nginx company](https://www.ruby-forum.com/t/re-nginx-company/209600)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 4:23pm UTC](https://www.ruby-forum.com/t/re-nginx-company/209600 "2011-07-18T16:23:52Z")

</div>

I have got news for you about nginx. Hi Igor, good news, indeed. NGINX is really an amazing project on many levels and I wish you all the (commercial) success you can get. Best Regards, Rainer

---

## [回复: nginx company](https://www.ruby-forum.com/t/nginx-company/209601)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 4:22pm UTC](https://www.ruby-forum.com/t/nginx-company/209601 "2011-07-18T16:22:38Z")

</div>

A good news! Congratulations! 2011-07-18 chinix 发件人: Igor S. removed\_email\_address@domain.invalid 发送时间: 2011-07-18 22:14 主 题: nginx company 收件人: removed\_email\_address@domain.invalid I have got news for you about n…

---

## [About proxy\_max\_temp\_file\_size](https://www.ruby-forum.com/t/about-proxy-max-temp-file-size/209584)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 7:58am UTC](https://www.ruby-forum.com/t/about-proxy-max-temp-file-size/209584 "2011-07-18T07:58:55Z")

</div>

I set proxy\_max\_temp\_file\_size = 0; or proxy\_max\_temp\_file\_size = 20m; and download a 30m file,the nginx still wirte a temporary file. I see from nginx wiki: If file is larger than this size, it will be served synchr…

---

## [Proxy\_cache\_valid, how to get cache valid time by status in source code](https://www.ruby-forum.com/t/proxy-cache-valid-how-to-get-cache-valid-time-by-status-in-source-code/209583)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 7:23am UTC](https://www.ruby-forum.com/t/proxy-cache-valid-how-to-get-cache-valid-time-by-status-in-source-code/209583 "2011-07-18T07:23:38Z")

</div>

hi, I have sevral questions about source code. 1.about the directive proxy\_cache\_valid 200 5m, how does nginx get cache valid time by its status? it seems function ngx\_http\_file\_cache\_valid() in file ngx\_http\_file\_c…

---

## [Hotlink protection with rewrite](https://www.ruby-forum.com/t/hotlink-protection-with-rewrite/181359)

<div class="topic-metadata">

**Author:** [@vicky007](https://www.ruby-forum.com/u/vicky007)\
**Replies:** 9\
**Last updated:** [July 18, 2011, 5:39am UTC](https://www.ruby-forum.com/t/hotlink-protection-with-rewrite/181359 "2011-07-18T05:39:40Z")

</div>

Hello, I moved from apache to nginx few quite busy websites and currently I need help with hotlink protection of swf/flt files. I can send hotlinking domains to 403, but I want to supply them with for example hotlink…

---

## [Matching server host name in location directive](https://www.ruby-forum.com/t/matching-server-host-name-in-location-directive/209069)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 18, 2011, 5:30am UTC](https://www.ruby-forum.com/t/matching-server-host-name-in-location-directive/209069 "2011-07-18T05:30:59Z")

</div>

Can someone help me answer this question at serverfault.comhttp://serverfault.com/questions/286828/nginx-matching-server-host-name-in-location-directive? Posted again I have nginx running multiple domains under a si…

---

## [Alias + fastcgi](https://www.ruby-forum.com/t/alias-fastcgi/209578)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 18, 2011, 4:30am UTC](https://www.ruby-forum.com/t/alias-fastcgi/209578 "2011-07-18T04:30:24Z")

</div>

Using aliases with fast cgi results in… strange results. With this config: location /cgi-bin/ { alias /home/nagios/nagios/sbin; include /etc/nginx/fastcgi.conf; fastcgi\_pass unix…

---

## [Nginx Tornado File Upload](https://www.ruby-forum.com/t/nginx-tornado-file-upload/209457)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [July 16, 2011, 3:10am UTC](https://www.ruby-forum.com/t/nginx-tornado-file-upload/209457 "2011-07-16T03:10:14Z")

</div>

I am trying to upload file via nginx\_upload\_module 2.2.0. I have nginx 1.0.4 setup as a reverse proxy with a tornado server at the backend. Below is my nginx.conf : #user nobody; worker\_processes 1; error\_log /va…

---

## [Wiki updated with reset\_timedout\_connection](https://www.ruby-forum.com/t/wiki-updated-with-reset-timedout-connection/209522)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 15, 2011, 9:30pm UTC](https://www.ruby-forum.com/t/wiki-updated-with-reset-timedout-connection/209522 "2011-07-15T21:30:16Z")

</div>

Hello, I’ve updated the Wiki with a directive that was missing from the english version: http://wiki.nginx.org/HttpCoreModule#reset\_timedout\_connection I’ve used the translation provided by Google of the original do…

---

## [How to get gzip\_static to recognize compressed files not ending with .gz?](https://www.ruby-forum.com/t/how-to-get-gzip-static-to-recognize-compressed-files-not-ending-with-gz/209269)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 15, 2011, 6:53pm UTC](https://www.ruby-forum.com/t/how-to-get-gzip-static-to-recognize-compressed-files-not-ending-with-gz/209269 "2011-07-15T18:53:39Z")

</div>

I’m working with a grails plugin that is a few years old and compresses .js and .css files in compressed bundles the naming convention it follows is \*.gz.js and \*.gz.css and doesn’t have an option for configuring this…

---

## [回复: Re: about "large file" and "resume download" on reverse proxy mode](https://www.ruby-forum.com/t/re-about-large-file-and-resume-download-on-reverse-proxy-mode/209526)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 15, 2011, 6:19pm UTC](https://www.ruby-forum.com/t/re-about-large-file-and-resume-download-on-reverse-proxy-mode/209526 "2011-07-15T18:19:32Z")

</div>

Thank your reply. But it is not for my question. When the item isn’t cached(If it is very large over 1G,it would take a long time to be cached),many normal users download it,then the proxy server would download the i…

---

## [About "large file" and "resume download" on reverse proxy mode](https://www.ruby-forum.com/t/about-large-file-and-resume-download-on-reverse-proxy-mode/209505)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 15, 2011, 2:49pm UTC](https://www.ruby-forum.com/t/about-large-file-and-resume-download-on-reverse-proxy-mode/209505 "2011-07-15T14:49:54Z")

</div>

Dear list, I am testing nginx with reverse proxy mode. I found that nginx download the file from upstream server to proxy\_temp\_path when I download a file from the reverse proxy server,if I stop and re-download,the n…

---

## [Captcha - No Caching?](https://www.ruby-forum.com/t/captcha-no-caching/209516)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 15, 2011, 2:30pm UTC](https://www.ruby-forum.com/t/captcha-no-caching/209516 "2011-07-15T14:30:07Z")

</div>

Hello Everybody, I have a Caching problem with any captcha pictures in nginx. HTTP-Header: GET /index.php?eID=sr\_freecap\_captcha&id=650 How can I tell nginx, that he will not caching this request, when there is the f…

---

## [Nginx ssl slow](https://www.ruby-forum.com/t/nginx-ssl-slow/209331)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 10\
**Last updated:** [July 15, 2011, 7:57am UTC](https://www.ruby-forum.com/t/nginx-ssl-slow/209331 "2011-07-15T07:57:46Z")

</div>

According to this article http://matt.io/entry/uq nginx is really slow at SSL. Is this true and should I be using stud to handle SSL connections, or is nginx actually fast an it’s a configuration issue or a fluke vers…

---

## [About "" "resume download" on reverse proxy mode](https://www.ruby-forum.com/t/about-resume-download-on-reverse-proxy-mode/209504)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [July 15, 2011, 7:38am UTC](https://www.ruby-forum.com/t/about-resume-download-on-reverse-proxy-mode/209504 "2011-07-15T07:38:00Z")

</div>

Dear list, I am testing nginx with reverse proxy mode. I found that nginx download the file from upstream server to proxy\_temp\_path when I download a file from the reverse proxy server,if I stop and re-download,the n…

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

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