# Server

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

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

---

## [Stub\_status newrelic plugin](https://www.ruby-forum.com/t/stub-status-newrelic-plugin/242599)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [July 6, 2015, 3:41pm UTC](https://www.ruby-forum.com/t/stub-status-newrelic-plugin/242599 "2015-07-06T15:41:29Z")

</div>

Hello nginx experts, I wonder how nginx generate the server status by stub\_status directive. I have set several virtual host on single server and I put the several nginx server behind load balancer. I have 2 questio…

---

## [Websocket causes "client sent invalid method."](https://www.ruby-forum.com/t/websocket-causes-client-sent-invalid-method/242537)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [July 6, 2015, 3:02pm UTC](https://www.ruby-forum.com/t/websocket-causes-client-sent-invalid-method/242537 "2015-07-06T15:02:19Z")

</div>

Hello, I’m trying setup nginx for socket proxy. I was able to find that nginx can be configured to proxy websockets and added an error log file in the server configuration block to isolate the messages, and I get: c…

---

## [High load due to reload](https://www.ruby-forum.com/t/high-load-due-to-reload/242420)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [July 6, 2015, 2:37pm UTC](https://www.ruby-forum.com/t/high-load-due-to-reload/242420 "2015-07-06T14:37:12Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [Debian Packages from nginx.org](https://www.ruby-forum.com/t/debian-packages-from-nginx-org/242594)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [July 6, 2015, 11:35am UTC](https://www.ruby-forum.com/t/debian-packages-from-nginx-org/242594 "2015-07-06T11:35:31Z")

</div>

Hey Guys, the Debian package for latest stable nginx contains a logrotate.d file with following contents: "create 640 nginx adm However, the package does not create a user debian and the user does not exist in Debia…

---

## [OCSP stapling for client certificates](https://www.ruby-forum.com/t/ocsp-stapling-for-client-certificates/231745)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 6, 2015, 1:44am UTC](https://www.ruby-forum.com/t/ocsp-stapling-for-client-certificates/231745 "2015-07-06T01:44:20Z")

</div>

Hi, I was able to setup nignx with client certificate authentication and OCSP stapling. I however noticed that OCSP is used only for the nginx server ssl certificate. It does not use OCSP for validating client cert…

---

## [Rewrite URL](https://www.ruby-forum.com/t/rewrite-url/242585)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [July 4, 2015, 8:54pm UTC](https://www.ruby-forum.com/t/rewrite-url/242585 "2015-07-04T20:54:37Z")

</div>

