# Server

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

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

---

## [Nginx proxy fails using v6 hosts?](https://www.ruby-forum.com/t/nginx-proxy-fails-using-v6-hosts/200502)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 13, 2010, 11:30pm UTC](https://www.ruby-forum.com/t/nginx-proxy-fails-using-v6-hosts/200502 "2010-12-13T23:30:54Z")

</div>

Hi, me again, sorry. I tried to use a internal v6 “only” host as proxy target, but i got this: 30279#0: \*68 six.internal.tld could not be resolved (3: Host not found), client: ::ffff:x.x.x.x, server: dualstack.exte…

---

## [Ssl\_verify\_client on; for external connections only](https://www.ruby-forum.com/t/ssl-verify-client-on-for-external-connections-only/226111)

<div class="topic-metadata">

**Author:** [@cschiewek](https://www.ruby-forum.com/u/cschiewek)\
**Replies:** 0\
**Last updated:** [December 13, 2010, 10:23pm UTC](https://www.ruby-forum.com/t/ssl-verify-client-on-for-external-connections-only/226111 "2010-12-13T22:23:39Z")

</div>

Hi all, I have server setup that requires a client ssl cert. It’s working fine. The problem is I want to allow non-routable IPs (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) to connect without the client cert. I’v…

---

## [Why can we use listen directive on http context?](https://www.ruby-forum.com/t/why-can-we-use-listen-directive-on-http-context/226110)

<div class="topic-metadata">

**Author:** [@Aryanto\_Rachmad](https://www.ruby-forum.com/u/Aryanto_Rachmad)\
**Replies:** 0\
**Last updated:** [December 13, 2010, 6:19pm UTC](https://www.ruby-forum.com/t/why-can-we-use-listen-directive-on-http-context/226110 "2010-12-13T18:19:38Z")

</div>

Hello Everybody, I have been using lighttpd for about 4 years, and now I would like to explore the capability of nginx. It does not mean that I don’t like lighttpd any more though :slight\_smile: As I mentioned on the…

---

## [Why can we use listen directive on http context?](https://www.ruby-forum.com/t/why-can-we-use-listen-directive-on-http-context/200490)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 13, 2010, 6:17pm UTC](https://www.ruby-forum.com/t/why-can-we-use-listen-directive-on-http-context/200490 "2010-12-13T18:17:08Z")

</div>

Hello Everybody, I have been using lighttpd for about 4 years, and now I would like to explore the capability of nginx. It does not mean that I don’t like lighttpd any more though :slight\_smile: As I mentioned on the…

---

## [Mongrel service keeps re-starting ruby](https://www.ruby-forum.com/t/mongrel-service-keeps-re-starting-ruby/171005)

<div class="topic-metadata">

**Author:** [@Michael\_Pliskin](https://www.ruby-forum.com/u/Michael_Pliskin)\
**Replies:** 14\
**Last updated:** [December 13, 2010, 5:33pm UTC](https://www.ruby-forum.com/t/mongrel-service-keeps-re-starting-ruby/171005 "2010-12-13T17:33:16Z")

</div>

Hi all, Some disclaimer first: I am a complete newbie in mongrel and this list, so please forgive me if I say something weird. I have a problem, I’ve googled for a solution for quite a while and failed so far, so deci…

---

## [Intermittent problems with SSH/nginx/phpmyadmin?](https://www.ruby-forum.com/t/intermittent-problems-with-ssh-nginx-phpmyadmin/200485)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 13, 2010, 1:24pm UTC](https://www.ruby-forum.com/t/intermittent-problems-with-ssh-nginx-phpmyadmin/200485 "2010-12-13T13:24:20Z")

</div>

Hi all, I’m trying to get to the bottom of a long standing problem. I set up a SSH tunnel to a VPS, so I could use phpmyadmin - and it almost works. Here is the set up. Windows 7 with putty to the VPS using keyfile/p…

---

## [Nginx-0.9.3](https://www.ruby-forum.com/t/nginx-0-9-3/200483)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 13, 2010, 12:15pm UTC](https://www.ruby-forum.com/t/nginx-0-9-3/200483 "2010-12-13T12:15:18Z")

</div>

Changes with nginx 0.9.3 13 Dec 2010 \*) Bugfix: if there was a single server for given IPv6 address:port pair, then captures in regular expressions in a "server\_name" direc…

---

## [PHP Groupware Project Sharing!](https://www.ruby-forum.com/t/php-groupware-project-sharing/200471)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 13, 2010, 4:11am UTC](https://www.ruby-forum.com/t/php-groupware-project-sharing/200471 "2010-12-13T04:11:45Z")

</div>

Php GroupWare is flexible and scalable. It is suitable for small groups of people and large organisations. Php GroupWare comes with over 50 applications that can be mixed and matched according to your needs. Some of t…

---

## [Nginx as reverse proxy for multimedia files](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-for-multimedia-files/200447)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 13, 2010, 12:52am UTC](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-for-multimedia-files/200447 "2010-12-13T00:52:48Z")

</div>

Hi, I’m new with nginx, just installed nginx for multimedia files and dynamic files still using apache I had folder “dl” for my multimedia files mp3. And only user that had cookies that generate from download page ca…

---

## [Issue with capturing server name](https://www.ruby-forum.com/t/issue-with-capturing-server-name/200461)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 11\
**Last updated:** [December 12, 2010, 9:54pm UTC](https://www.ruby-forum.com/t/issue-with-capturing-server-name/200461 "2010-12-12T21:54:41Z")

</div>

Hi, on http://wiki.nginx.org/HttpCoreModule#server\_name i read about capturing the servername with regular expressions. Now i used the following on nginx 0.9.2: server { listen \[::\]:80 default ipv6only=off; serv…

---

## [Questions about upstream buffering mode](https://www.ruby-forum.com/t/questions-about-upstream-buffering-mode/200451)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 12, 2010, 3:24pm UTC](https://www.ruby-forum.com/t/questions-about-upstream-buffering-mode/200451 "2010-12-12T15:24:24Z")

</div>

hi all, There are 2 modes of upstream, buffering and non-buffering. And there are some difference between them: non-buffering mode doesn’t support limit-rate. a request in non-buffering mode decides the end of upstre…

---

## [Find nginx version](https://www.ruby-forum.com/t/find-nginx-version/200456)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 12, 2010, 12:24pm UTC](https://www.ruby-forum.com/t/find-nginx-version/200456 "2010-12-12T12:24:59Z")

</div>

I’ve installed nginx with passenger. How do I find what version of nginx I’m running?

---

## [Init.d script](https://www.ruby-forum.com/t/init-d-script/193277)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 5\
**Last updated:** [December 12, 2010, 12:21pm UTC](https://www.ruby-forum.com/t/init-d-script/193277 "2010-12-12T12:21:23Z")

</div>

How should a nginx script in init.d for automatic restart look like on Debian 5?

---

## [400 errors](https://www.ruby-forum.com/t/400-errors/200263)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [December 10, 2010, 11:43am UTC](https://www.ruby-forum.com/t/400-errors/200263 "2010-12-10T11:43:01Z")

</div>

Hello, Something I’ve been seeing for a long time here - I’ve posted long ago, but was never able to find a solution. Looking at our access logs, I see tons of lines like (multiple times a minute) 123.45.6.789 - -…

---

## [Nginx-FastCGI-C++](https://www.ruby-forum.com/t/nginx-fastcgi-c/200322)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 9, 2010, 11:44pm UTC](https://www.ruby-forum.com/t/nginx-fastcgi-c/200322 "2010-12-09T23:44:57Z")

</div>

I have a Fastcgi C++ program as follow: 1 #include "fcgi\_stdio.h" 2 #include 3 4 int main(void) 5 { 6 int count = 0; 7 while(FCGI\_Accept() \>= 0) 8 printf("Content-type: text/html\\r\\n" 9 …

---

## [Comodo EV SSL cert on nginx](https://www.ruby-forum.com/t/comodo-ev-ssl-cert-on-nginx/160487)

<div class="topic-metadata">

**Author:** [@Kurt\_Hansen](https://www.ruby-forum.com/u/Kurt_Hansen)\
**Replies:** 6\
**Last updated:** [December 9, 2010, 11:19pm UTC](https://www.ruby-forum.com/t/comodo-ev-ssl-cert-on-nginx/160487 "2010-12-09T23:19:13Z")

</div>

Hello, I’m just starting to evaluate nginx for our use. Looking good so far! One of our biggest clients uses an EV SSL cert from Comodo. The EV certs have nice features on FireFox 3 and IE7; the address bar changes co…

---

## [Geoip redirect by country codes but exclude a client with dynamic ip](https://www.ruby-forum.com/t/geoip-redirect-by-country-codes-but-exclude-a-client-with-dynamic-ip/200286)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 9, 2010, 9:17pm UTC](https://www.ruby-forum.com/t/geoip-redirect-by-country-codes-but-exclude-a-client-with-dynamic-ip/200286 "2010-12-09T21:17:29Z")

</div>

Hello, The site has geoip redirection to subdomains using country codes, before we only needed to exclude a directory from redirection but now my client is asking me to exclude himself from it, how can I do this ? Pl…

---

## [Looking for NGNIX experience / expert in munich, germany](https://www.ruby-forum.com/t/looking-for-ngnix-experience-expert-in-munich-germany/200326)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 10:26am UTC](https://www.ruby-forum.com/t/looking-for-ngnix-experience-expert-in-munich-germany/200326 "2010-12-09T10:26:47Z")

</div>

Hi all, we are running a high traffic website and want to switch to nginx as frontend server. We are looking for support in the following ways: first-time ngnix setup in HA environment continuous management of opera…

---

## [Nginx-FastCGI-C++](https://www.ruby-forum.com/t/nginx-fastcgi-c/200323)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 9:47am UTC](https://www.ruby-forum.com/t/nginx-fastcgi-c/200323 "2010-12-09T09:47:15Z")

</div>

Hello nginx, I have a Fastcgi C++ program as follow: 1 #include “fcgi\_stdio.h” 2 #include \<stdlib.h\> 3 4 int main(void) 5 { 6 int count = 0; 7 while(FCGI\_Accept() \>= 0) 8 printf(“Content-type: te…

---

## [Image\_filter and then save it for cache](https://www.ruby-forum.com/t/image-filter-and-then-save-it-for-cache/200320)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 9, 2010, 8:21am UTC](https://www.ruby-forum.com/t/image-filter-and-then-save-it-for-cache/200320 "2010-12-09T08:21:23Z")

</div>

I want to keep image\_filter’s result to harddrive, and any one can help me to do it? Now I can only resize the original image. Following code only does resize. image resize location /pic { root /Users/alexgao/linux/…

---

## [Multiviews in Nginx](https://www.ruby-forum.com/t/multiviews-in-nginx/200290)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 9, 2010, 6:58am UTC](https://www.ruby-forum.com/t/multiviews-in-nginx/200290 "2010-12-09T06:58:38Z")

</div>

Hi, It’s possible in Nginx to make “Multiviews”? (like Apache) I didn’t found information about this for Nginx For example: www.domain.com/test1/ → www.domain.com/test1.php www.domain.com/test1/test2/ …

---

## [Two little bugs](https://www.ruby-forum.com/t/two-little-bugs/200212)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 13\
**Last updated:** [December 9, 2010, 2:55am UTC](https://www.ruby-forum.com/t/two-little-bugs/200212 "2010-12-09T02:55:09Z")

</div>

I find two little bugs. Don’t know whether others mentioned or not. if the argument of nginx -c is a relative path, it wil trigger a segment fault. Meant to be implemented like that? Because since 0.5.x to current r…

---

## [Way to queue connections until a uwsgi socket available?](https://www.ruby-forum.com/t/way-to-queue-connections-until-a-uwsgi-socket-available/200311)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 8, 2010, 11:48pm UTC](https://www.ruby-forum.com/t/way-to-queue-connections-until-a-uwsgi-socket-available/200311 "2010-12-08T23:48:47Z")

</div>

We are currently configuring nginx and uwsgi on ubuntu 9.10. We are having a problem while load testing in that when uwsgi becomes saturated, nginx kills incoming connections rather than queueing. I cannot figure ou…

---

## [Real time stats engine for high traffic web sites](https://www.ruby-forum.com/t/real-time-stats-engine-for-high-traffic-web-sites/200305)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 8, 2010, 10:14pm UTC](https://www.ruby-forum.com/t/real-time-stats-engine-for-high-traffic-web-sites/200305 "2010-12-08T22:14:36Z")

</div>

Hi guys We are looking for a tool / service that can manage real-time log analysis of high traffic web sites. We have 15+ front end servers and around 2.2M visits per day, all running nginx. Any suggestions ? Thank…

---

## [GeoIP support for other geo databases?](https://www.ruby-forum.com/t/geoip-support-for-other-geo-databases/200296)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 8, 2010, 6:49pm UTC](https://www.ruby-forum.com/t/geoip-support-for-other-geo-databases/200296 "2010-12-08T18:49:12Z")

</div>

Hi, I am using the GeoIP module with the MaxMind database. The module works great and does exactly what I need, but I find the quality of the data from MaxMind to be lacking. For example, even the paid MaxMind dat…

---

## [Websockets roadmap?](https://www.ruby-forum.com/t/websockets-roadmap/200275)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 8, 2010, 11:18am UTC](https://www.ruby-forum.com/t/websockets-roadmap/200275 "2010-12-08T11:18:24Z")

</div>

Websockets roadmap? can anyone please identify the issues around nginx support for websockets? is there a plan or roadmap? regards Jonathan Chetwynd

---

## [A Bug](https://www.ruby-forum.com/t/a-bug/200257)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 8, 2010, 8:39am UTC](https://www.ruby-forum.com/t/a-bug/200257 "2010-12-08T08:39:01Z")

</div>

I redirect the \*.yanbao360.com to www.yanbao360.com use the configuration below. everything is ok except three case return 200 not 302 how to duplicate (nginx 0.8.x ~ 0.9.x) then paste one of these text GET / HTTP…

---

## [Conditional "Expires" header config bug](https://www.ruby-forum.com/t/conditional-expires-header-config-bug/200254)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 8, 2010, 12:24am UTC](https://www.ruby-forum.com/t/conditional-expires-header-config-bug/200254 "2010-12-08T00:24:07Z")

</div>

Hi, I’m trying to conditionally set the “Expires” header. This tiny snippet does not work as expected: location ~\* testing/.\*\\.png$ { if ($request\_uri ~\* "\\.png\\?\[0-9\]+$") { expires max; } try\_files $uri /te…

---

## [OR conditional usage behavior changed in 0.8.x?](https://www.ruby-forum.com/t/or-conditional-usage-behavior-changed-in-0-8-x/200155)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 7, 2010, 11:41pm UTC](https://www.ruby-forum.com/t/or-conditional-usage-behavior-changed-in-0-8-x/200155 "2010-12-07T23:41:57Z")

</div>

Hi all, I used to be able to use the OR conditional this way: location = /(40x|50x).html { allow all; } It looks like I cannot use it anymore in 0.8.53 version. Can you please let me know what is the new type …

---

## [Nginx: : unknown "secure\_download" variable](https://www.ruby-forum.com/t/nginx-unknown-secure-download-variable/200238)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 7, 2010, 5:28pm UTC](https://www.ruby-forum.com/t/nginx-unknown-secure-download-variable/200238 "2010-12-07T17:28:23Z")

</div>

I was following the example in Secure Download | NGINX but when I added this: if ($secure\_download = "-1") { rewrite /expired.html break; } if ($secure\_download = "-2") { …

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

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