# Server

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

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

---

## [Thread started by module put to sleep state](https://www.ruby-forum.com/t/thread-started-by-module-put-to-sleep-state/245513)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [June 6, 2013, 5:17pm UTC](https://www.ruby-forum.com/t/thread-started-by-module-put-to-sleep-state/245513 "2013-06-06T17:17:47Z")

</div>

Hi everyone, I’ve been trying to embed mono within nginx to serve requests with just for learning purposes (I know there is a FastCGI server for mono out there), and I’m running into a problem. When I call into C# …

---

## [Proxypass subfolder entries to another link](https://www.ruby-forum.com/t/proxypass-subfolder-entries-to-another-link/245526)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [June 6, 2013, 3:16pm UTC](https://www.ruby-forum.com/t/proxypass-subfolder-entries-to-another-link/245526 "2013-06-06T15:16:50Z")

</div>

Dear Support Currently we have nginx proxypass to tomcat service and is working fine. server { listen 80; server\_name app.geo.com; location / { if (!-e $request\_filename) { rewrite ^/(.)$ /index.php?q=…

---

## [Etag support](https://www.ruby-forum.com/t/etag-support/245520)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [June 6, 2013, 6:11am UTC](https://www.ruby-forum.com/t/etag-support/245520 "2013-06-06T06:11:10Z")

</div>

Are etags supported in nginx? I am running nginx/1.4.1 Posted at Nginx Forum:

---

## [Fastcgi\_read\_timeout with PHP backend](https://www.ruby-forum.com/t/fastcgi-read-timeout-with-php-backend/245401)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 16\
**Last updated:** [June 5, 2013, 4:29pm UTC](https://www.ruby-forum.com/t/fastcgi-read-timeout-with-php-backend/245401 "2013-06-05T16:29:37Z")

</div>

Hello, I am trying to understand how fastcgi\_read\_timout works in Nginx. Here is what I wanna do: I list files (few MB each) on a distant place which I copy one by one (loop) on the local disk through PHP. I do not …

---

## [Slow streaming due to high %utilization!](https://www.ruby-forum.com/t/slow-streaming-due-to-high-utilization/245505)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [June 5, 2013, 10:06am UTC](https://www.ruby-forum.com/t/slow-streaming-due-to-high-utilization/245505 "2013-06-05T10:06:20Z")

</div>

Hello, We're using nginx-1.2.8 to stream large files size 1G but found the slow stream with high utilization of harddrive using command “iostat -x -d 3” Device: rrqm/s wrqm/s r/s w/s rsec/…

---

## [HTTP status codes missing description in header for proxy\_pass](https://www.ruby-forum.com/t/http-status-codes-missing-description-in-header-for-proxy-pass/245486)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [June 4, 2013, 10:09pm UTC](https://www.ruby-forum.com/t/http-status-codes-missing-description-in-header-for-proxy-pass/245486 "2013-06-04T22:09:54Z")

</div>

We’re using nginx as a middle layer in front of our application server (mod\_perl). When mod\_perl returns an error page, the HTTP status line is missing the “reason phrase” after the status code, like “Not Found”, e.…

---

## [Ulimit in the ubuntu package](https://www.ruby-forum.com/t/ulimit-in-the-ubuntu-package/245478)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 9\
**Last updated:** [June 4, 2013, 7:13pm UTC](https://www.ruby-forum.com/t/ulimit-in-the-ubuntu-package/245478 "2013-06-04T19:13:22Z")

</div>

Hi, I’m using the ubuntu package from nginx.org. In the package from the official ubuntu repo, you can set file descriptor limit by changing /etc/default/nginx Check if the ULIMIT is set in /etc/default/nginx if \[ …

---

## [Nginx-1.5.1](https://www.ruby-forum.com/t/nginx-1-5-1/245519)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [June 4, 2013, 6:34pm UTC](https://www.ruby-forum.com/t/nginx-1-5-1/245519 "2013-06-04T18:34:48Z")

</div>

Changes with nginx 1.5.1 04 Jun 2013 \*) Feature: the "ssi\_last\_modified", "sub\_filter\_last\_modified", and "xslt\_last\_modified" directives. Thanks to Alexey Kolpakov. \*) Fe…

---

## [Nginx permission denied for tmp directory (with correct user)](https://www.ruby-forum.com/t/nginx-permission-denied-for-tmp-directory-with-correct-user/235176)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 4, 2013, 5:58am UTC](https://www.ruby-forum.com/t/nginx-permission-denied-for-tmp-directory-with-correct-user/235176 "2013-06-04T05:58:40Z")

</div>

Whenever I submit a long post from within wordpress, I get the following error: 2013/06/04 03:04:19 \[crit\] 12248#0: \*491 open() “/var/lib/nginx/tmp/client\_body/0000000008” failed (13: Permission denied) It works fin…

---

## [WBB ACP HTTPS Rewrite rule](https://www.ruby-forum.com/t/wbb-acp-https-rewrite-rule/245464)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [June 4, 2013, 2:38am UTC](https://www.ruby-forum.com/t/wbb-acp-https-rewrite-rule/245464 "2013-06-04T02:38:46Z")

</div>

Hello, I’m trying since about half an hour to get SSL-only on the administration panel of Woltlab burning board working, but without success. The rule will just be ignored. What I currently have: location /acp/(.)…

---

## [Memory Management ( \> 25GB memory usage)](https://www.ruby-forum.com/t/memory-management-25gb-memory-usage/235157)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [June 3, 2013, 5:18pm UTC](https://www.ruby-forum.com/t/memory-management-25gb-memory-usage/235157 "2013-06-03T17:18:39Z")

</div>

Hello nginx! I have one worker-process, which uses over 25GB memory (and doesn’t stop to do that). My configuration is… let’s say special: So there is nginx, which proxies all requests to the PHP backend and the PH…

---

## [Upstream may not have port 80 ; upgrade from 1.2.1 to 1.4.1](https://www.ruby-forum.com/t/upstream-may-not-have-port-80-upgrade-from-1-2-1-to-1-4-1/235153)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [June 3, 2013, 2:53pm UTC](https://www.ruby-forum.com/t/upstream-may-not-have-port-80-upgrade-from-1-2-1-to-1-4-1/235153 "2013-06-03T14:53:07Z")

</div>

Hi, After running nginx 1.2.1 with the following configuration, I now get warnings when testing the same configuration under 1.4.1 Any advice on this would be highly appreciated. \[error\] $ nginx -t -c /tmp/nginx.con…

---

## [Import Static File into MogileFS](https://www.ruby-forum.com/t/import-static-file-into-mogilefs/235154)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [June 3, 2013, 1:39pm UTC](https://www.ruby-forum.com/t/import-static-file-into-mogilefs/235154 "2013-06-03T13:39:29Z")

</div>

hi all i want to ask about importing our existing static files into nginx + mogilefs module is that posibble to add like proxy\_store and proxy\_pass from http address?

---

## [Prevent NGINX from rerouting to a backend that was previously down](https://www.ruby-forum.com/t/prevent-nginx-from-rerouting-to-a-backend-that-was-previously-down/235152)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [June 3, 2013, 6:28am UTC](https://www.ruby-forum.com/t/prevent-nginx-from-rerouting-to-a-backend-that-was-previously-down/235152 "2013-06-03T06:28:52Z")

</div>

I’m using NGINX’s ip\_hash directive to ensure that client requests always end up at the same backend server. In the case of a backend server outage, NGINX will reroute to the available server, and since I can listen …

---

## [Rewrite utf8 : why lower case](https://www.ruby-forum.com/t/rewrite-utf8-why-lower-case/235145)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [June 2, 2013, 4:08pm UTC](https://www.ruby-forum.com/t/rewrite-utf8-why-lower-case/235145 "2013-06-02T16:08:23Z")

</div>

Hi I have some routes that was previously with uppercase for language and now I want lowrcase. here is a route : /Ka/განცხადებები that should simply become /ka/განცხადებები in my conf if ($uri ~ ^/K(.+)){ set $bb $1;…

---

## [Need help on proxy passing](https://www.ruby-forum.com/t/need-help-on-proxy-passing/235128)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [June 2, 2013, 2:03pm UTC](https://www.ruby-forum.com/t/need-help-on-proxy-passing/235128 "2013-06-02T14:03:20Z")

</div>

I experience an issue on missing some part of the page (Long page) on passing proxy requests. Please help me to solve this. Thank You. My configuration file is as follow. server { root /usr/share/nginx/www; index in…

---

## [If statement + ssl\_certificate?](https://www.ruby-forum.com/t/if-statement-ssl-certificate/235115)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 11\
**Last updated:** [June 2, 2013, 11:37am UTC](https://www.ruby-forum.com/t/if-statement-ssl-certificate/235115 "2013-06-02T11:37:50Z")

</div>

Is it possible? or has it been forbidden in recent versions? Because I tried and it does not allow it. Posted at Nginx Forum:

---

## [Bad root document set via proxy\_pass](https://www.ruby-forum.com/t/bad-root-document-set-via-proxy-pass/245414)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [June 1, 2013, 11:25am UTC](https://www.ruby-forum.com/t/bad-root-document-set-via-proxy-pass/245414 "2013-06-01T11:25:22Z")

</div>

Hello everybody, I am using several instances of Nginx (1.4.1). One as a LoadBalancer and the others to host rails applications (using module passenger). Depending of the url, I forward to the proper backend: locati…

---

## [Making supervisord web interface viewable on nginx](https://www.ruby-forum.com/t/making-supervisord-web-interface-viewable-on-nginx/235125)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [June 1, 2013, 3:53am UTC](https://www.ruby-forum.com/t/making-supervisord-web-interface-viewable-on-nginx/235125 "2013-06-01T03:53:47Z")

</div>

using the inet interface on supervisord was simple ( proxying to port 9001) i wanted to turn that off, avoid tcp and just use the unix socket after a bit of tinkering, this seems to work : proxy\_pass http://unix:///t…

---

## [HttpUploadModule - after upload file won't move/rename](https://www.ruby-forum.com/t/httpuploadmodule-after-upload-file-wont-move-rename/235124)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [June 1, 2013, 12:06am UTC](https://www.ruby-forum.com/t/httpuploadmodule-after-upload-file-wont-move-rename/235124 "2013-06-01T00:06:29Z")

</div>

I’m trying to setup a very simple HTTP POST file upload server. I’m trying to POST files via curl, without worrying about forms or responses, etc. I just want to drop the file in nginx, and have it land. So far, th…

---

## [Problem setting up certificate](https://www.ruby-forum.com/t/problem-setting-up-certificate/245480)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [May 31, 2013, 9:05pm UTC](https://www.ruby-forum.com/t/problem-setting-up-certificate/245480 "2013-05-31T21:05:20Z")

</div>

I’m getting this error after installing the certificate & key: \[emerg\] 809#0: SSL\_CTX\_use\_PrivateKey\_file(“/paging/site/config/server.key”) failed (SSL: error:0B080074:x509 certificate routines:X509\_check\_private\_key…

---

## [Using a proxied server as default\_server](https://www.ruby-forum.com/t/using-a-proxied-server-as-default-server/245472)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [May 31, 2013, 1:30pm UTC](https://www.ruby-forum.com/t/using-a-proxied-server-as-default-server/245472 "2013-05-31T13:30:45Z")

</div>

Hi, I have a tomcat app running behind nginx, it works, now I make it the default\_server, this works if it access with server name like sample.com, but if access with an IP, http://192.168.1.1, it does not work, any …

---

## [Secure websocket (wss) proxy support in nginx](https://www.ruby-forum.com/t/secure-websocket-wss-proxy-support-in-nginx/235107)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [May 31, 2013, 9:50am UTC](https://www.ruby-forum.com/t/secure-websocket-wss-proxy-support-in-nginx/235107 "2013-05-31T09:50:29Z")

</div>

Say if I want to proxy both websocket (ws) and secure websocket traffic, would latest version of Nginx support that? What would be the conf? Thanks, Alder

---

## [Ldap authentication passing to tomcat](https://www.ruby-forum.com/t/ldap-authentication-passing-to-tomcat/235098)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [May 30, 2013, 10:41pm UTC](https://www.ruby-forum.com/t/ldap-authentication-passing-to-tomcat/235098 "2013-05-30T22:41:00Z")

</div>

I am using nginx 1.4.1 as reverse proxy for tomcat 7.0.33. Using LDAP for user authentication. Everything works fine except one critical thing: the authenticated user ID does not get to tomcat. I see it in the Tomca…

---

## [Newbie needs help](https://www.ruby-forum.com/t/newbie-needs-help/245421)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [May 30, 2013, 3:47pm UTC](https://www.ruby-forum.com/t/newbie-needs-help/245421 "2013-05-30T15:47:54Z")

</div>

Hi, new in ths nginx, with following config, I want to achieve: http://sample.com/ render index.html http://sample.com/test, or anything after ‘/’ path, render index.html server { listen 80; server\_name …

---

## [Howto force text type of dir/subdir/file?](https://www.ruby-forum.com/t/howto-force-text-type-of-dir-subdir-file/235075)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [May 30, 2013, 12:38am UTC](https://www.ruby-forum.com/t/howto-force-text-type-of-dir-subdir-file/235075 "2013-05-30T00:38:06Z")

</div>

Hi, On a CentOS 6.4 box with nginx 1.4.1 I would like to expose /usr/share/doc/\* as /doc so I can easily browse the docs from the installed packages. Config I have right now (thanks Nodex on irc for pointing me to ty…

---

## [Content-Length header with HEAD response](https://www.ruby-forum.com/t/content-length-header-with-head-response/235071)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [May 29, 2013, 2:53pm UTC](https://www.ruby-forum.com/t/content-length-header-with-head-response/235071 "2013-05-29T14:53:36Z")

</div>

Hi I am trying to configure Nginx to deny HTTP HEAD requests By adding the following to configuration file if ($request\_method !~ ^(GET)$) { return 405; } Explicitly in the module if (!(r-\>method & (NGX\_HTTP\_GET…

---

## [Error message: invalid number of arguments in "proxy\_pass" directive](https://www.ruby-forum.com/t/error-message-invalid-number-of-arguments-in-proxy-pass-directive/235055)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [May 28, 2013, 11:10pm UTC](https://www.ruby-forum.com/t/error-message-invalid-number-of-arguments-in-proxy-pass-directive/235055 "2013-05-28T23:10:58Z")

</div>

Hello guys I’m using nginx as a load balancer between 2 apache webservers for a school assignment, but i can’t get it working. My nginx server (running on ubuntu server) won’t start… He keeps giving met this error: …

---

## [Safe to call ngx\_http\_subrequest inside location handler?](https://www.ruby-forum.com/t/safe-to-call-ngx-http-subrequest-inside-location-handler/235048)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [May 28, 2013, 7:20pm UTC](https://www.ruby-forum.com/t/safe-to-call-ngx-http-subrequest-inside-location-handler/235048 "2013-05-28T19:20:11Z")

</div>

Hello, So according to evan miller’s tutorial and nginx’s own source code, it seems only filters can send subrequests. But I have tried to call ngx\_http\_subrequest inside my location handler, and everything seems wo…

---

## [Nginx 1.4.1 + 'gzip on' causes download of file instead of displaying it in browser](https://www.ruby-forum.com/t/nginx-1-4-1-gzip-on-causes-download-of-file-instead-of-displaying-it-in-browser/235040)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [May 28, 2013, 12:34pm UTC](https://www.ruby-forum.com/t/nginx-1-4-1-gzip-on-causes-download-of-file-instead-of-displaying-it-in-browser/235040 "2013-05-28T12:34:06Z")

</div>

when i use nginx 1.4.1 + ‘gzip on’, once in every 2 requests i get the index.php (which its output is text/html) being downloaded by the browser as unknown file type instead of displayed in it (the broswer displays th…

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

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