# Server

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

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

---

## [Nginx Web Server Q3 survey](https://www.ruby-forum.com/t/nginx-web-server-q3-survey/246059)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 18, 2013, 4:31pm UTC](https://www.ruby-forum.com/t/nginx-web-server-q3-survey/246059 "2013-08-18T16:31:52Z")

</div>

Hi everyone! I would like to ask for 5 minutes of your time and participate in a survey that is intended to monitor current trends in Nginx community and suggest improvements to Nginx. To participate just visit this …

---

## [Trouble building nginx from dotdeb](https://www.ruby-forum.com/t/trouble-building-nginx-from-dotdeb/236245)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 18, 2013, 9:59am UTC](https://www.ruby-forum.com/t/trouble-building-nginx-from-dotdeb/236245 "2013-08-18T09:59:54Z")

</div>

I’m trying to follow this tutorial: to build nginx with ngx\_pagespeed on a Debian Wheezy machine. Unfortunately so far I have been using nginx from dotdeb so I’m trying to use their sources. The error occurs when …

---

## [Flush temp directory](https://www.ruby-forum.com/t/flush-temp-directory/236203)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [August 18, 2013, 2:54am UTC](https://www.ruby-forum.com/t/flush-temp-directory/236203 "2013-08-18T02:54:40Z")

</div>

Hi All, I am trying to test accelerated upload on nginx/php-fpm/php-cgi setup and comparing different scenarios e.g one where /temp is a tmpfs, one where it is a disk partition and you will also notice where in i te…

---

## [Module development question - Variables](https://www.ruby-forum.com/t/module-development-question-variables/236219)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 17, 2013, 5:32am UTC](https://www.ruby-forum.com/t/module-development-question-variables/236219 "2013-08-17T05:32:24Z")

</div>

Hi, been trying to understand variables for a couple of hours - but I jut don’t get it. Can anyone explain, How and when the variable setter function is called? Whether I should / can call it myelf to set the va…

---

## [Proxy\_cache seems not working with X-Accel-Redirect](https://www.ruby-forum.com/t/proxy-cache-seems-not-working-with-x-accel-redirect/236143)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 17, 2013, 4:33am UTC](https://www.ruby-forum.com/t/proxy-cache-seems-not-working-with-x-accel-redirect/236143 "2013-08-17T04:33:59Z")

</div>

