# Server

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

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

---

## [How to get uid\_set by userid module in php](https://www.ruby-forum.com/t/how-to-get-uid-set-by-userid-module-in-php/184352)

<div class="topic-metadata">

**Author:** [@lostsnow](https://www.ruby-forum.com/u/lostsnow)\
**Replies:** 3\
**Last updated:** [November 19, 2011, 5:31am UTC](https://www.ruby-forum.com/t/how-to-get-uid-set-by-userid-module-in-php/184352 "2011-11-19T05:31:24Z")

</div>

i set fastcgi\_param UID\_GOT $uid\_got; fastcgi\_param UID\_SET $uid\_set; in my nginx configuration file and enable userid module but i can not get uid\_set by $\_SERVER\[‘uid\_set’\] in php when a us…

---

## [Php and urls with /?xxx](https://www.ruby-forum.com/t/php-and-urls-with-xxx/214030)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [November 19, 2011, 4:14am UTC](https://www.ruby-forum.com/t/php-and-urls-with-xxx/214030 "2011-11-19T04:14:28Z")

</div>

Ahoi, at the moment i use a “location .php {}” block for opening php-files through fastcgi\_pass. But what’s the right way for calls like www.xxx.xxx/?xxx=xxx ? For Wordpress-Urls like /index.php/xxx/ try\_files $uri …

---

## [Gzip - unexplained side effects](https://www.ruby-forum.com/t/gzip-unexplained-side-effects/213692)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [November 18, 2011, 8:01pm UTC](https://www.ruby-forum.com/t/gzip-unexplained-side-effects/213692 "2011-11-18T20:01:23Z")

</div>

Hi, I’m running nginx 1.0.0 in front of a FCGI backend. We’ve been running in production for about 4 months, and have really been impressed with the performance and stability of nginx. We run a medium-volume applict…

---

## [Alter Config On Startup](https://www.ruby-forum.com/t/alter-config-on-startup/213753)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 18, 2011, 6:45pm UTC](https://www.ruby-forum.com/t/alter-config-on-startup/213753 "2011-11-18T18:45:22Z")

</div>

Hello, I have a SSL section in my nginx.conf file and I want to start up nginx without SSL enabled. Is this possible without removing the SSL info in the conf file? Thanks, Charlie Posted at Nginx Forum:

---

## [Filter\_cache module released](https://www.ruby-forum.com/t/filter-cache-module-released/214020)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [November 18, 2011, 5:39pm UTC](https://www.ruby-forum.com/t/filter-cache-module-released/214020 "2011-11-18T17:39:11Z")

</div>

Tested with up to nginx 1.0.6 Note: this currently doesn’t work when the ctx gets reset on named locations. The quickest fix I have is to patch the request struct to add a filter\_cache pointer. Filter cache cache…

---

## [Rewrite rule that alters content results](https://www.ruby-forum.com/t/rewrite-rule-that-alters-content-results/214014)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [November 18, 2011, 4:57pm UTC](https://www.ruby-forum.com/t/rewrite-rule-that-alters-content-results/214014 "2011-11-18T16:57:44Z")

</div>

Hello, Is there a rewrite statement that I can use to rewrite the html content that is being sent back to the client? Some of the content has urls in it and they have the wrong port I would like to change it as it’s b…

---

## [Using ab to benchmark nginx: Connection reset by peer (54)](https://www.ruby-forum.com/t/using-ab-to-benchmark-nginx-connection-reset-by-peer-54/214004)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [November 18, 2011, 4:41pm UTC](https://www.ruby-forum.com/t/using-ab-to-benchmark-nginx-connection-reset-by-peer-54/214004 "2011-11-18T16:41:39Z")

</div>

I recently updated to nginx 1.0.8 and tried to benchmark performance for cached dynamic pages (initially served by a Django app via proxy\_pass) and for static pages. In both cases, nginx will not serve more than 3 or …

---

## [How to set $ into a variable?](https://www.ruby-forum.com/t/how-to-set-into-a-variable/213986)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 18, 2011, 3:16pm UTC](https://www.ruby-forum.com/t/how-to-set-into-a-variable/213986 "2011-11-18T15:16:44Z")

</div>

nginx.conf: location / { … set $var “$uri=200k” … and run “curl localhost/” The module use ngx\_http\_get\_indexed\_variable() for $var will get the string “/=200k”, but I want the value is “$uri=200k”. So any escape…

---

## [Bad perfomance with nginx and php-fpm](https://www.ruby-forum.com/t/bad-perfomance-with-nginx-and-php-fpm/213972)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [November 18, 2011, 8:33am UTC](https://www.ruby-forum.com/t/bad-perfomance-with-nginx-and-php-fpm/213972 "2011-11-18T08:33:50Z")

</div>

Hello, i’m trying to install nginx with php-fpm. It works, but it’s not really fast and i have problems with multiple connections. Versions: nginx: nginx version: nginx/1.0.10 PHP 5.3.8-1~dotdeb.2 (fpm-fcgi) (built:…

---

## [How do proxy\_module response buffering options work?](https://www.ruby-forum.com/t/how-do-proxy-module-response-buffering-options-work/206164)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [November 18, 2011, 3:53am UTC](https://www.ruby-forum.com/t/how-do-proxy-module-response-buffering-options-work/206164 "2011-11-18T03:53:32Z")

</div>

I’m trying to understand how the different proxy\_module response buffering options work. The current documentation is a little bit vague. Here’s how I currently think buffering works: Nginx allocates a number of separ…

---

## [Ngx\_openresty 1.0.9.10 (stable) released](https://www.ruby-forum.com/t/ngx-openresty-1-0-9-10-stable-released/213913)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 17, 2011, 1:34pm UTC](https://www.ruby-forum.com/t/ngx-openresty-1-0-9-10-stable-released/213913 "2011-11-17T13:34:37Z")

</div>

Hello, folks! I’m happy to announce that the new stable release of ngx\_openresty, 1.0.9.10, has just been kicked out of door: OpenResty® - Open source This is the first stable release of ngx\_openresty that is based …

---

## [Nginx (PPA stable) periodically returning headers then hanging connection when serving from fcgi cac](https://www.ruby-forum.com/t/nginx-ppa-stable-periodically-returning-headers-then-hanging-connection-when-serving-from-fcgi-cac/213951)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [November 17, 2011, 11:12am UTC](https://www.ruby-forum.com/t/nginx-ppa-stable-periodically-returning-headers-then-hanging-connection-when-serving-from-fcgi-cac/213951 "2011-11-17T11:12:06Z")

</div>

List, I’m experiencing some problems with FastCGI cache and nginx/1.0.4 from stable PPA on Ubuntu Lucid. In short, it seems that sometimes the FastCGI cache is getting corrupted somehow - Nginx will serve sane header…

---

## [Nginx Regexp Plugins](https://www.ruby-forum.com/t/nginx-regexp-plugins/213936)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 16, 2011, 7:47pm UTC](https://www.ruby-forum.com/t/nginx-regexp-plugins/213936 "2011-11-16T19:47:53Z")

</div>

This plugin in base on ngx\_cache\_purge-1.4 P.S: This plugin current will blocking web request, now is only for test. I cannot found a method to make nginx run a new thread. Usage: location ~ ^/regex\_purge(/.\*) { pro…

---

## [Nginx-1.0.10](https://www.ruby-forum.com/t/nginx-1-0-10/213889)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [November 16, 2011, 6:58pm UTC](https://www.ruby-forum.com/t/nginx-1-0-10/213889 "2011-11-16T18:58:24Z")

</div>

Changes with nginx 1.0.10 15 Nov 2011 \*) Bugfix: a segmentation fault might occur in a worker process if resolver got a big DNS response. Thanks to Ben Hawkes. \*) Bugfix: i…

---

## [Nginx fails to accept new connection if active worker crashes](https://www.ruby-forum.com/t/nginx-fails-to-accept-new-connection-if-active-worker-crashes/213888)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 16, 2011, 9:51am UTC](https://www.ruby-forum.com/t/nginx-fails-to-accept-new-connection-if-active-worker-crashes/213888 "2011-11-16T09:51:23Z")

</div>

Hi All I use nginx configured with multiple workers. I also have an nginx module that crashed due to an error when I noticed that the module crash leaves nginx in a state where it cannot accept new calls. Removing my…

---

## [DNS caching issue](https://www.ruby-forum.com/t/dns-caching-issue/213906)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [November 16, 2011, 9:24am UTC](https://www.ruby-forum.com/t/dns-caching-issue/213906 "2011-11-16T09:24:12Z")

</div>

So we are using nginx from a few builds back as upgrading consistently has proven difficult for our ops team to keep up with where I work. I think we’re on 1.0.5. We have some hosts setup to handle subrequests using …

---

## [Abort\_request callback of ngx\_http\_upstream\_s](https://www.ruby-forum.com/t/abort-request-callback-of-ngx-http-upstream-s/213907)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 16, 2011, 1:36am UTC](https://www.ruby-forum.com/t/abort-request-callback-of-ngx-http-upstream-s/213907 "2011-11-16T01:36:24Z")

</div>

As I understand, abort\_request() callback of upstream (ngx\_http\_upstream\_s) is never called now. Please correct me, if I am wrong. The place to insert this function call is in ngx\_http\_upstream\_check\_broken\_connection…

---

## [SIGWINCH not working on second on-the-fly binary upgrade](https://www.ruby-forum.com/t/sigwinch-not-working-on-second-on-the-fly-binary-upgrade/213900)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 15, 2011, 6:56pm UTC](https://www.ruby-forum.com/t/sigwinch-not-working-on-second-on-the-fly-binary-upgrade/213900 "2011-11-15T18:56:33Z")

</div>

Hi, I was trying to upgrade nginx from 1.0.9 to 1.0.10 on-the-fly, using the process described on the wiki\[1\], but it looks like it is ignoring the SIGWINCH signal I send to it. bender:~# ps ax -H | grep nginx 31603…

---

## [Upgrade to 1.1.8 still shows 1.1.7?](https://www.ruby-forum.com/t/upgrade-to-1-1-8-still-shows-1-1-7/213898)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 15, 2011, 6:28pm UTC](https://www.ruby-forum.com/t/upgrade-to-1-1-8-still-shows-1-1-7/213898 "2011-11-15T18:28:05Z")

</div>

We usually upgrade Nginx when a new version comes out. I upgraded to 1.1.8 and when I do “nginx -v” from the command line, it shows 1.1.8. When I run phpinfo() through the php-fpm service that we use (having restar…

---

## [Green screen with New MP4 module](https://www.ruby-forum.com/t/green-screen-with-new-mp4-module/213880)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 4:57am UTC](https://www.ruby-forum.com/t/green-screen-with-new-mp4-module/213880 "2011-11-15T04:57:13Z")

</div>

When pseudo-streaming with new mp4 module, sometimes the flash player will display a green screen for a second. Anyone has the same problem? I’m sure the mp4 file was processed correctly. The metadata was inserted at …

---

## [Bug while using "proxy\_cache\_use\_stale updating"](https://www.ruby-forum.com/t/bug-while-using-proxy-cache-use-stale-updating/174480)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Loyet](https://www.ruby-forum.com/u/JSSSSrSSSSme_Loyet)\
**Replies:** 9\
**Last updated:** [November 15, 2011, 4:36am UTC](https://www.ruby-forum.com/t/bug-while-using-proxy-cache-use-stale-updating/174480 "2011-11-15T04:36:55Z")

</div>

Hi everybody, I come up with a strange bug. I’m using nginx as a proxy cache to apache. I’m using the following conf (only useful line): proxy\_buffering on; proxy\_buffers 4 8k; proxy\_cache\_use\_stale updating error …

---

## [Nginx Load balancer mode for JBoss / Icefaces application](https://www.ruby-forum.com/t/nginx-load-balancer-mode-for-jboss-icefaces-application/213855)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 15, 2011, 4:19am UTC](https://www.ruby-forum.com/t/nginx-load-balancer-mode-for-jboss-icefaces-application/213855 "2011-11-15T04:19:06Z")

</div>

Hello We have setup nginx as a Loadbalancer on Centos 5.2 x64. nginx is acting as a LB for a web application developed using Java servlets and Icefaces (1.8.2). The web application is deployed on JBoss 5.1. After …

---

## [Nginx worker process hang,cpu load 100%](https://www.ruby-forum.com/t/nginx-worker-process-hang-cpu-load-100/213826)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [November 14, 2011, 3:38pm UTC](https://www.ruby-forum.com/t/nginx-worker-process-hang-cpu-load-100/213826 "2011-11-14T15:38:07Z")

</div>

Hi, I have faced a trouble with nginx runs as a http revers proxy server,the worker process sometimes hanging there, cpu usage up to 100%,it’s never recovey until i kill the process,below is the detail informations: s…

---

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

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [November 14, 2011, 10:32am UTC](https://www.ruby-forum.com/t/nginx-and-httpfs2/213847 "2011-11-14T10:32:31Z")

</div>

Hi, List! Has anyone successfully used httpfs2 with nginx? I’m getting Input/Output error when trying to mount file system over HTTP from nginx server. The requirements for httpfs2: “The server must be able to send b…

---

## [Handle connection abort](https://www.ruby-forum.com/t/handle-connection-abort/213844)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [November 14, 2011, 7:26am UTC](https://www.ruby-forum.com/t/handle-connection-abort/213844 "2011-11-14T07:26:58Z")

</div>

Hello, I have an nginx module that receives http request, treats it and sends response to the client host. I need to handle situation when connection between server and client is aborted. How can I do it? Thanks in …

---

## [What's the difference between proxy\_store and proxy\_cache?](https://www.ruby-forum.com/t/whats-the-difference-between-proxy-store-and-proxy-cache/213827)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [November 14, 2011, 6:49am UTC](https://www.ruby-forum.com/t/whats-the-difference-between-proxy-store-and-proxy-cache/213827 "2011-11-14T06:49:16Z")

</div>

From Nginx official site there are two method to store remote upstream on local file system, “proxy\_cache” and “proxy\_store”, the document describes clearly on how to configure, but still I have problem on the differe…

---

## [Match all requests](https://www.ruby-forum.com/t/match-all-requests/213832)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [November 13, 2011, 5:44pm UTC](https://www.ruby-forum.com/t/match-all-requests/213832 "2011-11-13T17:44:31Z")

</div>

I have this location configuration: location / { index maintenance.htm; error\_page 404 = maintenance.htm; log\_not\_found off; } which I thought captures all requests, how…

---

## [Can anyone explain what is nginx.old?](https://www.ruby-forum.com/t/can-anyone-explain-what-is-nginx-old/213825)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 13, 2011, 9:12am UTC](https://www.ruby-forum.com/t/can-anyone-explain-what-is-nginx-old/213825 "2011-11-13T09:12:55Z")

</div>

I’m seeing some warnings in root log files regarding excessive processes for nginx.old… – Ilan B. Chief Technology Officer 6300 NE 1st Ave., Suite 203 Ft. Lauderdale, FL 33334 (954) 771-0914 http://www.twitter.c…

---

## [Loading a PHP file without a query string parameter downlo](https://www.ruby-forum.com/t/loading-a-php-file-without-a-query-string-parameter-downlo/213824)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 13, 2011, 3:42am UTC](https://www.ruby-forum.com/t/loading-a-php-file-without-a-query-string-parameter-downlo/213824 "2011-11-13T03:42:29Z")

</div>

We’re upgrading our web server (physical machine). Our site works fine. However, I noticed that going to a PHP file, i.e. /index.php causes the file to download. Going to /index.php?asdfasdf causes the file to work …

---

## [Nginx 1.0.9 reporting wrong version in PHP 5.3.8](https://www.ruby-forum.com/t/nginx-1-0-9-reporting-wrong-version-in-php-5-3-8/213810)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 12, 2011, 1:08pm UTC](https://www.ruby-forum.com/t/nginx-1-0-9-reporting-wrong-version-in-php-5-3-8/213810 "2011-11-12T13:08:38Z")

</div>

Hi, I installed Nginx 1.0.9 and when I look at the phpinfo() details, it reports as version 1.0.4. Anyone else has this issue? Regards, Floren M. Posted at Nginx Forum:

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

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