# Server

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

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

---

## [Ngx\_openresty devel version 1.2.7.5 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-7-5-released/228110)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [April 10, 2013, 3:15am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-7-5-released/228110 "2013-04-10T03:15:00Z")

</div>

Hi folks! I am happy to announce that the new development version of ngx\_openresty, 1.2.7.5, is now released: http://openresty.org/#Download Special thanks go to all our contributors and users for helping make this …

---

## [Nginx-1.3.15](https://www.ruby-forum.com/t/nginx-1-3-15/227720)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 6\
**Last updated:** [April 10, 2013, 3:09am UTC](https://www.ruby-forum.com/t/nginx-1-3-15/227720 "2013-04-10T03:09:10Z")

</div>

Changes with nginx 1.3.15 26 Mar 2013 \*) Change: opening and closing a connection without sending any data in it is no longer logged to access\_log with error code 400. \*) Feat…

---

## [Proxy\_cache\_path's max\_size being violated/ignored](https://www.ruby-forum.com/t/proxy-cache-paths-max-size-being-violated-ignored/228063)

<div class="topic-metadata">

**Author:** [@gwinans](https://www.ruby-forum.com/u/gwinans)\
**Replies:** 8\
**Last updated:** [April 10, 2013, 1:58am UTC](https://www.ruby-forum.com/t/proxy-cache-paths-max-size-being-violated-ignored/228063 "2013-04-10T01:58:25Z")

</div>

Hi folks, We setup some nginx instances a few months ago in order to serve up/cache video content. Recently, we’ve noticed that there is severe cache overrun – on the order of 1TB + per cache directory. It seems li…

---

## [Nginx + my module crashes only when ignore client abort = on](https://www.ruby-forum.com/t/nginx-my-module-crashes-only-when-ignore-client-abort-on/227409)

<div class="topic-metadata">

**Author:** [@gadh](https://www.ruby-forum.com/u/gadh)\
**Replies:** 12\
**Last updated:** [April 9, 2013, 3:00pm UTC](https://www.ruby-forum.com/t/nginx-my-module-crashes-only-when-ignore-client-abort-on/227409 "2013-04-09T15:00:23Z")

</div>

i use nginx ver 1.2.5 (also tried 1.2.7) with my module that sends subrequest to an upstream, waits untill response get back, then goes to backend upstream and fetch the regular web page from it. when i add to nginx c…

---

## [HEAD requests with PHP-FPM](https://www.ruby-forum.com/t/head-requests-with-php-fpm/228089)

<div class="topic-metadata">

**Author:** [@F21](https://www.ruby-forum.com/u/F21)\
**Replies:** 0\
**Last updated:** [April 9, 2013, 9:00am UTC](https://www.ruby-forum.com/t/head-requests-with-php-fpm/228089 "2013-04-09T09:00:56Z")

</div>

I would like to be able to support HEAD requests. For the most part, HEAD works well with static files. However, if I am trying to use a HEAD request against a PHP file, it is missing the Content-Length or the Trans…

---

## [If-Modified-Since proxy cache optimization](https://www.ruby-forum.com/t/if-modified-since-proxy-cache-optimization/228075)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 1\
**Last updated:** [April 8, 2013, 8:48pm UTC](https://www.ruby-forum.com/t/if-modified-since-proxy-cache-optimization/228075 "2013-04-08T20:48:36Z")

</div>

I noticed there was a patch submitted couple years ago that was never accepted and last year a post saying to expect it around Jan 2013. I understand SPDY probably pushed the roadmap back a bit. So I was wondering if…

---

## [Can nginx listen two different port with one nginx?](https://www.ruby-forum.com/t/can-nginx-listen-two-different-port-with-one-nginx/228065)

<div class="topic-metadata">

**Author:** [@Kenneth\_Y](https://www.ruby-forum.com/u/Kenneth_Y)\
**Replies:** 1\
**Last updated:** [April 8, 2013, 3:53pm UTC](https://www.ruby-forum.com/t/can-nginx-listen-two-different-port-with-one-nginx/228065 "2013-04-08T15:53:27Z")

</div>

Hi, I am new user of nginx, and wondering if nginx can linsten two diffent port within one nginx process? Thanks Posted at Nginx Forum:

---

## [Nginx rpm and configure arguments](https://www.ruby-forum.com/t/nginx-rpm-and-configure-arguments/228055)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 1\
**Last updated:** [April 8, 2013, 11:08am UTC](https://www.ruby-forum.com/t/nginx-rpm-and-configure-arguments/228055 "2013-04-08T11:08:56Z")

</div>

I began thinking about using Puppet to automate deployment and that led me to thinking about using rpms to make keeping up with new releases easier. Since I’ve always compiled nginx from source, I was curious how one …

---

## [IPv4 & IPv6](https://www.ruby-forum.com/t/ipv4-ipv6/228001)

<div class="topic-metadata">

**Author:** [@B.R](https://www.ruby-forum.com/u/B.R)\
**Replies:** 18\
**Last updated:** [April 7, 2013, 8:38am UTC](https://www.ruby-forum.com/t/ipv4-ipv6/228001 "2013-04-07T08:38:53Z")

</div>

Hello, I noticed in an article dedicated to the subject (Fr)http://blog.pastoutafait.org/billets/activer-le-support-ipv6-de-nginxthat to allow Nginx to listen both on IPv4 and IPv6 interfaces simultaneously, you need…

---

## [Ngx\_openresty devel version 1.2.7.3 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-7-3-released/227690)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 2\
**Last updated:** [April 7, 2013, 12:18am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-7-3-released/227690 "2013-04-07T00:18:07Z")

</div>

Hello! I am happy to announce that the new development version of ngx\_openresty, 1.2.7.3, is now released: http://openresty.org/#Download Special thanks go to all our contributors and users for helping make this rel…

---

## [Reverse proxy and wireshark](https://www.ruby-forum.com/t/reverse-proxy-and-wireshark/228016)

<div class="topic-metadata">

**Author:** [@larry](https://www.ruby-forum.com/u/larry)\
**Replies:** 6\
**Last updated:** [April 6, 2013, 4:33pm UTC](https://www.ruby-forum.com/t/reverse-proxy-and-wireshark/228016 "2013-04-06T16:33:41Z")

</div>

Hello, I am suddenly worrying about something simple : I have a box that send some traffic with proxy\_pass to get files from another of my box faking the url. Hence acting as a reverse proxy. All the connections are …

---

## [Nginx keeps crashing](https://www.ruby-forum.com/t/nginx-keeps-crashing/227961)

<div class="topic-metadata">

**Author:** [@ankurs](https://www.ruby-forum.com/u/ankurs)\
**Replies:** 4\
**Last updated:** [April 5, 2013, 9:47pm UTC](https://www.ruby-forum.com/t/nginx-keeps-crashing/227961 "2013-04-05T21:47:28Z")

</div>

\*\*\* glibc detected \*\*\* nginx: worker process: double free or corruption (!prev): 0x0000000008281500 \*\*\* ======= Backtrace: ========= /lib64/libc.so.6(+0x760e6)\[0x7f10da7370e6\] /lib64/libc.so.6(+0x78c13)\[0x7f10da739c1…

---

## [Rewrite "break" directive - a strange behavior](https://www.ruby-forum.com/t/rewrite-break-directive-a-strange-behavior/227986)

<div class="topic-metadata">

**Author:** [@andrea.mandolo](https://www.ruby-forum.com/u/andrea.mandolo)\
**Replies:** 3\
**Last updated:** [April 5, 2013, 2:35pm UTC](https://www.ruby-forum.com/t/rewrite-break-directive-a-strange-behavior/227986 "2013-04-05T14:35:26Z")

</div>

Hi, I’d like to report a strange behaviour of REWRITE “break” directives inside a “location” block, when it is used a SET directive subsequently. Now, i quote a little example, with a basic Nginx configuration that …

---

## [Inconsistent upstream\_addr log](https://www.ruby-forum.com/t/inconsistent-upstream-addr-log/227983)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 5, 2013, 12:23pm UTC](https://www.ruby-forum.com/t/inconsistent-upstream-addr-log/227983 "2013-04-05T12:23:18Z")

</div>

My log format looks like this log\_format vcombined '$host $remote\_addr - $remote\_user \[$time\_local\] “$request” ’ '$status $body\_bytes\_sent “$http\_referer” ’ '“$http\_user\_agent” “$http\_x\_forwarded\_for” ’ '$ssl\_cip…

---

## [How can I limit the total speed of a port or domain name?](https://www.ruby-forum.com/t/how-can-i-limit-the-total-speed-of-a-port-or-domain-name/227942)

<div class="topic-metadata">

**Author:** [@tssungeng](https://www.ruby-forum.com/u/tssungeng)\
**Replies:** 4\
**Last updated:** [April 5, 2013, 10:06am UTC](https://www.ruby-forum.com/t/how-can-i-limit-the-total-speed-of-a-port-or-domain-name/227942 "2013-04-05T10:06:36Z")

</div>

You know,the ngx\_http\_limit\_zone\_module can limit the speed of an IP . I want to limit the total speed of a port or a domain name. For example: There was a Server(the all speed is limited by the IDC 10M/s). There wa…

---

## [Nginx RP: a lot of rewrite rules](https://www.ruby-forum.com/t/nginx-rp-a-lot-of-rewrite-rules/227946)

<div class="topic-metadata">

**Author:** [@Davide\_DSAmico](https://www.ruby-forum.com/u/Davide_DSAmico)\
**Replies:** 3\
**Last updated:** [April 4, 2013, 8:19pm UTC](https://www.ruby-forum.com/t/nginx-rp-a-lot-of-rewrite-rules/227946 "2013-04-04T20:19:58Z")

</div>

Hi, I’ve two freebsd 9.1 vm (2 corees, 4gb ram) with nginx-1.2.7 in active/passive mode (using carp), acting as a reverse proxy to 4 apache22 backend (2 cores, 4gb ram). I should set 800 simple rewrite rules, such as…

---

## [Upstream load balancing](https://www.ruby-forum.com/t/upstream-load-balancing/227935)

<div class="topic-metadata">

**Author:** [@steveybaby](https://www.ruby-forum.com/u/steveybaby)\
**Replies:** 1\
**Last updated:** [April 4, 2013, 4:15pm UTC](https://www.ruby-forum.com/t/upstream-load-balancing/227935 "2013-04-04T16:15:41Z")

</div>

Folks, I’m sharing processing load across 3 remote servers, and am having a terrible time getting it balanced. Here’s the config upstream backend { server 192.168.162.218:9000 fail\_timeout=30 max\_fails=3 weight=1 ;…

---

## [Proxy\_cache\_key and $content\_length](https://www.ruby-forum.com/t/proxy-cache-key-and-content-length/227957)

<div class="topic-metadata">

**Author:** [@ntib1](https://www.ruby-forum.com/u/ntib1)\
**Replies:** 2\
**Last updated:** [April 4, 2013, 2:53pm UTC](https://www.ruby-forum.com/t/proxy-cache-key-and-content-length/227957 "2013-04-04T14:53:16Z")

</div>

Hi, I’d like to put $content\_length in proxy\_cache\_key in order nginx to check if file had changed and send it instead of old file if it’s case. But the $content\_length is always empty. Why ? Or do you have another…

---

## [Redirect 404 errors to the home page](https://www.ruby-forum.com/t/redirect-404-errors-to-the-home-page/227954)

<div class="topic-metadata">

**Author:** [@johnnybut7](https://www.ruby-forum.com/u/johnnybut7)\
**Replies:** 2\
**Last updated:** [April 4, 2013, 2:32pm UTC](https://www.ruby-forum.com/t/redirect-404-errors-to-the-home-page/227954 "2013-04-04T14:32:49Z")

</div>

Hi, Ive received a request stating that the website owner wants all 404 error messages redirected to the home page as its affecting their seo ranking(im not sure about this myself but thats another issue). Its a rai…

---

## [GridFS uWSGI plugin](https://www.ruby-forum.com/t/gridfs-uwsgi-plugin/227948)

<div class="topic-metadata">

**Author:** [@Roberto\_De\_Ioris](https://www.ruby-forum.com/u/Roberto_De_Ioris)\
**Replies:** 1\
**Last updated:** [April 4, 2013, 12:37pm UTC](https://www.ruby-forum.com/t/gridfs-uwsgi-plugin/227948 "2013-04-04T12:37:05Z")

</div>

Hi everyone, latest uWSGI release got GridFS support: https://uwsgi-docs.readthedocs.org/en/latest/GridFS.html In my company we are using it behind nginx for serving items from a replica set https://uwsgi-docs.readth…

---

## [Reset\_timedout\_connection](https://www.ruby-forum.com/t/reset-timedout-connection/227816)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 4, 2013, 11:11am UTC](https://www.ruby-forum.com/t/reset-timedout-connection/227816 "2013-04-04T11:11:44Z")

</div>

Hi. Why is this parameter disabled by default? Best regards, Dmitriy Shalashov

---

## [Url escape variable](https://www.ruby-forum.com/t/url-escape-variable/227949)

<div class="topic-metadata">

**Author:** [@cris](https://www.ruby-forum.com/u/cris)\
**Replies:** 0\
**Last updated:** [April 4, 2013, 10:44am UTC](https://www.ruby-forum.com/t/url-escape-variable/227949 "2013-04-04T10:44:16Z")

</div>

Hello I have this issue trying to use post\_action My config is like this: location / { post\_action /afterdownload; … … … location /afterdownload { proxy\_pass http://78.140.165.80/download\_counter.php?FileName=$…

---

## [Exact Client public certificate authentication using Nginx](https://www.ruby-forum.com/t/exact-client-public-certificate-authentication-using-nginx/227914)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 3, 2013, 6:51pm UTC](https://www.ruby-forum.com/t/exact-client-public-certificate-authentication-using-nginx/227914 "2013-04-03T18:51:37Z")

</div>

Hi, I am relatevely new to Nginx and below is what i need to achieve. I have an Nginx proxy server with following key and certicate. -\>Nginx\_server\_private\_key.pem -\>Nginx\_server\_public\_cert.cer(Signed By Verisign CA…

---

## [Nginx and upstart](https://www.ruby-forum.com/t/nginx-and-upstart/227912)

<div class="topic-metadata">

**Author:** [@skrode](https://www.ruby-forum.com/u/skrode)\
**Replies:** 0\
**Last updated:** [April 3, 2013, 6:22pm UTC](https://www.ruby-forum.com/t/nginx-and-upstart/227912 "2013-04-03T18:22:39Z")

</div>

Hi I’m using the following script to keep nginx up and running: start on (filesystem and net-device-up IFACE=lo) stop on runlevel \[!2345\] env DAEMON=/usr/sbin/nginx env CONF=/etc/nginx/nginx.conf env PID=/var/run/n…

---

## [Nginx-1.2.8](https://www.ruby-forum.com/t/nginx-1-2-8/227899)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 1\
**Last updated:** [April 3, 2013, 6:22pm UTC](https://www.ruby-forum.com/t/nginx-1-2-8/227899 "2013-04-03T18:22:39Z")

</div>

Changes with nginx 1.2.8 02 Apr 2013 \*) Bugfix: new sessions were not always stored if the “ssl\_session\_cache shared” directive was used and there was no free space in shared …

---

## [Why use haproxy now?](https://www.ruby-forum.com/t/why-use-haproxy-now/227767)

<div class="topic-metadata">

**Author:** [@larry](https://www.ruby-forum.com/u/larry)\
**Replies:** 21\
**Last updated:** [April 2, 2013, 7:10pm UTC](https://www.ruby-forum.com/t/why-use-haproxy-now/227767 "2013-04-02T19:10:52Z")

</div>

Hi, I made a lot of reading and comparisons. But I still cannot understand why, in 2013 and with the latest version of nginx, we would still need haproxy in front of it. Nginx has it all to handle high traffic loads…

---

## [Split words into caracters](https://www.ruby-forum.com/t/split-words-into-caracters/227895)

<div class="topic-metadata">

**Author:** [@larry](https://www.ruby-forum.com/u/larry)\
**Replies:** 4\
**Last updated:** [April 2, 2013, 4:47pm UTC](https://www.ruby-forum.com/t/split-words-into-caracters/227895 "2013-04-02T16:47:42Z")

</div>

Hi ! I don’t know if it is the right way to go, and I hope to hear from you if it is not. My concern is about the selection of a file traversing a tree. I have a bunch of hashed directories (dozens of millions) on d…

---

## ["bug in glibc"](https://www.ruby-forum.com/t/bug-in-glibc/227862)

<div class="topic-metadata">

**Author:** [@Justin\_Cormack](https://www.ruby-forum.com/u/Justin_Cormack)\
**Replies:** 2\
**Last updated:** [March 31, 2013, 11:43pm UTC](https://www.ruby-forum.com/t/bug-in-glibc/227862 "2013-03-31T23:43:39Z")

</div>

There is a note in src/os/unix/ngx\_user.c about a bug in glibc for crypt\_r: /\* work around the glibc bug \*/ cd.current\_salt\[0\] = ~salt\[0\]; value = crypt\_r((char \*) key, (char \*) salt, &cd); I was wondering if anyone …

---

## [Nginx maintenance page/redirect with ip exception](https://www.ruby-forum.com/t/nginx-maintenance-page-redirect-with-ip-exception/227839)

<div class="topic-metadata">

**Author:** [@cavamondo](https://www.ruby-forum.com/u/cavamondo)\
**Replies:** 1\
**Last updated:** [March 31, 2013, 12:44pm UTC](https://www.ruby-forum.com/t/nginx-maintenance-page-redirect-with-ip-exception/227839 "2013-03-31T12:44:43Z")

</div>

Coming fra Apache/htaccess, im trying to get my head around the Nginx paradigme. Im trying to achieve a temporary redirect to a www.mysite.com/maintenance.html page, for all visitors to www.mysite.com except visitors …

---

## [How to create a cache server to caching downloaded files (with IDM)](https://www.ruby-forum.com/t/how-to-create-a-cache-server-to-caching-downloaded-files-with-idm/227860)

<div class="topic-metadata">

**Author:** [@nicolas1390](https://www.ruby-forum.com/u/nicolas1390)\
**Replies:** 0\
**Last updated:** [March 31, 2013, 9:28am UTC](https://www.ruby-forum.com/t/how-to-create-a-cache-server-to-caching-downloaded-files-with-idm/227860 "2013-03-31T09:28:27Z")

</div>

Hello to all friends. How can I install cache server for caching downloaded files ? I try use Squid and Polipo for it. but it’s not working properly. Squid can caching downloaded files when download the file without …

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

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