# Server

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

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

---

## [Minimal configure options for just reverse proxying](https://www.ruby-forum.com/t/minimal-configure-options-for-just-reverse-proxying/189951)

<div class="topic-metadata">

**Author:** [@dandadude](https://www.ruby-forum.com/u/dandadude)\
**Replies:** 1\
**Last updated:** [June 10, 2010, 2:19pm UTC](https://www.ruby-forum.com/t/minimal-configure-options-for-just-reverse-proxying/189951 "2010-06-10T14:19:39Z")

</div>

Hi! I am using Gentoo, and thus have several options on how to configure Nginx. I have never used Nginx before, and I would like to start using it as strictly a reverse proxy. The Gentoo use-flags are here: http://…

---

## [Ngix\_http\_push\_module and moderator](https://www.ruby-forum.com/t/ngix-http-push-module-and-moderator/189952)

<div class="topic-metadata">

**Author:** [@JCR](https://www.ruby-forum.com/u/JCR)\
**Replies:** 0\
**Last updated:** [June 10, 2010, 1:51pm UTC](https://www.ruby-forum.com/t/ngix-http-push-module-and-moderator/189952 "2010-06-10T13:51:33Z")

</div>

Hello, Using the http\_push\_module, I have several clients chatting with each other. I need to put a moderator in the between who would for instance check messages and possible change those messages or close the channe…

---

## [Rewrite rule for cache busting URLs](https://www.ruby-forum.com/t/rewrite-rule-for-cache-busting-urls/189903)

<div class="topic-metadata">

**Author:** [@bkirkbri](https://www.ruby-forum.com/u/bkirkbri)\
**Replies:** 5\
**Last updated:** [June 9, 2010, 10:11pm UTC](https://www.ruby-forum.com/t/rewrite-rule-for-cache-busting-urls/189903 "2010-06-09T22:11:29Z")

</div>

Our application uses versioned URLs like http://domain.com/r123456789/resource/uri to allow for aggressive caching and easy cache invalidation. To get this working in nginx, I currently have a config like this: #####…

---

## [Nginx rewrite help](https://www.ruby-forum.com/t/nginx-rewrite-help/189908)

<div class="topic-metadata">

**Author:** [@kevin](https://www.ruby-forum.com/u/kevin)\
**Replies:** 1\
**Last updated:** [June 9, 2010, 7:39pm UTC](https://www.ruby-forum.com/t/nginx-rewrite-help/189908 "2010-06-09T19:39:52Z")

</div>

hi how do i do this rewrite in nginx? can you help me out id.quiz.xx.com → quiz.xx.com/?quiz\_id=id thanks a lot!

---

## [Nginx -s reload fails / workers in process-state H](https://www.ruby-forum.com/t/nginx-s-reload-fails-workers-in-process-state-h/189896)

<div class="topic-metadata">

**Author:** [@John\_Feuerstein](https://www.ruby-forum.com/u/John_Feuerstein)\
**Replies:** 1\
**Last updated:** [June 9, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/nginx-s-reload-fails-workers-in-process-state-h/189896 "2010-06-09T16:27:16Z")

</div>

Hello, using nginx-0.8.40 on Linux 2.6.32 I’ve encountered a problem with nginx reloading, which leaves \[nginx\] processes in process state “H” behind. As soon as the first of these processes is left behind, nginx is …

---

## [Help noob with redirection](https://www.ruby-forum.com/t/help-noob-with-redirection/189881)

<div class="topic-metadata">

**Author:** [@SSS\_UxBoD\_S-S](https://www.ruby-forum.com/u/SSS_UxBoD_S-S)\
**Replies:** 8\
**Last updated:** [June 9, 2010, 2:36pm UTC](https://www.ruby-forum.com/t/help-noob-with-redirection/189881 "2010-06-09T14:36:01Z")

</div>

Hi, I have installed my first NGINX proxy and having a real problem with redirects. As a example I have published externally: https://pm.domain.com/client1 https://pm.domain.com/client2 which should then redirect t…

---

## [Nginx-0.8.40](https://www.ruby-forum.com/t/nginx-0-8-40/189771)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [June 9, 2010, 11:22am UTC](https://www.ruby-forum.com/t/nginx-0-8-40/189771 "2010-06-09T11:22:15Z")

</div>

Changes with nginx 0.8.40 07 Jun 2010 \*) Security: now nginx/Windows ignores default file stream name. Thanks to Jose Antonio Vazquez Gonzalez. \*) Feature: the ngx\_http\_uwsgi\_…

---

## [Process and forward http request](https://www.ruby-forum.com/t/process-and-forward-http-request/189863)

<div class="topic-metadata">

**Author:** [@JCR](https://www.ruby-forum.com/u/JCR)\
**Replies:** 0\
**Last updated:** [June 9, 2010, 3:57am UTC](https://www.ruby-forum.com/t/process-and-forward-http-request/189863 "2010-06-09T03:57:24Z")

</div>

Hello, Is there a way to set up nginx so that an http request is: (1) processed as usual, with the client receiving the appropriate answer (2) and the same request is forwarded to another server with the answer ignor…

---

## [High memory consumption when proxying to a Comet server](https://www.ruby-forum.com/t/high-memory-consumption-when-proxying-to-a-comet-server/186709)

<div class="topic-metadata">

**Author:** [@RogSSSSrio\_Schneide](https://www.ruby-forum.com/u/RogSSSSrio_Schneide)\
**Replies:** 16\
**Last updated:** [June 9, 2010, 1:59am UTC](https://www.ruby-forum.com/t/high-memory-consumption-when-proxying-to-a-comet-server/186709 "2010-06-09T01:59:10Z")

</div>

Folks, When proxying to a Comet server, I was able to notice that Nginx is eating and not releasing a massive amount of memory. As we all know, Comet servers can have this “streaming” mode, where we receive a chunked…

---

## [Hidden Locations](https://www.ruby-forum.com/t/hidden-locations/189858)

<div class="topic-metadata">

**Author:** [@Matthieu\_T](https://www.ruby-forum.com/u/Matthieu_T)\
**Replies:** 0\
**Last updated:** [June 9, 2010, 12:12am UTC](https://www.ruby-forum.com/t/hidden-locations/189858 "2010-06-09T00:12:04Z")

</div>

Hi, I wanted to use internal locations to issue subrequests and internal redirects to services, but avoid returning a 404 instantly if an internal url is requested. I don’t have control over the websites we’re proxyi…

---

## [FastCGI with Caching & JSONP -\> Caching problem](https://www.ruby-forum.com/t/fastcgi-with-caching-jsonp-caching-problem/189855)

<div class="topic-metadata">

**Author:** [@mcmaxx](https://www.ruby-forum.com/u/mcmaxx)\
**Replies:** 3\
**Last updated:** [June 8, 2010, 11:52pm UTC](https://www.ruby-forum.com/t/fastcgi-with-caching-jsonp-caching-problem/189855 "2010-06-08T23:52:10Z")

</div>

Hello, We’re currently running a server on nginx and fastCGI with caching enabled. The problem is, the javascript requesting the .php files from nginx w/ fastCGI needs to used JSONP since it’s cross-site. We’re noti…

---

## [Please help - "fastcgi request record is too big" - no idea](https://www.ruby-forum.com/t/please-help-fastcgi-request-record-is-too-big-no-idea/189854)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [June 8, 2010, 11:23pm UTC](https://www.ruby-forum.com/t/please-help-fastcgi-request-record-is-too-big-no-idea/189854 "2010-06-08T23:23:29Z")

</div>

We’re hitting this with a simple AJAX-based file upload. The file being uploaded is only 199862 bytes. The debug output is here. I masked the hostnames and IPs (with the same length though, just in case) to protect th…

---

## [Nginx-0.7.66](https://www.ruby-forum.com/t/nginx-0-7-66/189773)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 10\
**Last updated:** [June 8, 2010, 5:31pm UTC](https://www.ruby-forum.com/t/nginx-0-7-66/189773 "2010-06-08T17:31:37Z")

</div>

Changes with nginx 0.7.66 07 Jun 2010 \*) Security: now nginx/Windows ignores default file stream name. Thanks to Jose Antonio Vazquez Gonzalez. \*) Change: now the charset filt…

---

## [FastCGI problem](https://www.ruby-forum.com/t/fastcgi-problem/189816)

<div class="topic-metadata">

**Author:** [@Chancey](https://www.ruby-forum.com/u/Chancey)\
**Replies:** 4\
**Last updated:** [June 8, 2010, 1:13pm UTC](https://www.ruby-forum.com/t/fastcgi-problem/189816 "2010-06-08T13:13:54Z")

</div>

Hi, all: I wrote a fastcgi program to upload files, i want stop receive and wrote like this: while(FCGI\_Accept() \>= 0) { if(filesize) continue; } but i found nginx received all stream from brower and then send st…

---

## [Proxy problem](https://www.ruby-forum.com/t/proxy-problem/189769)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [June 7, 2010, 5:19pm UTC](https://www.ruby-forum.com/t/proxy-problem/189769 "2010-06-07T17:19:02Z")

</div>

Hi, We had nginx/0.6.33 and we migrated to nginx/0.7.65. We use nginx as frontend for our webmail, that it is in another machine (nginx+apache). But in the new scenario, squirrelmail loss session (I guess) and force …

---

## [Denyhost howto](https://www.ruby-forum.com/t/denyhost-howto/189749)

<div class="topic-metadata">

**Author:** [@Quan\_Zhou](https://www.ruby-forum.com/u/Quan_Zhou)\
**Replies:** 2\
**Last updated:** [June 7, 2010, 5:43am UTC](https://www.ruby-forum.com/t/denyhost-howto/189749 "2010-06-07T05:43:33Z")

</div>

Hi all, I’m trying to ban a list of ip on my host by a file in following format: Address Netmask How can I do that? Thanks Individuals who have received this information in error or are not authorized to receive i…

---

## [Post Handler Hook](https://www.ruby-forum.com/t/post-handler-hook/189736)

<div class="topic-metadata">

**Author:** [@Shameem\_Ahamed](https://www.ruby-forum.com/u/Shameem_Ahamed)\
**Replies:** 1\
**Last updated:** [June 6, 2010, 11:21pm UTC](https://www.ruby-forum.com/t/post-handler-hook/189736 "2010-06-06T23:21:59Z")

</div>

Hi All, I am writing a test module for nginx. Basically I want to limit the simultaneous downloads of the files. I am creating a temp file when a download request comes. I am doing it in the start of handler. I want…

---

## [Ngx\_headers\_more v0.10: ability to remove a header completely](https://www.ruby-forum.com/t/ngx-headers-more-v0-10-ability-to-remove-a-header-completely/189732)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [June 6, 2010, 2:41pm UTC](https://www.ruby-forum.com/t/ngx-headers-more-v0-10-ability-to-remove-a-header-completely/189732 "2010-06-06T14:41:03Z")

</div>

Hi, all I’m happy to announce that the v0.10 release of ngx\_headers\_more has just landed: http://github.com/agentzh/headers-more-nginx-module/tarball/v0.10 This module allows you to add, set, or clear any output or i…

---

## [Clear the un-clear for me!](https://www.ruby-forum.com/t/clear-the-un-clear-for-me/189648)

<div class="topic-metadata">

**Author:** [@aembed](https://www.ruby-forum.com/u/aembed)\
**Replies:** 2\
**Last updated:** [June 6, 2010, 12:23pm UTC](https://www.ruby-forum.com/t/clear-the-un-clear-for-me/189648 "2010-06-06T12:23:31Z")

</div>

Hello everyone , First of all , I would like to thanks Igor and his team for this real nice web server which can take a huge of work in less resources and fast speed . I hope to get the answers for my questions as i …

---

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

<div class="topic-metadata">

**Author:** [@kleinchris](https://www.ruby-forum.com/u/kleinchris)\
**Replies:** 2\
**Last updated:** [June 6, 2010, 12:54am UTC](https://www.ruby-forum.com/t/nginx-and-fastcgi-c-c/189699 "2010-06-06T00:54:41Z")

</div>

Hello is it possible, that nginx can open FastCGI Application’s like the Apache2 mod\_fastcgi and open applications like: #include \<fcgi\_stdio.h\> int main(void) { unsigned int counter = 1; while(FCGI\_Accept() \>= …

---

## [Multiple resolvers](https://www.ruby-forum.com/t/multiple-resolvers/189701)

<div class="topic-metadata">

**Author:** [@Nedim\_Hadzimahmutov](https://www.ruby-forum.com/u/Nedim_Hadzimahmutov)\
**Replies:** 0\
**Last updated:** [June 5, 2010, 6:41pm UTC](https://www.ruby-forum.com/t/multiple-resolvers/189701 "2010-06-05T18:41:49Z")

</div>

Can I define multiple resolvers in a virtual host? My default resolver crashes sometimes and I get ‘bad gateway’ error message and all sites stop working. Thanks Nedim

---

## [Reverse Proxy - Issue in 0.8.36/.37](https://www.ruby-forum.com/t/reverse-proxy-issue-in-0-8-36-37/189682)

<div class="topic-metadata">

**Author:** [@kevin](https://www.ruby-forum.com/u/kevin)\
**Replies:** 2\
**Last updated:** [June 5, 2010, 2:18am UTC](https://www.ruby-forum.com/t/reverse-proxy-issue-in-0-8-36-37/189682 "2010-06-05T02:18:29Z")

</div>

I can’t really post my config with all information but I can post the specific configuration for the site’s that have issues. nginx 0.7.x does not show this problem. If you configure a SSL reverse proxy: server { li…

---

## [Proxying](https://www.ruby-forum.com/t/proxying/189594)

<div class="topic-metadata">

**Author:** [@kleinchris](https://www.ruby-forum.com/u/kleinchris)\
**Replies:** 3\
**Last updated:** [June 5, 2010, 1:24am UTC](https://www.ruby-forum.com/t/proxying/189594 "2010-06-05T01:24:02Z")

</div>

Hello i’ve got just 2 Servers. Both are running nginx 0.8.39. Server 1 should be a reverse proxy to another Server 2 with nginx and a php backend. but when i set proxy\_pass http://server2/; i can’t open admincp/index.…

---

## [Problem after lucid lynx upgrade](https://www.ruby-forum.com/t/problem-after-lucid-lynx-upgrade/189671)

<div class="topic-metadata">

**Author:** [@Chris\_Cortese](https://www.ruby-forum.com/u/Chris_Cortese)\
**Replies:** 2\
**Last updated:** [June 4, 2010, 9:52pm UTC](https://www.ruby-forum.com/t/problem-after-lucid-lynx-upgrade/189671 "2010-06-04T21:52:41Z")

</div>

I tried upgrading from Karmic Koala to Lucid Lynx. Naturally I had to rebuild php 5.3.2 w/php-fpm, and I upgraded nginx from 0.8.35 to 0.8.39. Now all I can get from any of my nginx dev sites is the “Welcome to Nginx…

---

## [Nginx remote exploit?](https://www.ruby-forum.com/t/nginx-remote-exploit/189668)

<div class="topic-metadata">

**Author:** [@Hinky\_Dink](https://www.ruby-forum.com/u/Hinky_Dink)\
**Replies:** 3\
**Last updated:** [June 4, 2010, 7:33pm UTC](https://www.ruby-forum.com/t/nginx-remote-exploit/189668 "2010-06-04T19:33:20Z")

</div>

Did I miss the memo? It’s (very) briefly mentioned in this post by Dave Aitel, third paragraph, second sentence…

---

## [Feature I'd like to see](https://www.ruby-forum.com/t/feature-id-like-to-see/189620)

<div class="topic-metadata">

**Author:** [@xgdlm](https://www.ruby-forum.com/u/xgdlm)\
**Replies:** 2\
**Last updated:** [June 4, 2010, 5:23pm UTC](https://www.ruby-forum.com/t/feature-id-like-to-see/189620 "2010-06-04T17:23:58Z")

</div>

Hello A feature I’d like to see is the ability to use the “include” directive in an upstream block something like upstream proxy3011 { include “proxy.conf”; } using a proxy.conf like server 192.168.0.1 max\_fails=…

---

## [HTTP-POST Upload Buffer - Nginx Loadbalancer](https://www.ruby-forum.com/t/http-post-upload-buffer-nginx-loadbalancer/189603)

<div class="topic-metadata">

**Author:** [@Elena\_Z](https://www.ruby-forum.com/u/Elena_Z)\
**Replies:** 7\
**Last updated:** [June 4, 2010, 7:52am UTC](https://www.ruby-forum.com/t/http-post-upload-buffer-nginx-loadbalancer/189603 "2010-06-04T07:52:02Z")

</div>

Hello Nginx-List, i need some help setting up my Nginx Loadbalancer. I use Nginx as Loadbalancer in front of 2 Webservers (running Nginx/PHP-FPM). While uploading files with HTTP POST upload, these files are buffed (…

---

## [Rewrite question](https://www.ruby-forum.com/t/rewrite-question/189592)

<div class="topic-metadata">

**Author:** [@axel](https://www.ruby-forum.com/u/axel)\
**Replies:** 3\
**Last updated:** [June 3, 2010, 6:17pm UTC](https://www.ruby-forum.com/t/rewrite-question/189592 "2010-06-03T18:17:52Z")

</div>

Hi guys, stupid but tricky question. In my “server” configuration, I added two “location” directives: location ~\* .css|.js|.jpg|.jpeg|.png|.gif|.swf|.svg|.tiff$ { expires 30d; } location /medias/ { rewrite ^/media…

---

## [Cookie from a http\_request\_t - howto?](https://www.ruby-forum.com/t/cookie-from-a-http-request-t-howto/189586)

<div class="topic-metadata">

**Author:** [@rovar](https://www.ruby-forum.com/u/rovar)\
**Replies:** 1\
**Last updated:** [June 3, 2010, 4:59pm UTC](https://www.ruby-forum.com/t/cookie-from-a-http-request-t-howto/189586 "2010-06-03T16:59:59Z")

</div>

Is there a simple example of how to read a cookie, or some other header value, like “Host” from an ngx\_http\_request\_t ? I see $variables discussed, but I’m not sure how to retrieve them. I am guessing it has somethin…

---

## [Proxy\_cache fills harddrive despite max\_size being set](https://www.ruby-forum.com/t/proxy-cache-fills-harddrive-despite-max-size-being-set/189545)

<div class="topic-metadata">

**Author:** [@W-Mark\_K](https://www.ruby-forum.com/u/W-Mark_K)\
**Replies:** 4\
**Last updated:** [June 3, 2010, 11:43am UTC](https://www.ruby-forum.com/t/proxy-cache-fills-harddrive-despite-max-size-being-set/189545 "2010-06-03T11:43:46Z")

</div>

Hello. In Nginx 0.8.38 (and later; on amd64) I’ve set this: proxy\_cache\_path /var/tmp/nginx/cache levels=1:2 keys\_zone=my-cache:10m inactive=8h max\_size=100m; Using that cache Nginx fills my harddrive with its cache,…

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

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