My config location ~ /cached/ { proxy\_pass http://apache; proxy\_cache cache; proxy\_cache\_valid 2h; proxy\_cache\_key “$host|$request\_uri”; } location /htdocs\_internal/ { internal; alias $htdocs\_path; } R…

---

## [Cache based on file size](https://www.ruby-forum.com/t/cache-based-on-file-size/236104)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 17, 2013, 2:54am UTC](https://www.ruby-forum.com/t/cache-based-on-file-size/236104 "2013-08-17T02:54:40Z")

</div>

Hi, In looking over Nginx configuration for the proxy module, I do not see an easy way to influence what is cached based on object size. I have two use cases of interest: Store a small file in a particular zone (e.…

---

## [Geoip filtering not working](https://www.ruby-forum.com/t/geoip-filtering-not-working/235755)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 16, 2013, 3:15pm UTC](https://www.ruby-forum.com/t/geoip-filtering-not-working/235755 "2013-08-16T15:15:07Z")

</div>

Hello, I’m trying to figure out why Nginx’s geoip modules doesn’t seem to filter out certain ip’s from a banned country. I manually tested the GeoIP.dat using ‘geoiplookup’ against a few ips that successfully connect…

---

## [Creating One-way connections or Dont wait for upstream](https://www.ruby-forum.com/t/creating-one-way-connections-or-dont-wait-for-upstream/246011)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 16, 2013, 2:17pm UTC](https://www.ruby-forum.com/t/creating-one-way-connections-or-dont-wait-for-upstream/246011 "2013-08-16T14:17:49Z")

</div>

Hello, I am working on an application where http ( websocket, or any type of connection) connections will be one direction for inserting data into a database and queuing data. The client side of the application does n…

---

## [Set outgoing ip for reverse proxy?](https://www.ruby-forum.com/t/set-outgoing-ip-for-reverse-proxy/236223)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 15, 2013, 7:43pm UTC](https://www.ruby-forum.com/t/set-outgoing-ip-for-reverse-proxy/236223 "2013-08-15T19:43:16Z")

</div>

Hello nginx, Iam wondering if there is anyway to bind a specific IP as the outbound IP to contact the backend server for a nginx instance? I serve many instances in a single machine and all of them using the default I…

---

## [IPv6 range specification for allow/deny](https://www.ruby-forum.com/t/ipv6-range-specification-for-allow-deny/246021)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [August 15, 2013, 4:32pm UTC](https://www.ruby-forum.com/t/ipv6-range-specification-for-allow-deny/246021 "2013-08-15T16:32:46Z")

</div>

Hi, I’d like to limit a range of IPv6 space to a “server” context using “allow” and “deny”. I haven’t been able to find any information on how to do this in the documentation, nor on the web. The only example I’ve fo…

---

## [Win32 Binary - bug in OpenSSL](https://www.ruby-forum.com/t/win32-binary-bug-in-openssl/236216)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 15, 2013, 3:05pm UTC](https://www.ruby-forum.com/t/win32-binary-bug-in-openssl/236216 "2013-08-15T15:05:06Z")

</div>

Howdy folks, Whilst I’m a militant Unix guy I’m having to use the Win32 version of nginx for a specific project which requires SSL MiTM proxying as part of a virtualised app suite. I spent a few hours battling with a…

---

## [Upstream max\_fails disable](https://www.ruby-forum.com/t/upstream-max-fails-disable/245978)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 15, 2013, 2:10pm UTC](https://www.ruby-forum.com/t/upstream-max-fails-disable/245978 "2013-08-15T14:10:45Z")

</div>

Hi I’m using the upstream module - with sole purpose to enable keepalives to my backend I don’t want to use any of the other features, I only have 1 server in the upstream {} Does that mean max\_fails is still being …

---

## [Cookie/Session Expired - OWA SSL Reverse Proxy](https://www.ruby-forum.com/t/cookie-session-expired-owa-ssl-reverse-proxy/245999)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 14, 2013, 7:35pm UTC](https://www.ruby-forum.com/t/cookie-session-expired-owa-ssl-reverse-proxy/245999 "2013-08-14T19:35:27Z")

</div>

Hi. Trying to configure a reverse proxy to allow external access to an outlook web access server. I am able to route traffic through the NGINX to the OWA server, present the web page, and place the username & pw int…

---

## [Internals: how do I send large file to the client?](https://www.ruby-forum.com/t/internals-how-do-i-send-large-file-to-the-client/245982)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 14, 2013, 4:32pm UTC](https://www.ruby-forum.com/t/internals-how-do-i-send-large-file-to-the-client/245982 "2013-08-14T16:32:36Z")

</div>

Hi, I’m writing a filter module which implies a backend to be sending XML with information about files that have to be concatenated and sent to the client. One way to send a file is to ngx\_read\_file into a buffer al…

---

## [How to rewrite with cookie](https://www.ruby-forum.com/t/how-to-rewrite-with-cookie/236179)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 12\
**Last updated:** [August 14, 2013, 1:55pm UTC](https://www.ruby-forum.com/t/how-to-rewrite-with-cookie/236179 "2013-08-14T13:55:28Z")

</div>

Hi, it’s possible to rewrite a mobile URL using cookies? For example, when you acess a URL with a mobile device (android) , nginx shoul read the cookie and redirect this device according to the android model … Someth…

---

## [Nginx-extras (1.4.1 Ubuntu precise) cache loader/manager issue](https://www.ruby-forum.com/t/nginx-extras-1-4-1-ubuntu-precise-cache-loader-manager-issue/236196)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 14, 2013, 1:09pm UTC](https://www.ruby-forum.com/t/nginx-extras-1-4-1-ubuntu-precise-cache-loader-manager-issue/236196 "2013-08-14T13:09:18Z")

</div>

Dear people, I used for a while the nginx-extras 1.4.1 for Ubuntu 12.04 LTS (precise); I used this package since it supported ‘more\_clear\_headers’ which was useful to hide some headers (LifeRay headers). As you have…

---

## [Proxying with/without listen in server block](https://www.ruby-forum.com/t/proxying-with-without-listen-in-server-block/246025)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 14, 2013, 12:51pm UTC](https://www.ruby-forum.com/t/proxying-with-without-listen-in-server-block/246025 "2013-08-14T12:51:46Z")

</div>

Does having a listen directive in a server block over ride blocks without? I have a slightly complex set up, proxying traffic depending on url to various other machines on the network. Something a bit like this: Ngin…

---

## [How to define multiple resolvers?](https://www.ruby-forum.com/t/how-to-define-multiple-resolvers/211325)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 14, 2013, 3:47am UTC](https://www.ruby-forum.com/t/how-to-define-multiple-resolvers/211325 "2013-08-14T03:47:59Z")

</div>

I want to define more than one resolver to failover if one server is down,how to do this? 2011-09-01 chinix

---

## [Fix bug in http\_referer\_module that using incorrect input string length in the regex matching proces](https://www.ruby-forum.com/t/fix-bug-in-http-referer-module-that-using-incorrect-input-string-length-in-the-regex-matching-proces/246032)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 13, 2013, 5:25pm UTC](https://www.ruby-forum.com/t/fix-bug-in-http-referer-module-that-using-incorrect-input-string-length-in-the-regex-matching-proces/246032 "2013-08-13T17:25:34Z")

</div>

— ngx\_http\_referer\_module.c +++ ngx\_http\_referer\_module.c @@ -147,10 +147,12 @@ if (ngx\_strncasecmp(ref, (u\_char \*) "http://", 7) == 0) { ref += 7; len -= 7; goto valid\_scheme; } els…

---

## [Character references](https://www.ruby-forum.com/t/character-references/236178)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 12, 2013, 3:27pm UTC](https://www.ruby-forum.com/t/character-references/236178 "2013-08-12T15:27:42Z")

</div>

If I use character reference in html file to represent a character and web server sends the file on browser request, how the browser will decode the character reference? My Nginx web server is configured to not send…

---

## [NGINX serving data via NFS mount](https://www.ruby-forum.com/t/nginx-serving-data-via-nfs-mount/236176)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 12, 2013, 1:50pm UTC](https://www.ruby-forum.com/t/nginx-serving-data-via-nfs-mount/236176 "2013-08-12T13:50:06Z")

</div>

Hi, Can anybody tell me what are the things needed by nginx to forward the request via the NFS mount point?? Changes to the config file as such?? The config file looks like as shown below: http { … … server { lis…

---

## [Ngx\_openresty devel version 1.4.2.1 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-4-2-1-released/236168)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 12, 2013, 6:31am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-4-2-1-released/236168 "2013-08-12T06:31:16Z")

</div>

Hi guys! I am glad to announce that the new development version of ngx\_openresty, 1.4.2.1, is now released: http://openresty.org/#Download Below is the complete change log for this release, as compared to the last (…

---

## [My filter module is not called](https://www.ruby-forum.com/t/my-filter-module-is-not-called/236161)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 11, 2013, 8:58pm UTC](https://www.ruby-forum.com/t/my-filter-module-is-not-called/236161 "2013-08-11T20:58:11Z")

</div>

Hi, I’m writing a filter module which will output static files according to information returned by an upstream handler like FastCGI, or Apache. There is some testing code in header/body filters. I’m launching the se…

---

## [Re: Poor performance when loading huge number of server section](https://www.ruby-forum.com/t/re-poor-performance-when-loading-huge-number-of-server-section/236162)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 11, 2013, 6:12pm UTC](https://www.ruby-forum.com/t/re-poor-performance-when-loading-huge-number-of-server-section/236162 "2013-08-11T18:12:51Z")

</div>

Thank you, Ruslan. ... } It works if I use simple upstream like url:80, but still very slow when using upstream module. Since I need to sepcify a \`upstream’ context for each server\_name. – Anb 2013.8.12

---

## [Re: Worker process is not getting killed , when master is killed using -9](https://www.ruby-forum.com/t/re-worker-process-is-not-getting-killed-when-master-is-killed-using-9/236133)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 10, 2013, 12:31pm UTC](https://www.ruby-forum.com/t/re-worker-process-is-not-getting-killed-when-master-is-killed-using-9/236133 "2013-08-10T12:31:31Z")

</div>

Hello. SIGKILL(9) is not able to trapped for any process. How about using SIGTERM or QUIT? Or you might want to see following about controlling nginx with signal. http://nginx.org/en/docs/control.html 2013/8/8 Vivek…

---

## [Proxy\_pass and rewrite](https://www.ruby-forum.com/t/proxy-pass-and-rewrite/236150)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 9, 2013, 8:01pm UTC](https://www.ruby-forum.com/t/proxy-pass-and-rewrite/236150 "2013-08-09T20:01:03Z")

</div>

Hi, I’m try to do a proxy\_pass and rewrite rules like this: location /directory/ { proxy\_pass http://some\_url\_to\_proxy\_pass/; expires +10d; } It’s working, but I need to repeat the /directory/ on the new url to wor…

---

## [Poor performance when loading huge number of server section](https://www.ruby-forum.com/t/poor-performance-when-loading-huge-number-of-server-section/236141)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 9, 2013, 10:22am UTC](https://www.ruby-forum.com/t/poor-performance-when-loading-huge-number-of-server-section/236141 "2013-08-09T10:22:30Z")

</div>

Hi there, I got a problem when using nginx as a reverse proxy. Configurations using per server policy to set upstream host. Nginx spends significant time loading config files as while as virtual server inscreased to a …

---

## [Changing Nginx keep-alive behavior based on error response of proxied server](https://www.ruby-forum.com/t/changing-nginx-keep-alive-behavior-based-on-error-response-of-proxied-server/236117)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 9, 2013, 5:36am UTC](https://www.ruby-forum.com/t/changing-nginx-keep-alive-behavior-based-on-error-response-of-proxied-server/236117 "2013-08-09T05:36:15Z")

</div>

I was wondering if there is a way in Nginx to force a client to close the connection (or modify the keepalive parameters) when a proxied server returns a particular error response. To elaborate a bit, if I have Nginx …

---

## [Worker process is not getting killed , when master is killed using -9](https://www.ruby-forum.com/t/worker-process-is-not-getting-killed-when-master-is-killed-using-9/236132)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 8, 2013, 8:51pm UTC](https://www.ruby-forum.com/t/worker-process-is-not-getting-killed-when-master-is-killed-using-9/236132 "2013-08-08T20:51:02Z")

</div>

Hi, I am facing one problem with nginx. I am waiting for nginx to stop withing 30 seconds. If it is not getting stopped, I am firing command to kill master process using pkill -9 \<master\_process\_pid\> But, Killing …

---

## [How to not log Pingdom bots](https://www.ruby-forum.com/t/how-to-not-log-pingdom-bots/245972)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 7, 2013, 11:29pm UTC](https://www.ruby-forum.com/t/how-to-not-log-pingdom-bots/245972 "2013-08-07T23:29:34Z")

</div>

Hi, I’m trying to do the following: I would like to stop logging from Pingdom bots, as a checking every 5 second pollutes the access log and it doesn’t have any meaningful value. My problem is that I cannot integra…

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

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