# Server

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

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

---

## [Looking for contributors to write a modular book on Nginx in French](https://www.ruby-forum.com/t/looking-for-contributors-to-write-a-modular-book-on-nginx-in-french/226716)

<div class="topic-metadata">

**Author:** [@D-BookeR](https://www.ruby-forum.com/u/D-BookeR)\
**Replies:** 0\
**Last updated:** [February 19, 2013, 11:11am UTC](https://www.ruby-forum.com/t/looking-for-contributors-to-write-a-modular-book-on-nginx-in-french/226716 "2013-02-19T11:11:13Z")

</div>

Hello, I’m looking for French-writing contributors and authors for writting a modular book on Nginx (in French). All experiences may be interesting, since a part of the book will be dedicated to use cases. The book …

---

## [Websocket proxy support](https://www.ruby-forum.com/t/websocket-proxy-support/226690)

<div class="topic-metadata">

**Author:** [@perone](https://www.ruby-forum.com/u/perone)\
**Replies:** 2\
**Last updated:** [February 19, 2013, 3:19am UTC](https://www.ruby-forum.com/t/websocket-proxy-support/226690 "2013-02-19T03:19:47Z")

</div>

Is there any updates on the Websocket proxy support ? Everything I found is only this: http://trac.nginx.org/nginx/milestone/1.3.13 Thank you ! Posted at Nginx Forum:

---

## [Geo blocking, but allowing google index robot to pass-thru](https://www.ruby-forum.com/t/geo-blocking-but-allowing-google-index-robot-to-pass-thru/226688)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [February 18, 2013, 10:11pm UTC](https://www.ruby-forum.com/t/geo-blocking-but-allowing-google-index-robot-to-pass-thru/226688 "2013-02-18T22:11:51Z")

</div>

Hi I have a site where i want to geo block all but one country, but perhaps allow Google to index site, perhaps some other index bot too. So what sort of configuration is needed so i can detect Google bot and let it…

---

## [Debugging performance under high load](https://www.ruby-forum.com/t/debugging-performance-under-high-load/226668)

<div class="topic-metadata">

**Author:** [@fluffypony](https://www.ruby-forum.com/u/fluffypony)\
**Replies:** 1\
**Last updated:** [February 18, 2013, 8:03pm UTC](https://www.ruby-forum.com/t/debugging-performance-under-high-load/226668 "2013-02-18T20:03:19Z")

</div>

Hi all, I have a reasonably beefy VPS (16gb RAM, 4x vCores) running Ubuntu 12.04 LTS on a 1GigE line that is basically uncontested at the moment. Speed tests on the box show reasonably high bandwidth available up an…

---

## [Proxy module for nginx](https://www.ruby-forum.com/t/proxy-module-for-nginx/226695)

<div class="topic-metadata">

**Author:** [@zzhofict](https://www.ruby-forum.com/u/zzhofict)\
**Replies:** 1\
**Last updated:** [February 18, 2013, 3:50pm UTC](https://www.ruby-forum.com/t/proxy-module-for-nginx/226695 "2013-02-18T15:50:45Z")

</div>

Hi, all I want to make a module for my nginx server, which can block some ip with particular features. My idea is to create a module like the proxy module in some way, can any of you give me some suggestions? Than…

---

## [A dynamic web-site written wholly in nginx.conf? Introducing mdoc.su!](https://www.ruby-forum.com/t/a-dynamic-web-site-written-wholly-in-nginx-conf-introducing-mdoc-su/226684)

<div class="topic-metadata">

**Author:** [@Constantine\_ASMure](https://www.ruby-forum.com/u/Constantine_ASMure)\
**Replies:** 1\
**Last updated:** [February 18, 2013, 2:58pm UTC](https://www.ruby-forum.com/t/a-dynamic-web-site-written-wholly-in-nginx-conf-introducing-mdoc-su/226684 "2013-02-18T14:58:10Z")

</div>

Dear nginx@, I’m not sure if this has already been done before and to what extent, but I’d like to demonstrate that a whole web-service “portal” can be written exclusively in nginx.conf, without any php, perl, python,…

---

## [Embedded variable $cookie\_YYY and "-" symbol](https://www.ruby-forum.com/t/embedded-variable-cookie-yyy-and-symbol/226687)

<div class="topic-metadata">

**Author:** [@Igor\_Karymov](https://www.ruby-forum.com/u/Igor_Karymov)\
**Replies:** 3\
**Last updated:** [February 18, 2013, 2:10pm UTC](https://www.ruby-forum.com/t/embedded-variable-cookie-yyy-and-symbol/226687 "2013-02-18T14:10:49Z")

</div>

Hi all. I observe unexpected behavior when trying to use $cookie\_YYY embended variable when cookie name include “-” symbol. set $uwaver $cookie\_un-uwa-version; $uwaver always equal to “-uwa-version” string instead of …

---

## [Limit connections to mp4 files](https://www.ruby-forum.com/t/limit-connections-to-mp4-files/226689)

<div class="topic-metadata">

**Author:** [@cris](https://www.ruby-forum.com/u/cris)\
**Replies:** 0\
**Last updated:** [February 18, 2013, 1:02pm UTC](https://www.ruby-forum.com/t/limit-connections-to-mp4-files/226689 "2013-02-18T13:02:19Z")

</div>

Hello I set this to my nginx config to prevent users playing multiple videos at the same time: http { limit\_conn\_zone $binary\_remote\_addr zone=addr:10m; server { location ~ .mp4$ { limit\_conn addr 2; limit\_conn\_…

---

## [A dynamic web-site written wholly in nginx.conf? Introducing mdoc.su!](https://www.ruby-forum.com/t/a-dynamic-web-site-written-wholly-in-nginx-conf-introducing-mdoc-su/226681)

<div class="topic-metadata">

**Author:** [@Constantine\_ASMure](https://www.ruby-forum.com/u/Constantine_ASMure)\
**Replies:** 0\
**Last updated:** [February 18, 2013, 9:06am UTC](https://www.ruby-forum.com/t/a-dynamic-web-site-written-wholly-in-nginx-conf-introducing-mdoc-su/226681 "2013-02-18T09:06:51Z")

</div>

This is a multi-part message in MIME format. --------------030707040502000103070707 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Dear nginx@, I’m not sure if this has alrea…

---

## [Ngx\_openresty stable version 1.2.6.6 released](https://www.ruby-forum.com/t/ngx-openresty-stable-version-1-2-6-6-released/226677)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [February 18, 2013, 6:01am UTC](https://www.ruby-forum.com/t/ngx-openresty-stable-version-1-2-6-6-released/226677 "2013-02-18T06:01:41Z")

</div>

Hello, folks! I am delighted to announce that the new stable version of ngx\_openresty, 1.2.6.6, is just out: http://openresty.org/download/ngx\_openresty-1.2.6.6.tar.gz And the PGP signature file for this release tar …

---

## [Rewriting jpg with specific google referer to 1 pixel gif](https://www.ruby-forum.com/t/rewriting-jpg-with-specific-google-referer-to-1-pixel-gif/226675)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 0\
**Last updated:** [February 18, 2013, 2:39am UTC](https://www.ruby-forum.com/t/rewriting-jpg-with-specific-google-referer-to-1-pixel-gif/226675 "2013-02-18T02:39:33Z")

</div>

If I understand correctly, nginx doesn’t do multiple conditions in an ‘if’ or nested if’s. Based on some of the ideas being tossed around in this thread (Google Images' New (Bing-like) Layout - Google Search and SEO …

---

## [Upgrade From Fedora 15 to 17: nginx Doesn't Work](https://www.ruby-forum.com/t/upgrade-from-fedora-15-to-17-nginx-doesnt-work/220283)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 9\
**Last updated:** [February 16, 2013, 10:32am UTC](https://www.ruby-forum.com/t/upgrade-from-fedora-15-to-17-nginx-doesnt-work/220283 "2013-02-16T10:32:03Z")

</div>

Had nginx 1.0.5 running on a Fedora 15 system just fine for months. Upgraded the server from F15 to F17. At first, all seems well, but over time, I keep getting 500 errors on proxied sites. Logs say: “socket() failed …

---

## [Nginx not reverse proxying correctly](https://www.ruby-forum.com/t/nginx-not-reverse-proxying-correctly/229830)

<div class="topic-metadata">

**Author:** [@antoinebk](https://www.ruby-forum.com/u/antoinebk)\
**Replies:** 0\
**Last updated:** [February 15, 2013, 3:34pm UTC](https://www.ruby-forum.com/t/nginx-not-reverse-proxying-correctly/229830 "2013-02-15T15:34:43Z")

</div>

Hello, I come seeking your help because I have a problem that I have been unable to solve using the classic Internet resources. Currently, we have an Apache2 webserver acting as load balancer for our web architectu…

---

## [Regex for rewrite of subdomains](https://www.ruby-forum.com/t/regex-for-rewrite-of-subdomains/229924)

<div class="topic-metadata">

**Author:** [@etrader](https://www.ruby-forum.com/u/etrader)\
**Replies:** 3\
**Last updated:** [February 15, 2013, 7:22am UTC](https://www.ruby-forum.com/t/regex-for-rewrite-of-subdomains/229924 "2013-02-15T07:22:40Z")

</div>

I want to rewrite subdomains by adding a separate server for subdomains as server { server\_name domain.com … } server { server\_name \*.domain.com } but how I can I ass a rewrite rule int the second server to proc…

---

## [Only allow traffic from specific servers](https://www.ruby-forum.com/t/only-allow-traffic-from-specific-servers/229889)

<div class="topic-metadata">

**Author:** [@mottwsc](https://www.ruby-forum.com/u/mottwsc)\
**Replies:** 1\
**Last updated:** [February 14, 2013, 1:13pm UTC](https://www.ruby-forum.com/t/only-allow-traffic-from-specific-servers/229889 "2013-02-14T13:13:13Z")

</div>

BACKGROUND: I will be setting up two servers on a hosted platform. I plan to use NGINX as a front-end proxy for APACHE. Let’s call the two servers App Server 1 and App Server 2. I also have a server on another host…

---

## [Content-Length ###s being served, but no actual content](https://www.ruby-forum.com/t/content-length-s-being-served-but-no-actual-content/229542)

<div class="topic-metadata">

**Author:** [@tsaavik](https://www.ruby-forum.com/u/tsaavik)\
**Replies:** 1\
**Last updated:** [February 14, 2013, 12:08pm UTC](https://www.ruby-forum.com/t/content-length-s-being-served-but-no-actual-content/229542 "2013-02-14T12:08:19Z")

</div>

I’ve discovered what I believe to be a bug (yeah I know everyone is already rolling their eyes) :smiley: I believe that my CGI is returning some data (perhaps Content-Type header) and then is occasionally stalling d…

---

## [When 1.3 becomes stable?](https://www.ruby-forum.com/t/when-1-3-becomes-stable/229814)

<div class="topic-metadata">

**Author:** [@ConnorMcLaud](https://www.ruby-forum.com/u/ConnorMcLaud)\
**Replies:** 1\
**Last updated:** [February 13, 2013, 11:58am UTC](https://www.ruby-forum.com/t/when-1-3-becomes-stable/229814 "2013-02-13T11:58:01Z")

</div>

I want to know when there will be stable 1.3 version of nginx. Personally I interested in this feature: \*) Feature: support for chunked transfer encoding while reading client request body. I need to know should we im…

---

## [Nginx-1.2.7](https://www.ruby-forum.com/t/nginx-1-2-7/229920)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 1\
**Last updated:** [February 13, 2013, 10:15am UTC](https://www.ruby-forum.com/t/nginx-1-2-7/229920 "2013-02-13T10:15:08Z")

</div>

Changes with nginx 1.2.7 12 Feb 2013 \*) Change: now if the "include" directive with mask is used on Unix systems, included files are sorted in alphabetical order. \*) Change: …

---

## [Need help : Getting 502 response status code for specific URL](https://www.ruby-forum.com/t/need-help-getting-502-response-status-code-for-specific-url/229803)

<div class="topic-metadata">

**Author:** [@Raghvendra\_Parashar](https://www.ruby-forum.com/u/Raghvendra_Parashar)\
**Replies:** 1\
**Last updated:** [February 12, 2013, 9:27pm UTC](https://www.ruby-forum.com/t/need-help-getting-502-response-status-code-for-specific-url/229803 "2013-02-12T21:27:58Z")

</div>

Hi nginx team, I am getting 502 bad gateway error for particular URL. Application details : Rails 3.1.0 Ruby 1.9.2 unicorn 4.2.0 resque 1.20.0 nginx/1.0.14 redis 2.4.8 nginx error log : 2013/02/12 07:36:16 \[err…

---

## [Re: set $cookie\_abc "$cookie\_abc";](https://www.ruby-forum.com/t/re-set-cookie-abc-cookie-abc/229900)

<div class="topic-metadata">

**Author:** [@SSAntS\_nio\_PSPSAlm](https://www.ruby-forum.com/u/SSAntS_nio_PSPSAlm)\
**Replies:** 0\
**Last updated:** [February 12, 2013, 10:14am UTC](https://www.ruby-forum.com/t/re-set-cookie-abc-cookie-abc/229900 "2013-02-12T10:14:00Z")

</div>

Do you really need to use Lua? It seems that the required logic can be done using the map directive. Explain clearly what you want to achieve. –appa amodpandey removed\_email\_address@domain.invalid a écrit :

---

## [Nginx seems to ignore proxy\_set\_header Host directive](https://www.ruby-forum.com/t/nginx-seems-to-ignore-proxy-set-header-host-directive/229519)

<div class="topic-metadata">

**Author:** [@jeangouytch](https://www.ruby-forum.com/u/jeangouytch)\
**Replies:** 4\
**Last updated:** [February 12, 2013, 8:55am UTC](https://www.ruby-forum.com/t/nginx-seems-to-ignore-proxy-set-header-host-directive/229519 "2013-02-12T08:55:07Z")

</div>

Hi all I am trying to use nginx to get remote access to various service on my home server, via proxy\_pass redirection to various subdirectorys For example, owncloud server with apache, pyload with it’s builtin http …

---

## [Set $cookie\_abc "$cookie\_abc";](https://www.ruby-forum.com/t/set-cookie-abc-cookie-abc/229908)

<div class="topic-metadata">

**Author:** [@amodpandey](https://www.ruby-forum.com/u/amodpandey)\
**Replies:** 10\
**Last updated:** [February 12, 2013, 4:22am UTC](https://www.ruby-forum.com/t/set-cookie-abc-cookie-abc/229908 "2013-02-12T04:22:22Z")

</div>

I have some lua code where I play with the value of ngx.var.cookie\_abc. The variable must exist if some assignment is done on it. To achieve this I did set $cookie\_abc “$cookie\_abc”; The above line clears the value …

---

## [RE: Converting Apache configs to nginx, why is a NameVirtualHost workalike is a bad thing?](https://www.ruby-forum.com/t/re-converting-apache-configs-to-nginx-why-is-a-namevirtualhost-workalike-is-a-bad-thing/229793)

<div class="topic-metadata">

**Author:** [@Unai\_R](https://www.ruby-forum.com/u/Unai_R)\
**Replies:** 0\
**Last updated:** [February 12, 2013, 4:00am UTC](https://www.ruby-forum.com/t/re-converting-apache-configs-to-nginx-why-is-a-namevirtualhost-workalike-is-a-bad-thing/229793 "2013-02-12T04:00:45Z")

</div>

Having one block per server is the best for performance because you only test a condition once; the way you’re doing it would require NGINX to evaluate hostnames twice or maybe more. In my opinion config maintenance i…

---

## [Converting Apache configs to nginx, why is a NameVirtualHost workalike is a bad thing?](https://www.ruby-forum.com/t/converting-apache-configs-to-nginx-why-is-a-namevirtualhost-workalike-is-a-bad-thing/229899)

<div class="topic-metadata">

**Author:** [@limeyd](https://www.ruby-forum.com/u/limeyd)\
**Replies:** 0\
**Last updated:** [February 12, 2013, 3:18am UTC](https://www.ruby-forum.com/t/converting-apache-configs-to-nginx-why-is-a-namevirtualhost-workalike-is-a-bad-thing/229899 "2013-02-12T03:18:40Z")

</div>

I’m switching some servers from Apache 2.2.x to nginx 1.2.6. In Apache, I use NameVirtualHost. I also use Rewrite directives to manage www. prefixing via a 301 redirect. All the user has to is create /wwwroot/$host…

---

## [Proxing webservices (Webservices, WSDL, SOAP)](https://www.ruby-forum.com/t/proxing-webservices-webservices-wsdl-soap/225797)

<div class="topic-metadata">

**Author:** [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Replies:** 1\
**Last updated:** [February 11, 2013, 3:57pm UTC](https://www.ruby-forum.com/t/proxing-webservices-webservices-wsdl-soap/225797 "2013-02-11T15:57:44Z")

</div>

What is the correct way to proxing to any remote webservice? How to use nginx in front of IIS or other web server, who serves webservices? As an example we have any remote SOAP webservice at http://B:8089/getClientSer…

---

## [Upstream with vps](https://www.ruby-forum.com/t/upstream-with-vps/229634)

<div class="topic-metadata">

**Author:** [@mdwalter](https://www.ruby-forum.com/u/mdwalter)\
**Replies:** 3\
**Last updated:** [February 11, 2013, 2:02pm UTC](https://www.ruby-forum.com/t/upstream-with-vps/229634 "2013-02-11T14:02:01Z")

</div>

Hello guy, I’m sorry for my english So I have 4 vps: 4gb ram 1 processor 1 ipv4 2gb ram 4 processors 3 ipv4 + 3 ipv6 1gb ram 4 processors 3 ipv4 + 3 ipv6 1gb ram 4 processors 3 ipv4 + 3 ipv6 I thought this configurat…

---

## [Nginx or apache for game](https://www.ruby-forum.com/t/nginx-or-apache-for-game/229904)

<div class="topic-metadata">

**Author:** [@mottwsc](https://www.ruby-forum.com/u/mottwsc)\
**Replies:** 6\
**Last updated:** [February 11, 2013, 10:12am UTC](https://www.ruby-forum.com/t/nginx-or-apache-for-game/229904 "2013-02-11T10:12:57Z")

</div>

We are building a web based game on a LAMP stack, but it could just as well be on a LEMP stack. The game does not involve a lot of typical game stuff - character movement, etc. - like in most video games. Instead, …

---

## [Worker process (cache manager process) exiting on signal 11](https://www.ruby-forum.com/t/worker-process-cache-manager-process-exiting-on-signal-11/229821)

<div class="topic-metadata">

**Author:** [@Sil68](https://www.ruby-forum.com/u/Sil68)\
**Replies:** 7\
**Last updated:** [February 10, 2013, 2:29pm UTC](https://www.ruby-forum.com/t/worker-process-cache-manager-process-exiting-on-signal-11/229821 "2013-02-10T14:29:53Z")

</div>

I’ve compiled nginx 1.3.11 on my RaspberryPI (512MB) running Debian Wheezy/ARM, and all appears to be quite okay, that is until nginx is getting fired up, then it’s aborting with some error message. ~~~~~~~~~~~~~~~~~~…

---

## [Fastcgi\_keep\_conn + PHP-FPM](https://www.ruby-forum.com/t/fastcgi-keep-conn-php-fpm/229876)

<div class="topic-metadata">

**Author:** [@steffen\_w](https://www.ruby-forum.com/u/steffen_w)\
**Replies:** 4\
**Last updated:** [February 10, 2013, 1:30pm UTC](https://www.ruby-forum.com/t/fastcgi-keep-conn-php-fpm/229876 "2013-02-10T13:30:17Z")

</div>

The changelog of nginx 1.3.12 mentions a bugfix in the “fastcgi\_keep\_conn” directive. Therefore I decided to give this feature a try. Snippet from nginx.conf: fastcgi\_keep\_conn on; upstream php { …

---

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

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [February 8, 2013, 9:26pm UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-6-5-released/229844 "2013-02-08T21:26:54Z")

</div>

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

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

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