# Server

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

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

---

## [Etags and Load-balanced environmetn](https://www.ruby-forum.com/t/etags-and-load-balanced-environmetn/230055)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 28, 2014, 7:25pm UTC](https://www.ruby-forum.com/t/etags-and-load-balanced-environmetn/230055 "2014-05-28T19:25:17Z")

</div>

Hi, I’ve got 3 NGinx servers running under a load balancer. I’ve got ETags successfuly configured but the problem is that each server presents different ETag tag for the same content: ETag: “531ee076-6b” ETag: “531e…

---

## [Re: Request for a "no capture" rewrite directive enhancement](https://www.ruby-forum.com/t/re-request-for-a-no-capture-rewrite-directive-enhancement/230044)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [May 28, 2014, 6:11pm UTC](https://www.ruby-forum.com/t/re-request-for-a-no-capture-rewrite-directive-enhancement/230044 "2014-05-28T18:11:53Z")

</div>

Thanks Igor, I had explored that method already, sadly (as you know) “alias” is given as an absolute path meaning I can’t use this block of config within multiple virtual hosts which I include; - would have to re-wri…

---

## [Nginx-1.7.1](https://www.ruby-forum.com/t/nginx-1-7-1/230024)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 28, 2014, 10:06am UTC](https://www.ruby-forum.com/t/nginx-1-7-1/230024 "2014-05-28T10:06:34Z")

</div>

Changes with nginx 1.7.1 27 May 2014 \*) Feature: the "$upstream\_cookie\_..." variables. \*) Feature: the $ssl\_client\_fingerprint variable. \*) Feature: the "error\_log" and "access…

---

## [Request for a "no capture" rewrite directive enhancement](https://www.ruby-forum.com/t/request-for-a-no-capture-rewrite-directive-enhancement/230037)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [May 28, 2014, 6:44am UTC](https://www.ruby-forum.com/t/request-for-a-no-capture-rewrite-directive-enhancement/230037 "2014-05-28T06:44:44Z")

</div>

Hello Nginx developers, speaking to Maxim K. over Twitter, suggested this would be the better place to get an answer to my suggestion. Basically what I would like to see is the ability to use a rewrite directive with…

---

## [Re: Request for a "no capture" rewrite directive enhancement](https://www.ruby-forum.com/t/re-request-for-a-no-capture-rewrite-directive-enhancement/230042)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [May 28, 2014, 6:32am UTC](https://www.ruby-forum.com/t/re-request-for-a-no-capture-rewrite-directive-enhancement/230042 "2014-05-28T06:32:56Z")

</div>

Thanks for the reply BR. That’s not quite what I’m after - “rewrite” does an internal redirect, “return” will tell the browser to redirect. This recipe is all about CSS/JS “cache busting” of requested assets. Make se…

---

## [Nginx with NO SSL offload](https://www.ruby-forum.com/t/nginx-with-no-ssl-offload/229962)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [May 28, 2014, 12:18am UTC](https://www.ruby-forum.com/t/nginx-with-no-ssl-offload/229962 "2014-05-28T00:18:09Z")

</div>

Hi All, Is there way I configure Nginx not to do SSL offload, i.e Nginx should receive the HTTPS traffic (by listening on port 443) and forward the same to the backend server without doing an offload. I think I can …

---

## [Nginx priority for rewrite and access restriction](https://www.ruby-forum.com/t/nginx-priority-for-rewrite-and-access-restriction/230019)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [May 27, 2014, 2:20pm UTC](https://www.ruby-forum.com/t/nginx-priority-for-rewrite-and-access-restriction/230019 "2014-05-27T14:20:08Z")

</div>

