# Server

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

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

---

## [Webdav & chunk encoding : error code 500](https://www.ruby-forum.com/t/webdav-chunk-encoding-error-code-500/237192)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [October 29, 2013, 11:42am UTC](https://www.ruby-forum.com/t/webdav-chunk-encoding-error-code-500/237192 "2013-10-29T11:42:22Z")

</div>

Hello, We’re trying to use an appliance with the Nginx Webdav server. It is a streaming encoding plateform which is trying to send chunks. But for each chunks, we got a 500 error. We noticed the following error logs …

---

## [Re: Webdav & chunk encoding : error code 500](https://www.ruby-forum.com/t/re-webdav-chunk-encoding-error-code-500/237193)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [October 29, 2013, 10:57am UTC](https://www.ruby-forum.com/t/re-webdav-chunk-encoding-error-code-500/237193 "2013-10-29T10:57:23Z")

</div>

mkdir -p /data/ram/864/.tmp ??

---

## [HttpLimitReqModule: In the error log, what is the unit of the "excess" value?](https://www.ruby-forum.com/t/httplimitreqmodule-in-the-error-log-what-is-the-unit-of-the-excess-value/237184)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [October 28, 2013, 7:15pm UTC](https://www.ruby-forum.com/t/httplimitreqmodule-in-the-error-log-what-is-the-unit-of-the-excess-value/237184 "2013-10-28T19:15:04Z")

</div>

Hi, This is an example of an entry in the log, left by HttpLimitReqModule: 2013/10/27 10:00:11 \[error\] 1402#0: \*313355 limiting requests, excess: 0.580 by zone “zone1”, client: 20.147.43.103, server: api.acme.com, re…

---

## [Rewrite last using variable](https://www.ruby-forum.com/t/rewrite-last-using-variable/237165)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [October 28, 2013, 10:57am UTC](https://www.ruby-forum.com/t/rewrite-last-using-variable/237165 "2013-10-28T10:57:44Z")

</div>

