# Server

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

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

---

## [Nginx post ONE request to one more upstream\_addr](https://www.ruby-forum.com/t/nginx-post-one-request-to-one-more-upstream-addr/208323)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 15, 2011, 10:07am UTC](https://www.ruby-forum.com/t/nginx-post-one-request-to-one-more-upstream-addr/208323 "2011-06-15T10:07:35Z")

</div>

hi, everyone, nginx version is 0.8.53, configure (http definition) is : http{ upstream my\_loads { server 10.10.1.12; server 10.10.1.13; } log\_format combined\_addsvr '$remote\_addr - $remote\_user \[$time\_local\] …

---

## [Upsteam + proxy\_redirect?](https://www.ruby-forum.com/t/upsteam-proxy-redirect/208195)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [June 15, 2011, 9:19am UTC](https://www.ruby-forum.com/t/upsteam-proxy-redirect/208195 "2011-06-15T09:19:59Z")

</div>

Hi, here is part of nginx.conf ; in some condition mysite1.com redirect users to some of its url so i need to use proxy\_redirect in my locations; now i want to start using upstream to add load balancing to my site; t…

---

## [Puzzled with nginx code](https://www.ruby-forum.com/t/puzzled-with-nginx-code/208317)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 15, 2011, 5:31am UTC](https://www.ruby-forum.com/t/puzzled-with-nginx-code/208317 "2011-06-15T05:31:28Z")

</div>

Hello, I am a new comer to nginx, and i have trouble with learning nginx code, and where can i find the tutorial to the analysis of nginx code? thanks in advance.

---

## [MNPP with python](https://www.ruby-forum.com/t/mnpp-with-python/208319)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 5:28am UTC](https://www.ruby-forum.com/t/mnpp-with-python/208319 "2011-06-15T05:28:19Z")

</div>

Hi, That’s right, MNPP to manage uwsgi from the preferences or console, giving way to use web applications using WSGI. For now MNPP has support for django 1.3 and web2py natively. MNPP has a menu in the status bar to …

---

## [Forward arguments in upload module](https://www.ruby-forum.com/t/forward-arguments-in-upload-module/208121)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [June 14, 2011, 7:31pm UTC](https://www.ruby-forum.com/t/forward-arguments-in-upload-module/208121 "2011-06-14T19:31:29Z")

</div>

hi all, uploading files via nginx is awesome .i am sending query arguments in post operation which will be passed to backend server.i want to append one more key value pair to that query arguments to send into backe…

---

## [Port\_in\_redirect](https://www.ruby-forum.com/t/port-in-redirect/208079)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 14, 2011, 5:51pm UTC](https://www.ruby-forum.com/t/port-in-redirect/208079 "2011-06-14T17:51:59Z")

</div>

Hello ! I have Nginx 1.0.2 and port\_in\_redirect nginx doesn’t work … This paramater work for you in this version ? Many thanks,

---

## [How can i install a module?](https://www.ruby-forum.com/t/how-can-i-install-a-module/208296)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 14, 2011, 2:09pm UTC](https://www.ruby-forum.com/t/how-can-i-install-a-module/208296 "2011-06-14T14:09:43Z")

</div>

we barely install nginx. but now we cant use module. especially httpaccesskeymodule. we inserted codes to conf file. but its not working. is there any property for activate it? Posted at Nginx Forum:

---

## [X-forwarded-for and two nginx instances + apache](https://www.ruby-forum.com/t/x-forwarded-for-and-two-nginx-instances-apache/208260)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 14, 2011, 10:22am UTC](https://www.ruby-forum.com/t/x-forwarded-for-and-two-nginx-instances-apache/208260 "2011-06-14T10:22:43Z")

</div>

Hi there, I’m running two nginx instances in-front of Apache. Trying to pass visitors real-ip address to apache. In normal cases (with one nginx instance in-front of Apache) I’m using: proxy\_set\_header X-Fo…

---

## [Use try\_files and still get errors 404](https://www.ruby-forum.com/t/use-try-files-and-still-get-errors-404/208246)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 14, 2011, 10:06am UTC](https://www.ruby-forum.com/t/use-try-files-and-still-get-errors-404/208246 "2011-06-14T10:06:41Z")

</div>

Hello, recently I migrate one of domains, I manage, to use try\_files directive instead of several “if” blocks and rewrites. New server description is like this: server { listen X.X.X.X; server\_name example.com …

---

## [NGINX loadbalancing ORACLE forms backends?](https://www.ruby-forum.com/t/nginx-loadbalancing-oracle-forms-backends/207520)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [June 14, 2011, 8:47am UTC](https://www.ruby-forum.com/t/nginx-loadbalancing-oracle-forms-backends/207520 "2011-06-14T08:47:31Z")

</div>

Hi, does anybody have a working setup with NGINX loadbalancing ORACLE FORMS backends? I’m interested in setting up an environment with JSESSION cookie based sticky sessions. Regards, DJ HEROLD Business Data GmbH …

---

## [Forum update](https://www.ruby-forum.com/t/forum-update/208283)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 4:55am UTC](https://www.ruby-forum.com/t/forum-update/208283 "2011-06-14T04:55:23Z")

</div>

FYI There was a database corruption today. An approximately two hour old backup was restored. I don’t know how many mailing list entries were lost. Apologies for the inconvenience. – Jim O.

---

## [Comparing two variables](https://www.ruby-forum.com/t/comparing-two-variables/208244)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 14, 2011, 4:18am UTC](https://www.ruby-forum.com/t/comparing-two-variables/208244 "2011-06-14T04:18:23Z")

</div>

hi i wrote a module which is extracting certain values out of a session that is stored in memcache and stores it into a variable in my nginx config. so this seems to work fine so far. now i’m trying to compare $uri w…

---

## [Questions about proxy buffers](https://www.ruby-forum.com/t/questions-about-proxy-buffers/208140)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 13, 2011, 11:57pm UTC](https://www.ruby-forum.com/t/questions-about-proxy-buffers/208140 "2011-06-13T23:57:34Z")

</div>

Hello, I have read the documentation of the HTTP Proxy Module regarding buffers and would like to understand which is the exact (basic) workflow regarding buffers only. Let me ask about some scenarios, assuming every…

---

## [High server load](https://www.ruby-forum.com/t/high-server-load/208264)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 13, 2011, 9:31pm UTC](https://www.ruby-forum.com/t/high-server-load/208264 "2011-06-13T21:31:05Z")

</div>

Sometimes my website is down due to high server load. htop screenshot: http://img703.imageshack.us/img703/4042/highcpupad.png Sometimes there are php5-fpm processes that take 100% CPU. Why? It slowes down everything.…

---

## [Alert stalled cache updating - nginx-1.0.4](https://www.ruby-forum.com/t/alert-stalled-cache-updating-nginx-1-0-4/208262)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 5:21pm UTC](https://www.ruby-forum.com/t/alert-stalled-cache-updating-nginx-1-0-4/208262 "2011-06-13T17:21:57Z")

</div>

Hi. Uptade to nginx-1.0.4, but alerts persists. \*) Bugfix: “stalled” cache updating" alert. /usr/local/nginx/sbin/nginx -v nginx: nginx version: nginx/1.0.4 tail -f /var/log/nginx/error.log 2011/06/13 09:28:02 \[ale…

---

## [Access restriction to proxypass directive](https://www.ruby-forum.com/t/access-restriction-to-proxypass-directive/208250)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 1:13pm UTC](https://www.ruby-forum.com/t/access-restriction-to-proxypass-directive/208250 "2011-06-13T13:13:33Z")

</div>

Hi all, i’m using a reverse proxy configuration for two server on the localhost, with different port. Now i want to restrict the access of the public access of one application of apache (phpmyadmin) to only some ip. …

---

## [Nginx mss patch](https://www.ruby-forum.com/t/nginx-mss-patch/208053)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 13, 2011, 10:44am UTC](https://www.ruby-forum.com/t/nginx-mss-patch/208053 "2011-06-13T10:44:31Z")

</div>

hi all, we made some changes to nginx in order to support tcp mss which is already supported by haproxy. you can see the attached patch for details. it is a patch against version 0.8.54. the configuration is very e…

---

## [Master\_process off](https://www.ruby-forum.com/t/master-process-off/208241)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 13, 2011, 8:37am UTC](https://www.ruby-forum.com/t/master-process-off/208241 "2011-06-13T08:37:55Z")

</div>

Dear All, I have configure nginx at my server and I follow documentation on wiki.nginx.org. In wiki I read that master\_process should be off for production, I setup nginx worker is 10 , but when run nginx with maste…

---

## [How to fix mismatched URL encoding between server and clients](https://www.ruby-forum.com/t/how-to-fix-mismatched-url-encoding-between-server-and-clients/208236)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 5:51am UTC](https://www.ruby-forum.com/t/how-to-fix-mismatched-url-encoding-between-server-and-clients/208236 "2011-06-13T05:51:23Z")

</div>

For example, the local file system’s encoding is “euc-kr” and the clients’ URL encoding is “utf-8”. How to resolve the mismatched encoding between them? Thanks. Posted at Nginx Forum:

---

## [Apache .htaccess to Nginx rewrite question](https://www.ruby-forum.com/t/apache-htaccess-to-nginx-rewrite-question/208231)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 9:58pm UTC](https://www.ruby-forum.com/t/apache-htaccess-to-nginx-rewrite-question/208231 "2011-06-12T21:58:52Z")

</div>

Hello, I am having a tough time converting my .htaccess rewrite rules into Nginx, any help will be greatly appreciated. Here is what I need converting RewriteEngine on RewriteCond %{REQUEST\_URI} !^/server-info Rewri…

---

## [Orbited proxied by nginx hangs web traffic for particular user](https://www.ruby-forum.com/t/orbited-proxied-by-nginx-hangs-web-traffic-for-particular-user/208212)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [June 12, 2011, 3:00pm UTC](https://www.ruby-forum.com/t/orbited-proxied-by-nginx-hangs-web-traffic-for-particular-user/208212 "2011-06-12T15:00:50Z")

</div>

We are using nginx → Orbited for long-polling, nginx → uwsgi for web content (AJAX-driven), and nginx for static files. Problem is, when user open more than, dunno, about 6-7 tabs in browser. Then, traffic for user (a…

---

## [How to setup FengOffice collaboration platform over Nginx](https://www.ruby-forum.com/t/how-to-setup-fengoffice-collaboration-platform-over-nginx/208187)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 6:20pm UTC](https://www.ruby-forum.com/t/how-to-setup-fengoffice-collaboration-platform-over-nginx/208187 "2011-06-11T18:20:35Z")

</div>

How to setup FengOffice collaboration platform over Nginx. Any suggestions on how to improve the bellow described procedure are greatly appreciated. Than you, M. Feng Office \< http://www.fengoffice.com/ \>, previousl…

---

## [Wiki redesign](https://www.ruby-forum.com/t/wiki-redesign/208136)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 12\
**Last updated:** [June 11, 2011, 6:02pm UTC](https://www.ruby-forum.com/t/wiki-redesign/208136 "2011-06-11T18:02:03Z")

</div>

Hello! Is it possible to make the wiki look more like nginx.org? Like neutral, clean and simple? Like: KISS principle - Wikipedia “It seems that perfection is reached not when there is nothing left to add, but when…

---

## [Apache in Nginx server](https://www.ruby-forum.com/t/apache-in-nginx-server/208177)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 11, 2011, 3:10pm UTC](https://www.ruby-forum.com/t/apache-in-nginx-server/208177 "2011-06-11T15:10:24Z")

</div>

I removed Apache by “yum remove httpd” before installing Nginx. But php-fpm processes are associated with Apache (instead of Nginx) as (as seen by top command) 1590 root 21 0 13624 2096 340 S 0.0 0.4 0:00.…

---

## [Proxy\_cache partial response?](https://www.ruby-forum.com/t/proxy-cache-partial-response/208004)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 11, 2011, 3:32am UTC](https://www.ruby-forum.com/t/proxy-cache-partial-response/208004 "2011-06-11T03:32:49Z")

</div>

will nginx cache partial response when upstream prematutely close connection? In our production environment, we found the following scenario requires one to manually clear proxy cache: nginx asks upstrean for some…

---

## [Varnish + nginx with php and REMOTE\_ADDR issue using http\_realip\_module](https://www.ruby-forum.com/t/varnish-nginx-with-php-and-remote-addr-issue-using-http-realip-module/208139)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [June 11, 2011, 3:13am UTC](https://www.ruby-forum.com/t/varnish-nginx-with-php-and-remote-addr-issue-using-http-realip-module/208139 "2011-06-11T03:13:40Z")

</div>

Hello, Please, I’m trying to use http\_realip\_module (http://wiki.nginx.org/NginxHttpRealIpModule#real\_ip\_header) to get the X-Forwarded-For IP in my .php, but I’m suspecting something is wrong, because that looks lik…

---

## [X-Accel-Redirect to keep Etag from upstream?](https://www.ruby-forum.com/t/x-accel-redirect-to-keep-etag-from-upstream/208112)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 10, 2011, 4:36pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-to-keep-etag-from-upstream/208112 "2011-06-10T16:36:59Z")

</div>

Hi, I’m using nginx 1.0.0 and I wonder if there is any way of telling “X-Accel-Redirect” to keep the “Etag” header. The rest of the headers from upstream are kept when I set “X-Accel-Redirect” but “Etag” seems to be …

---

## [Nginx -V - find nginx server build date?](https://www.ruby-forum.com/t/nginx-v-find-nginx-server-build-date/208113)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 10, 2011, 4:25pm UTC](https://www.ruby-forum.com/t/nginx-v-find-nginx-server-build-date/208113 "2011-06-10T16:25:50Z")

</div>

I know nginx -V can give me the nginx configuration settings. But is there a command or file which would tell me when nginx server was built/installed or rebuilt/reinstalled ? thanks Posted at Nginx Forum:

---

## [Lua back-end load balancing](https://www.ruby-forum.com/t/lua-back-end-load-balancing/208094)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 10, 2011, 1:04pm UTC](https://www.ruby-forum.com/t/lua-back-end-load-balancing/208094 "2011-06-10T13:04:28Z")

</div>

Hi I’m using nginx-lua to get some info from a back end “auth” server for each request The back end server is a simple http server written by myself - i.e. it is nowhere near as fast or as optimised as nginx and can …

---

## [Migrating from Lighttpd : mod\_secdownload show-stopper?](https://www.ruby-forum.com/t/migrating-from-lighttpd-mod-secdownload-show-stopper/203018)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 19\
**Last updated:** [June 9, 2011, 9:05pm UTC](https://www.ruby-forum.com/t/migrating-from-lighttpd-mod-secdownload-show-stopper/203018 "2011-06-09T21:05:58Z")

</div>

Hi, Privet :slight\_smile: I would like to switch all my media servers from Lighttpd 1.5.0 to latest Nginx version but I have a strong requirement : mod\_secdownload. I saw that a similar module exists for Nginx but it’…

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

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