I would like to enable /123 location only for locahost, but it doesn’t work, nginx return 302 redirect with header. It seems rewrite directive has higher priority than access module. location /123 { sati…

---

## [Fwd: NGINX config for websocket HA failover](https://www.ruby-forum.com/t/fwd-nginx-config-for-websocket-ha-failover/229995)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 26, 2014, 2:25pm UTC](https://www.ruby-forum.com/t/fwd-nginx-config-for-websocket-ha-failover/229995 "2014-05-26T14:25:16Z")

</div>

Hi, I would like to use NGINX for failover in my HA setup. I have two VMs running in Active-Active mode and listening on 9080 port for WebSocket connections from clients. I would like to use NGINX to route all websoc…

---

## [Connection starvation problem](https://www.ruby-forum.com/t/connection-starvation-problem/229986)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 26, 2014, 1:44pm UTC](https://www.ruby-forum.com/t/connection-starvation-problem/229986 "2014-05-26T13:44:37Z")

</div>

hi: In man epoll , a section refer to "epoll edge trigger starvation problem", and around to this we need to maintain a ready list instead of read socket until EAGAIN. but i didn’t find any related solution code i…

---

## [Passing arguments from the conf file to the module](https://www.ruby-forum.com/t/passing-arguments-from-the-conf-file-to-the-module/229994)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [May 26, 2014, 1:33pm UTC](https://www.ruby-forum.com/t/passing-arguments-from-the-conf-file-to-the-module/229994 "2014-05-26T13:33:29Z")

</div>

I have a command ‘pass’ that needs to pass two arguments to its handler. I know that in the conf file, i just need to write “pass arg1 arg2”. But how do i access these arguments in the handler? Please guide me throug…

---

## [Nginx-1.6.0 Swapping](https://www.ruby-forum.com/t/nginx-1-6-0-swapping/229959)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 26, 2014, 1:23pm UTC](https://www.ruby-forum.com/t/nginx-1-6-0-swapping/229959 "2014-05-26T13:23:37Z")

</div>

I have recently upgraded to Nginx-1.6.0 from 1.4.2 and I am seeing that Nginx is swapping a lot. I have tried reducing vm.swappiness=0 but has not worked. This continues to happen on multiple servers that are running …

---

## [Modules behaving differently on 32-bit and 64-bit systems?](https://www.ruby-forum.com/t/modules-behaving-differently-on-32-bit-and-64-bit-systems/237037)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [May 26, 2014, 9:39am UTC](https://www.ruby-forum.com/t/modules-behaving-differently-on-32-bit-and-64-bit-systems/237037 "2014-05-26T09:39:24Z")

</div>

Hi there, I have built nginx 1.5.6 from source, with a 3rd party module (xtoken - Google Code Archive - Long-term storage for Google Code Project Hosting.). I have it working fine on a 32-bit Debian Squeeze system. An…

---

## [Is there any way to access upstream response from configuration?](https://www.ruby-forum.com/t/is-there-any-way-to-access-upstream-response-from-configuration/229988)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [May 26, 2014, 12:17am UTC](https://www.ruby-forum.com/t/is-there-any-way-to-access-upstream-response-from-configuration/229988 "2014-05-26T00:17:33Z")

</div>

Hi, I am trying to make caching selective based on cookies set by upstream. Example: worpress sets wordpress\_test\_cookie for every page, thus preventing caching of pages unless Set-Cookie headers are ignored. On the …

---

## [Using Domain Names in proxy\_pass directive](https://www.ruby-forum.com/t/using-domain-names-in-proxy-pass-directive/229953)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [May 25, 2014, 9:29am UTC](https://www.ruby-forum.com/t/using-domain-names-in-proxy-pass-directive/229953 "2014-05-25T09:29:12Z")

</div>

Hi I am using nginx as reverse proxy with FQDN for the backend server . My configuration for the location block looks like this :- location / { set $ustreamsbc sbc.example.com ; proxy\_pass HTTPS://$ustreamsbc ; …

---

## [Filter content by checksum](https://www.ruby-forum.com/t/filter-content-by-checksum/229972)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 24, 2014, 8:35pm UTC](https://www.ruby-forum.com/t/filter-content-by-checksum/229972 "2014-05-24T20:35:37Z")

</div>

How can I configure nginx to manipulate the content of http-response, for example filtering the content of the response by checksum?

---

## [Added syslog support is not working on win32 (changeset 5702:777202558122)](https://www.ruby-forum.com/t/added-syslog-support-is-not-working-on-win32-changeset-5702-777202558122/234774)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [May 23, 2014, 10:08pm UTC](https://www.ruby-forum.com/t/added-syslog-support-is-not-working-on-win32-changeset-5702-777202558122/234774 "2014-05-23T22:08:28Z")

</div>

With original sources from 1.7.1, access\_log syslog:server=192.168.2.8:514 main; 2014/05/23 18:55:30 \[debug\] 2100#2140: \*1 http write filter 00000000 2014/05/23 18:55:30 \[debug\] 2100#2140: \*1 http finalize request: 0, …

---

## [Try\_files / if / access\_log question](https://www.ruby-forum.com/t/try-files-if-access-log-question/229949)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [May 23, 2014, 8:53pm UTC](https://www.ruby-forum.com/t/try-files-if-access-log-question/229949 "2014-05-23T20:53:24Z")

</div>

I’m trying to create a config that doesn’t log the requests from specific user agents. The site has a gunicorn backend that we proxy to, and I’m trying to set up try\_files to test for the existence of static local fi…

---

## [Ubuntu+Nginx packet loss / dropped upstream connections](https://www.ruby-forum.com/t/ubuntu-nginx-packet-loss-dropped-upstream-connections/237206)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 23, 2014, 6:05pm UTC](https://www.ruby-forum.com/t/ubuntu-nginx-packet-loss-dropped-upstream-connections/237206 "2014-05-23T18:05:52Z")

</div>

Hello Nginx experts, We make heavy use of Nginx as a reverse-proxy/load-balancer. It communicates with Apache and Tornado hosts upstream and proxies them publicly on port 80/443 - pretty standard. The problem is, wh…

---

## [Passing data to CGI scripts via PATH\_INFO](https://www.ruby-forum.com/t/passing-data-to-cgi-scripts-via-path-info/241304)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [May 22, 2014, 11:53pm UTC](https://www.ruby-forum.com/t/passing-data-to-cgi-scripts-via-path-info/241304 "2014-05-22T23:53:29Z")

</div>

Hi We are having an issue passing data to CGI scripts via PATH\_INFO environment variable. for example:- http://domain.com/cgi-bin/script.cgi/= On various apache servers this works fine and the PATH\_INFO variable w…

---

## [Php-fpm requests eventually goes to queue!](https://www.ruby-forum.com/t/php-fpm-requests-eventually-goes-to-queue/241287)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [May 22, 2014, 5:09pm UTC](https://www.ruby-forum.com/t/php-fpm-requests-eventually-goes-to-queue/241287 "2014-05-22T17:09:32Z")

</div>

Hello, We're using nginx + php-fpm. Please check the following configurations in php-fpm and sysctl in order to handle large amount of php-fpm request, but still 1000+ requests are getting into queue every 15min. …

---

## [Cache manager process - i/o perf](https://www.ruby-forum.com/t/cache-manager-process-i-o-perf/241272)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [May 22, 2014, 11:05am UTC](https://www.ruby-forum.com/t/cache-manager-process-i-o-perf/241272 "2014-05-22T11:05:42Z")

</div>

I’m having problem with I/O performance. I’m running nginx as caching reverse proxy server. When cache size on disk exceeds max\_size cache manager starts working, but it causes two problems occur: I/O %util reach 1…

---

## [Nginx1.4.7 Use ngx\_http\_proxy\_module to realize the static resource cache](https://www.ruby-forum.com/t/nginx1-4-7-use-ngx-http-proxy-module-to-realize-the-static-resource-cache/241286)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 22, 2014, 10:42am UTC](https://www.ruby-forum.com/t/nginx1-4-7-use-ngx-http-proxy-module-to-realize-the-static-resource-cache/241286 "2014-05-22T10:42:19Z")

</div>

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

---

## [Unable to cache long cache url](https://www.ruby-forum.com/t/unable-to-cache-long-cache-url/241166)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [May 21, 2014, 11:38pm UTC](https://www.ruby-forum.com/t/unable-to-cache-long-cache-url/241166 "2014-05-21T23:38:05Z")

</div>

Hello Every One, I am trying to cache a long string query url with proxy\_cache\_key. I am not sure where I am doing wrong. I tried different proxy\_cache\_key patterns. Not sure where I am doing wrong. If some one can …

---

## [Reuse of resources](https://www.ruby-forum.com/t/reuse-of-resources/241265)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 21, 2014, 2:50pm UTC](https://www.ruby-forum.com/t/reuse-of-resources/241265 "2014-05-21T14:50:54Z")

</div>

Hi, I am just beginning with nginx and had a problem. Is there any way to reuse resources allocated, across different modules, or multiple invocations of the same module? For example, suppose I initialize a variable …

---

## [Quick question about using kill -USR1 to recreate access.log](https://www.ruby-forum.com/t/quick-question-about-using-kill-usr1-to-recreate-access-log/241226)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [May 20, 2014, 10:05am UTC](https://www.ruby-forum.com/t/quick-question-about-using-kill-usr1-to-recreate-access-log/241226 "2014-05-20T10:05:13Z")

</div>

Thanks to everyone in advance! I have a cron that runs the following: mv $NGINX\_ACCESS\_LOG $ACCESS\_LOG\_DROPBOX/$LOG\_FILENAME kill -USR1 cat $NGINX\_PID My questions is during time between the mv and the kill, is there…

---

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

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 20, 2014, 9:51am UTC](https://www.ruby-forum.com/t/nginx-config/241242 "2014-05-20T09:51:01Z")

</div>

hi i’m looking for best nginx config that work with php scripts. please help me. Posted at Nginx Forum:

---

## [Can I resuse persistent connection established in server configuration in different location configu](https://www.ruby-forum.com/t/can-i-resuse-persistent-connection-established-in-server-configuration-in-different-location-configu/241239)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 20, 2014, 8:35am UTC](https://www.ruby-forum.com/t/can-i-resuse-persistent-connection-established-in-server-configuration-in-different-location-configu/241239 "2014-05-20T08:35:57Z")

</div>

Hi, I am new to nginx. I would like to know if its possible to reuse persistent connections in different location modules. Suppose I establish a connection through and object through my server configuration module. …

---

## [Pretty printer for the Nginx config?](https://www.ruby-forum.com/t/pretty-printer-for-the-nginx-config/241227)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [May 20, 2014, 1:43am UTC](https://www.ruby-forum.com/t/pretty-printer-for-the-nginx-config/241227 "2014-05-20T01:43:58Z")

</div>

Is there a pretty printer for this file? It doesn’t seem to be in any particular language. I tried a JS beautifier but that broke things. Lyle

---

## [Nginx rewrites $request\_method on error](https://www.ruby-forum.com/t/nginx-rewrites-request-method-on-error/240781)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 17\
**Last updated:** [May 19, 2014, 8:48pm UTC](https://www.ruby-forum.com/t/nginx-rewrites-request-method-on-error/240781 "2014-05-19T20:48:58Z")

</div>

user nginx; worker\_processes 1; error\_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker\_connections 1024; } http { include /etc/nginx/mime.types; default\_type applicati…

---

## [Nginx1.4.7 ip\_hash load balancing strategy](https://www.ruby-forum.com/t/nginx1-4-7-ip-hash-load-balancing-strategy/241177)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [May 19, 2014, 7:48pm UTC](https://www.ruby-forum.com/t/nginx1-4-7-ip-hash-load-balancing-strategy/241177 "2014-05-19T19:48:36Z")

</div>

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

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

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