Hi, consider the following simplified nginx config snippet: set $var “/url?par=val”; location = /a { rewrite ^ $var redirect; } location = /b { rewrite ^ $var last; } location = /url { proxy\_pass http://some\_ba…

---

## [HttpLimitReqModule delivers "nginx/1.4.3" as a message for HTTP status code 429. Too generic!](https://www.ruby-forum.com/t/httplimitreqmodule-delivers-nginx-1-4-3-as-a-message-for-http-status-code-429-too-generic/237150)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [October 28, 2013, 12:26am UTC](https://www.ruby-forum.com/t/httplimitreqmodule-delivers-nginx-1-4-3-as-a-message-for-http-status-code-429-too-generic/237150 "2013-10-28T00:26:14Z")

</div>

Hi, I’m doing this: limit\_req\_status 429; The module HttpLimitReqModule delivers “nginx/1.4.3” (at least with version 1.4.3) as a message for the HTTP status code 429. That is too generic and not useful at all. Wh…

---

## [Various debugging info not shown (](https://www.ruby-forum.com/t/various-debugging-info-not-shown/237160)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [October 27, 2013, 10:18pm UTC](https://www.ruby-forum.com/t/various-debugging-info-not-shown/237160 "2013-10-27T22:18:52Z")

</div>

Hi, I am trying to debug handshakes and ticket reuse. Lot’s of debugging information is shown in my error\_log, but some info is skipped. Specifically, info from: /src/event/ngx\_event\_openssl.c. For example, ngx\_log\_d…

---

## [Limit\_req\_zone: How to apply only to some requests containing some string in the URL?](https://www.ruby-forum.com/t/limit-req-zone-how-to-apply-only-to-some-requests-containing-some-string-in-the-url/237072)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 13\
**Last updated:** [October 26, 2013, 2:53pm UTC](https://www.ruby-forum.com/t/limit-req-zone-how-to-apply-only-to-some-requests-containing-some-string-in-the-url/237072 "2013-10-26T14:53:45Z")

</div>

Hi, I’m using the limit\_req\_zone module. I would like it to act only on some requests that have a certain string in one variable in the query string of the URL.For example, lets say that I’m providing a IP geolocatio…

---

## [Passing / denying PHP requests](https://www.ruby-forum.com/t/passing-denying-php-requests/237092)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [October 26, 2013, 2:49pm UTC](https://www.ruby-forum.com/t/passing-denying-php-requests/237092 "2013-10-26T14:49:04Z")

</div>

Hello- I am trying to allow only the PHP files required for a given PHP package to function correctly, then deny access to all other PHP files to prevent people from snooping on the site’s configuration. I have creat…

---

## [Bad performance with static files + keepalive](https://www.ruby-forum.com/t/bad-performance-with-static-files-keepalive/237156)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [October 26, 2013, 2:09pm UTC](https://www.ruby-forum.com/t/bad-performance-with-static-files-keepalive/237156 "2013-10-26T14:09:56Z")

</div>

Hi List, i have a strange performance-issue on a server that serves static-files only (http + https), if files are bigger than 5k: rps drops from 6500 rps (empty file) to 13 rps when requesting a file 5k perftes…

---

## [Nginx lua capture\_multi fire and forget](https://www.ruby-forum.com/t/nginx-lua-capture-multi-fire-and-forget/237079)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [October 26, 2013, 8:09am UTC](https://www.ruby-forum.com/t/nginx-lua-capture-multi-fire-and-forget/237079 "2013-10-26T08:09:25Z")

</div>

Hi all, We’re currently using the lua capture\_multi to send production request to test systems. And sometimes we also kind of ‘fork’ these request to multiple test systems. But if one of the test systems is slow to…

---

## [Help in nginx in the my paper](https://www.ruby-forum.com/t/help-in-nginx-in-the-my-paper/237136)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [October 25, 2013, 8:32pm UTC](https://www.ruby-forum.com/t/help-in-nginx-in-the-my-paper/237136 "2013-10-25T20:32:54Z")

</div>

when the instal in nginx in to my paper Posted at Nginx Forum:

---

## [Too many open files and unix](https://www.ruby-forum.com/t/too-many-open-files-and-unix/237123)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 6:36pm UTC](https://www.ruby-forum.com/t/too-many-open-files-and-unix/237123 "2013-10-25T18:36:35Z")

</div>

Hello, today I had too many open files and I need some advice to investigate in this issue. I googled around and found a lot information how to solve this issue (e.g. Handling nginx's too many open files even I have …

---

## [Handler invokation after upstream server being picked](https://www.ruby-forum.com/t/handler-invokation-after-upstream-server-being-picked/237106)

<div class="topic-metadata">

**Author:** [@jandot](https://www.ruby-forum.com/u/jandot)\
**Replies:** 1\
**Last updated:** [October 25, 2013, 4:07pm UTC](https://www.ruby-forum.com/t/handler-invokation-after-upstream-server-being-picked/237106 "2013-10-25T16:07:28Z")

</div>

Hi, I am writing a module that needs to add/change the HTTP Authorization server for an upstream request. Since I am using a signature based authentication scheme where the signature base string includes the request …

---

## [Performance testing](https://www.ruby-forum.com/t/performance-testing/237125)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [October 25, 2013, 2:38pm UTC](https://www.ruby-forum.com/t/performance-testing/237125 "2013-10-25T14:38:02Z")

</div>

I’m getting under 5000 requests per second hitting just the nginx welcome page on a default configuration. Any tips to improve this please? setup is: macbook pro retina 10.8.3 RoverMR:webserver rover$ nginx -v ngi…

---

## [Proxy pass with rewrite](https://www.ruby-forum.com/t/proxy-pass-with-rewrite/237107)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 1:43pm UTC](https://www.ruby-forum.com/t/proxy-pass-with-rewrite/237107 "2013-10-25T13:43:40Z")

</div>

Hello, I would like to configure ngix with jenkins, nginx should be a proxy for the jenkins instance. I have configuration the proxy pass options in this way: location /jenkins { proxy\_pass http://localh…

---

## [Help: How to cache video in nginx when dynamic link request](https://www.ruby-forum.com/t/help-how-to-cache-video-in-nginx-when-dynamic-link-request/237105)

<div class="topic-metadata">

**Author:** [@Yuanjianyong\_SGeorg](https://www.ruby-forum.com/u/Yuanjianyong_SGeorg)\
**Replies:** 0\
**Last updated:** [October 25, 2013, 1:06pm UTC](https://www.ruby-forum.com/t/help-how-to-cache-video-in-nginx-when-dynamic-link-request/237105 "2013-10-25T13:06:16Z")

</div>

Hi, everybody, Please give me a hand. In VOD system, Nginx is reverse proxy and Lighttpd is application server with video files. And getting video files is the type “play.jsp?videoid=123456”. Now , I want to cache v…

---

## [Proxy\_pass Cannot GET](https://www.ruby-forum.com/t/proxy-pass-cannot-get/237119)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 12:27pm UTC](https://www.ruby-forum.com/t/proxy-pass-cannot-get/237119 "2013-10-25T12:27:41Z")

</div>

nginx is working, but, when doing proxy\_pass, gives me: Cannot GET /nodejs here are the lines I’ve added to nginx.conf ProxyPass nodejs localhost:2345 ProxyPassReverse nodejs localhost:2345 2345 is where my node ser…

---

## [Running code in nginx's master process](https://www.ruby-forum.com/t/running-code-in-nginxs-master-process/246469)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 24, 2013, 6:50pm UTC](https://www.ruby-forum.com/t/running-code-in-nginxs-master-process/246469 "2013-10-24T18:50:02Z")

</div>

Is it possible to have a module run code in nginx’s master process, i.e. not in a worker process? I know init\_master is just a stub for now. Are there any chances this gets implemented in the near future? Thanks in…

---

## [Nginx and iis for sharepoint](https://www.ruby-forum.com/t/nginx-and-iis-for-sharepoint/237104)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 24, 2013, 4:17pm UTC](https://www.ruby-forum.com/t/nginx-and-iis-for-sharepoint/237104 "2013-10-24T16:17:31Z")

</div>

Hi all, I am attempting to implement nginx as a reverse proxy to a sharepoint server with SSL and user-authentication. The problem I am having is nginx does not appear to pass the credentials to the real server. I’…

---

## [Whats is the correct message sequence for nginx server?](https://www.ruby-forum.com/t/whats-is-the-correct-message-sequence-for-nginx-server/246500)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 23, 2013, 11:28pm UTC](https://www.ruby-forum.com/t/whats-is-the-correct-message-sequence-for-nginx-server/246500 "2013-10-23T23:28:48Z")

</div>

I am running nginx-1.5 server and sending chrome browser simple websocket request. My nginx server is confgiured with hello module which is supposed to send “Hello world” in response. As per RFC for websocket, a sev…

---

## [NGINX and php-fpm -\> HTML runs, php gives 502](https://www.ruby-forum.com/t/nginx-and-php-fpm-html-runs-php-gives-502/237085)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 23, 2013, 4:39pm UTC](https://www.ruby-forum.com/t/nginx-and-php-fpm-html-runs-php-gives-502/237085 "2013-10-23T16:39:00Z")

</div>

hi, apparently have some problems with it so I am not better . Unfortunately, past attempts have brought nothing to use the information from other posts . And so , I really hope that this one can help ^ ^ So, I have…

---

## [Ngginx reverse proxy issue](https://www.ruby-forum.com/t/ngginx-reverse-proxy-issue/237055)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [October 23, 2013, 6:34am UTC](https://www.ruby-forum.com/t/ngginx-reverse-proxy-issue/237055 "2013-10-23T06:34:01Z")

</div>

Hi we are using nginx as proxy the request to back-end t web application , but some times when users accessing webapp via proxy , they faced some unusual behaviors like buttons are not clicking , Dropdown lists are …

---

## [Phpbb problems](https://www.ruby-forum.com/t/phpbb-problems/237057)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 22, 2013, 10:24pm UTC](https://www.ruby-forum.com/t/phpbb-problems/237057 "2013-10-22T22:24:50Z")

</div>

I am having some problems with phpbb loading the style sheets for the admin area, and also the URLs look strange which could be related. I am using an nginx server config I pulled off the web which is suppossed to be …

---

## [Rewrite Rule Assistance](https://www.ruby-forum.com/t/rewrite-rule-assistance/237059)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 22, 2013, 9:06pm UTC](https://www.ruby-forum.com/t/rewrite-rule-assistance/237059 "2013-10-22T21:06:32Z")

</div>

I am trying to create a rewrite rule that will append a JPG to dynamically created URL but have the browser still go to the original URL. IE: http://server/user/info/image to http://server/user/info/image.jpg but st…

---

## [Generating/Updating .gz files for gzip\_static](https://www.ruby-forum.com/t/generating-updating-gz-files-for-gzip-static/237064)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [October 22, 2013, 5:34pm UTC](https://www.ruby-forum.com/t/generating-updating-gz-files-for-gzip-static/237064 "2013-10-22T17:34:58Z")

</div>

I’m new to nginx. I love the gzip\_static option and I;ve been thinking about the best way to generate, update and delete these files. I wrote an article here: http://www.richnetapps.com/generation-of-gzip-files-for-n…

---

## [Re: correct notation of nginx](https://www.ruby-forum.com/t/re-correct-notation-of-nginx/237053)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 22, 2013, 5:07am UTC](https://www.ruby-forum.com/t/re-correct-notation-of-nginx/237053 "2013-10-22T05:07:22Z")

</div>

Hello! 2013/10/22 Maxim D. removed\_email\_address@domain.invalid But, actually, most of us don’t really care. Thanks. I’ll use “nginx” from now. – Tatsuhiko Kubo E-Mail : removed\_email\_address@domain.invalid HP …

---

## [Do i need mod\_security for nginx?](https://www.ruby-forum.com/t/do-i-need-mod-security-for-nginx/237051)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 21, 2013, 11:41pm UTC](https://www.ruby-forum.com/t/do-i-need-mod-security-for-nginx/237051 "2013-10-21T23:41:52Z")

</div>

Today i found one particular IP address which was trying a lot of things in my server. For a second, it was sending atleast 50 requests. It was keep on accessing my admin login page with post and get request That IP…

---

## [Authentication error or maybe it isn't? - no user/password was provided](https://www.ruby-forum.com/t/authentication-error-or-maybe-it-isnt-no-user-password-was-provided/237036)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 8\
**Last updated:** [October 21, 2013, 8:41pm UTC](https://www.ruby-forum.com/t/authentication-error-or-maybe-it-isnt-no-user-password-was-provided/237036 "2013-10-21T20:41:18Z")

</div>

I have set up an Nginx as a front end to manage secure connection and authorization for the Radicale calendar server which I use to synch my Lightning calendar on my desktop, laptop and Android phone (it uses the Cald…

---

## [Correct notation of nginx](https://www.ruby-forum.com/t/correct-notation-of-nginx/246447)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [October 21, 2013, 8:03pm UTC](https://www.ruby-forum.com/t/correct-notation-of-nginx/246447 "2013-10-21T20:03:55Z")

</div>

Hello. Though I’m sometimes stumped about how to describing the notation of nginx in text, is there an official notation of nginx? In detail, I’m sometimes stumped about whether selecting from the followings. ngi…

---

## [Make 1 root file accessible, and serve it for all requests](https://www.ruby-forum.com/t/make-1-root-file-accessible-and-serve-it-for-all-requests/246479)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 21, 2013, 4:24pm UTC](https://www.ruby-forum.com/t/make-1-root-file-accessible-and-serve-it-for-all-requests/246479 "2013-10-21T16:24:44Z")

</div>

I have a version of this working, but I suspect my solution is not the best one. Please suggest any improvements I can make to my conf file. I am attempting to do the following: If any file is requested from the…

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

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