Hello, I try to use Nginx as a proxy (for SSL) on a Jetty server. The Jetty application should be accessed by a subdirectory of my Nginx. I have setup this location configuration: location /myapp { proxy\_pass …

---

## [Nginx support fot Weedfs!](https://www.ruby-forum.com/t/nginx-support-fot-weedfs/242457)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [July 4, 2015, 12:14pm UTC](https://www.ruby-forum.com/t/nginx-support-fot-weedfs/242457 "2015-07-04T12:14:43Z")

</div>

Hi, We’re deploying WeedFS distributed filesystem for thumbs storage and scalabilty. Weedfs is composed of two layers (Master, Volume). Master server does all metadata mapping to track the corresponding volume server …

---

## [SSL on/off on same port and IP](https://www.ruby-forum.com/t/ssl-on-off-on-same-port-and-ip/242424)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [July 4, 2015, 8:47am UTC](https://www.ruby-forum.com/t/ssl-on-off-on-same-port-and-ip/242424 "2015-07-04T08:47:55Z")

</div>

Hi, consider the following very simple nginx config: http { server { listen 127.0.0.1:123; server\_name abc; } server { listen 127.0.0.1:123 ssl; server\_name xyz; ssl\_certificate…; } } In words: I instruct n…

---

## [Trac.nginx.org incorrect https](https://www.ruby-forum.com/t/trac-nginx-org-incorrect-https/242461)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [July 4, 2015, 7:58am UTC](https://www.ruby-forum.com/t/trac-nginx-org-incorrect-https/242461 "2015-07-04T07:58:50Z")

</div>

I noticed that trac.nginx.org has https/SNI configured for the host but no actual ssl configuration (how do you even do that): $ openssl s\_client -connect trac.nginx.org:443 -servername trac.nginx.org CONNECTED(0000…

---

## [Nginx-1.9.2 + ssl + spdy segfault](https://www.ruby-forum.com/t/nginx-1-9-2-ssl-spdy-segfault/242543)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [July 4, 2015, 7:12am UTC](https://www.ruby-forum.com/t/nginx-1-9-2-ssl-spdy-segfault/242543 "2015-07-04T07:12:41Z")

</div>

Segfault in nginx-1.9.2 with ssl and spdy module nginx -V nginx version: nginx/1.9.2 built by gcc 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) built with OpenSSL 1.0.1e-fips 11 Feb 2013 TLS SNI support enabled configure …

---

## [uWSGI - upstream prematurely closed connection while reading response header from upstream](https://www.ruby-forum.com/t/uwsgi-upstream-prematurely-closed-connection-while-reading-response-header-from-upstream/242459)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [July 3, 2015, 7:07pm UTC](https://www.ruby-forum.com/t/uwsgi-upstream-prematurely-closed-connection-while-reading-response-header-from-upstream/242459 "2015-07-03T19:07:44Z")

</div>

Hi, I have a script which runs for 70 seconds. I have NGINX connecting to it via uWSGI. I have set “uwsgi\_read\_timeout 90;”. However, NGINX drops the connection exactly at 60 seconds - “upstream prematurely closed …

---

## [OpenResty 1.7.10.2 released](https://www.ruby-forum.com/t/openresty-1-7-10-2-released/242570)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [July 3, 2015, 11:50am UTC](https://www.ruby-forum.com/t/openresty-1-7-10-2-released/242570 "2015-07-03T11:50:11Z")

</div>

Hi folks! I am pleased to announce the new formal release, 1.7.10.2, of the OpenResty bundle: https://openresty.org/#Download We include a lot of fixes and new features accumulated in the last few months. Special t…

---

## [Resolver for upstream](https://www.ruby-forum.com/t/resolver-for-upstream/230582)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [July 2, 2015, 10:49am UTC](https://www.ruby-forum.com/t/resolver-for-upstream/230582 "2015-07-02T10:49:13Z")

</div>

We are trying to use resolver on upstream. It is not working for some reason. We are using nginx 1.6.0. Supposedly the feature should be available on 1.5.12. When we try to use it, It always give us an error. nginx: …

---

## [Small bug in src/stream/ngx\_stream\_proxy\_module.c](https://www.ruby-forum.com/t/small-bug-in-src-stream-ngx-stream-proxy-module-c/242510)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [July 2, 2015, 10:36am UTC](https://www.ruby-forum.com/t/small-bug-in-src-stream-ngx-stream-proxy-module-c/242510 "2015-07-02T10:36:57Z")

</div>

(1066) : warning C4244: ‘=’ : conversion from ‘off\_t’ to ‘size\_t’, possible loss of data diff line 1066: if (size \> (size\_t) limit) { size = limit; size = (size\_t) limit; …

---

## [Static content](https://www.ruby-forum.com/t/static-content/242526)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [June 30, 2015, 11:50pm UTC](https://www.ruby-forum.com/t/static-content/242526 "2015-06-30T23:50:41Z")

</div>

Hi, I have NGinx 1.8.0 installed successfully and configured NGinx… with upstream servers provided. NGinx and Services are deployed on separate machines. Now, when an request is made via NGinx, the service is invoked …

---

## [Serving from cache even when the origin server goes down](https://www.ruby-forum.com/t/serving-from-cache-even-when-the-origin-server-goes-down/242520)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [June 30, 2015, 5:36pm UTC](https://www.ruby-forum.com/t/serving-from-cache-even-when-the-origin-server-goes-down/242520 "2015-06-30T17:36:45Z")

</div>

Is it possible to configure Nginx to serve from cache even when the origin server is not accessible? I am trying to figure out if I can use a replicated Nginx instance that has cache files rsynced (lsyncd http://t.…

---

## [Unknown directive "thread\_pool"](https://www.ruby-forum.com/t/unknown-directive-thread-pool/242104)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 17\
**Last updated:** [June 30, 2015, 4:53pm UTC](https://www.ruby-forum.com/t/unknown-directive-thread-pool/242104 "2015-06-30T16:53:31Z")

</div>

Hi First time trying aio threads on linux, and I am getting this error \[emerg\] 19909#0: unknown directive “thread\_pool” in /usr/local/nginx/conf/nginx.conf:7 Line7 reads: thread\_pool testpool threads=64 max\_queue=65…

---

## [Nginx-1.9.2 fatal code 2!](https://www.ruby-forum.com/t/nginx-1-9-2-fatal-code-2/242518)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 30, 2015, 2:47pm UTC](https://www.ruby-forum.com/t/nginx-1-9-2-fatal-code-2/242518 "2015-06-30T14:47:54Z")

</div>

Hi, We’ve just compiled latest nginx-1.9.2 on Debian wheezy 7 in order to utilize aio threads directive for our storage but nginx started to crash since we enabled aio threads on it. Following is the compiled options …

---

## [Can thread pool improve performance for such scenario](https://www.ruby-forum.com/t/can-thread-pool-improve-performance-for-such-scenario/242521)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [June 30, 2015, 1:19pm UTC](https://www.ruby-forum.com/t/can-thread-pool-improve-performance-for-such-scenario/242521 "2015-06-30T13:19:41Z")

</div>

Hi All: I am using Nginx as a reverse proxy which provide a web API (HTTP GET ) to client. and the backend application will get request from nginx and do some time-consuming processing (1-2 seconds) then response res…

---

## [Slow response times](https://www.ruby-forum.com/t/slow-response-times/242523)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [June 30, 2015, 8:42am UTC](https://www.ruby-forum.com/t/slow-response-times/242523 "2015-06-30T08:42:11Z")

</div>

We are currently using nginx/1.7.10 @Ubuntu12.04 for serving high load webapp with about 12-15k QPS mostly tiny requests / HTTP/1.1 keep-alive mode. Nginx is used as proxy for http backends. From time to time we are …

---

## [Reverse proxy setup problem](https://www.ruby-forum.com/t/reverse-proxy-setup-problem/242519)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [June 30, 2015, 4:35am UTC](https://www.ruby-forum.com/t/reverse-proxy-setup-problem/242519 "2015-06-30T04:35:39Z")

</div>

I have created a reverse proxy for 2 web servers both are running about 10 sites each, they use to be on seperate external IP’s but now need to be behind the same one. Using Nginx I setup a reverse proxy on a seperat…

---

## [Nginx and fastcgi with c](https://www.ruby-forum.com/t/nginx-and-fastcgi-with-c/242508)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 29, 2015, 12:36pm UTC](https://www.ruby-forum.com/t/nginx-and-fastcgi-with-c/242508 "2015-06-29T12:36:24Z")

</div>

Where can I find good tutorials on writing fastcgi applications with nginx and c ? ( Googling didn’t help much. ) How do I handle HTTP requests received by the nginx server with c code ? Please point out some resourc…

---

## [Malware in /tmp/nginx\_client](https://www.ruby-forum.com/t/malware-in-tmp-nginx-client/242489)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [June 29, 2015, 11:12am UTC](https://www.ruby-forum.com/t/malware-in-tmp-nginx-client/242489 "2015-06-29T11:12:52Z")

</div>

The software maldet, discovered some malware in the the /tmp/nginx\_client directory, like this: {HEX}php.cmdshell.unclassed.357 : /tmp/nginx\_client/0050030641 {HEX}php.cmdshell.unclassed.357 : /tmp/nginx\_client/0060…

---

## [Documentation of buf struct](https://www.ruby-forum.com/t/documentation-of-buf-struct/242502)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [June 28, 2015, 5:13pm UTC](https://www.ruby-forum.com/t/documentation-of-buf-struct/242502 "2015-06-28T17:13:20Z")

</div>

I am not very clear on the purpose of different data members within the buf structure.(appended below) After looking through the code, I can figure out the purpose of pos,last (sliding window) file\_pos, file\_last…

---

## [Understanding alias (used as rewrite)](https://www.ruby-forum.com/t/understanding-alias-used-as-rewrite/242402)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 10\
**Last updated:** [June 27, 2015, 9:05am UTC](https://www.ruby-forum.com/t/understanding-alias-used-as-rewrite/242402 "2015-06-27T09:05:00Z")

</div>

Hi, I’m confused about the details of “alias” used as a kind of rewrite (which should be more efficient as I understand it, as long as its appropriately used). I found I can do this: location = /path/number/one.html …

---

## [Dash in request url messes up regex?](https://www.ruby-forum.com/t/dash-in-request-url-messes-up-regex/242477)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 7:45pm UTC](https://www.ruby-forum.com/t/dash-in-request-url-messes-up-regex/242477 "2015-06-26T19:45:51Z")

</div>

I am requesting the url /magento-check.php and it gives me the php code instead of running it through fpm. Other php files work just fine. Seems like the dash is screwing with the php regex location and going through …

---

## [Requests are not concurrent with SPDY and proxy\_cache modules](https://www.ruby-forum.com/t/requests-are-not-concurrent-with-spdy-and-proxy-cache-modules/242480)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 5:03pm UTC](https://www.ruby-forum.com/t/requests-are-not-concurrent-with-spdy-and-proxy-cache-modules/242480 "2015-06-26T17:03:26Z")

</div>

Hi all, I’m experiencing a strange behaviour on my SPDY tests. I use nginx as a reverse proxy of a node.Js application. I enabled spdy module and proxy\_cache (nginx.conf file bellow) and I actually see no difference …

---

## [Using threads and poll in nginx module](https://www.ruby-forum.com/t/using-threads-and-poll-in-nginx-module/242478)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [June 26, 2015, 12:09pm UTC](https://www.ruby-forum.com/t/using-threads-and-poll-in-nginx-module/242478 "2015-06-26T12:09:35Z")

</div>

Dear all, I run into following problem when writing a module for nginx under Linux. Within my module I have to use a library which internally uses multiple threads (pthreads) as well as poll. When using/calling meth…

---

## [Convert Apache .htaccess rewrite to nginx](https://www.ruby-forum.com/t/convert-apache-htaccess-rewrite-to-nginx/242427)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [June 26, 2015, 1:11am UTC](https://www.ruby-forum.com/t/convert-apache-htaccess-rewrite-to-nginx/242427 "2015-06-26T01:11:48Z")

</div>

Hello, I am new to nginx and I am having trouble converting htaccess rewrite to nginx rewrite. Please help me convert the following mod\_rewrites with a brief explanation. And should I put the nginx rewrite back into t…

---

## [ModSecurity compile, ""WARNING: APR util was not compiled with crypto support."](https://www.ruby-forum.com/t/modsecurity-compile-warning-apr-util-was-not-compiled-with-crypto-support/242446)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 24, 2015, 7:56pm UTC](https://www.ruby-forum.com/t/modsecurity-compile-warning-apr-util-was-not-compiled-with-crypto-support/242446 "2015-06-24T19:56:16Z")

</div>

Hi, When compiling modsec, I came across the following - “configure: WARNING: APR util was not compiled with crypto support. SecRemoteRule will not support the parameter ‘crypto’” Basically the rhel6 apr-devel rpm do…

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

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