# Server

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

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

---

## [Re: Re: signal process in nginx](https://www.ruby-forum.com/t/re-re-signal-process-in-nginx/226255)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [December 21, 2011, 4:04pm UTC](https://www.ruby-forum.com/t/re-re-signal-process-in-nginx/226255 "2011-12-21T16:04:49Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [Password protection and fastcgi](https://www.ruby-forum.com/t/password-protection-and-fastcgi/215061)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 21, 2011, 3:11pm UTC](https://www.ruby-forum.com/t/password-protection-and-fastcgi/215061 "2011-12-21T15:11:34Z")

</div>

Hello, i have a problem with a password protected folder and fastcgi php: server { root /foo/; … location ~ .php$ { fastcgi\_pass foo; include fastcgi\_parms; } location ^~ /passwordprotected { auth\_basic “foo”; …

---

## [Signal process in nginx](https://www.ruby-forum.com/t/signal-process-in-nginx/215067)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 21, 2011, 11:16am UTC](https://www.ruby-forum.com/t/signal-process-in-nginx/215067 "2011-12-21T11:16:15Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [Get nginx version remote](https://www.ruby-forum.com/t/get-nginx-version-remote/215068)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 21, 2011, 10:31am UTC](https://www.ruby-forum.com/t/get-nginx-version-remote/215068 "2011-12-21T10:31:07Z")

</div>

Hello, we use nginx as reverse proxy for some websites, and we’d like to get the nginx version for administration purposes. Is there as way to get nginx’s version remote, for example like the same way as the HttpS…

---

## [Nginx php53 freebsd no display php script](https://www.ruby-forum.com/t/nginx-php53-freebsd-no-display-php-script/215070)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [December 21, 2011, 9:47am UTC](https://www.ruby-forum.com/t/nginx-php53-freebsd-no-display-php-script/215070 "2011-12-21T09:47:50Z")

</div>

dear all forum members i have a problem with nginx configuration to work with php the stuff i already installed is nginx (it’s a must, right), php53, fastcgi on freebsd 8.2 x86 first error is no input specified …

---

## [Ngx\_cache\_purge-1.5](https://www.ruby-forum.com/t/ngx-cache-purge-1-5/215049)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [December 20, 2011, 1:42pm UTC](https://www.ruby-forum.com/t/ngx-cache-purge-1-5/215049 "2011-12-20T13:42:40Z")

</div>

Version 1.5 is now available at: http://labs.frickle.com/nginx\_ngx\_cache\_purge/ GitHub repository is available at: http://github.com/FRiCKLE/ngx\_cache\_purge/ Changes: 2011-12-20 VERSION 1.5 \* Fix on-disk cache s…

---

## [Problem with clear cache](https://www.ruby-forum.com/t/problem-with-clear-cache/214962)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [December 20, 2011, 11:39am UTC](https://www.ruby-forum.com/t/problem-with-clear-cache/214962 "2011-12-20T11:39:30Z")

</div>

Hi, I am using Nginx 1.0.10 and purge module 1.4. But i have a problem with clear cache. Example: http://myserver/test.html → can clear cache with http://myserver/purge/test.html http://myserver/ → can not clear ca…

---

## [Best way to get the $request\_uri without the starting slash](https://www.ruby-forum.com/t/best-way-to-get-the-request-uri-without-the-starting-slash/215003)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 20, 2011, 10:45am UTC](https://www.ruby-forum.com/t/best-way-to-get-the-request-uri-without-the-starting-slash/215003 "2011-12-20T10:45:38Z")

</div>

I want to pass the $request\_uri to memcached as the key but without the starting slash, as our memcached key names are a prefixed integer which can be referenced from the URI, as follows: http://example.com/1000 → pre…

---

## [Nginx process is abnormal?](https://www.ruby-forum.com/t/nginx-process-is-abnormal/215039)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [December 20, 2011, 9:33am UTC](https://www.ruby-forum.com/t/nginx-process-is-abnormal/215039 "2011-12-20T09:33:45Z")

</div>

Hello Dear: My Nginx version is 1.0.4OS version is redhat enterprise 6.0 Yesterday, nginx process suddenly appeared abnormal, Use top command to see the system through a CPU 100% wa And same time, my ISP dns abnormal…

---

## [On the fly update](https://www.ruby-forum.com/t/on-the-fly-update/214918)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 19, 2011, 10:53pm UTC](https://www.ruby-forum.com/t/on-the-fly-update/214918 "2011-12-19T22:53:11Z")

</div>

Hello, Still playing with nginx around, I hade today in mind to try the “on the fly” update described on the CommandLine page of the nginx Wikihttp://wiki.nginx.org/CommandLine . The problem is, when I start the new…

---

## [Loadbalancer returns empty result](https://www.ruby-forum.com/t/loadbalancer-returns-empty-result/214525)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 19, 2011, 3:46pm UTC](https://www.ruby-forum.com/t/loadbalancer-returns-empty-result/214525 "2011-12-19T15:46:54Z")

</div>

Hi, I wanted to configure my nginx as loadbalancer for other www servers working under nginx. Loadbalancer is listening on ipv4: 192.168.0.1, www servers on ipv6. Here’s my loadbalancer config (only part of my nginx.c…

---

## [Try\_files doesn't work after $args rewite?](https://www.ruby-forum.com/t/try-files-doesnt-work-after-args-rewite/215012)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [December 19, 2011, 3:17pm UTC](https://www.ruby-forum.com/t/try-files-doesnt-work-after-args-rewite/215012 "2011-12-19T15:17:51Z")

</div>

Hello Directive try\_files doesn’t work after rewriting $args: location / { remove auth key from query string if ($args ~ ^(.)&?auth=\[^&\]+(.)) { set $args “$1$2”; } try\_files $uri $uri/ @webapp; } location @webap…

---

## [Alias does not work with php](https://www.ruby-forum.com/t/alias-does-not-work-with-php/214968)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 16\
**Last updated:** [December 18, 2011, 6:28pm UTC](https://www.ruby-forum.com/t/alias-does-not-work-with-php/214968 "2011-12-18T18:28:15Z")

</div>

Hello, I’ve set up nginx 1.0.10 with php5-fpm. I’ve tested the setup and I can confirm that php works. The problem is when I set up an alias under “location /” nginx can’t load the php pages. Only static html files w…

---

## [Moodle Rewrite Rule](https://www.ruby-forum.com/t/moodle-rewrite-rule/214989)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [December 18, 2011, 6:17pm UTC](https://www.ruby-forum.com/t/moodle-rewrite-rule/214989 "2011-12-18T18:17:44Z")

</div>

I emailed the group earlier regarding Nginx and Moodle, but have more specific information. From the Moodle documentation, they are saying that: “Your web server needs to be configured to allow the part of the URL af…

---

## [Nginx rpm for aix](https://www.ruby-forum.com/t/nginx-rpm-for-aix/214409)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 18, 2011, 9:31am UTC](https://www.ruby-forum.com/t/nginx-rpm-for-aix/214409 "2011-12-18T09:31:53Z")

</div>

Hi We got temporary access to the AIX box and built nginx rpm for that platform (rpm and tools from AIX Toolbox for Linux Applications ). If anybody wish to test, rpms are available at http://nginx.org/packages/aix/ …

---

## [Proper configuration for Webdav?](https://www.ruby-forum.com/t/proper-configuration-for-webdav/214983)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [December 17, 2011, 11:59pm UTC](https://www.ruby-forum.com/t/proper-configuration-for-webdav/214983 "2011-12-17T23:59:09Z")

</div>

I’m trying to experiment with Webdav. So I’ve setup a simple configuration for that: http { … client\_body\_buffer\_size 128k; client\_body\_temp\_path /var/lib/nginx/client 1 2; … } server { listen 192.1…

---

## [ReverseProxy: Send hostname upstream](https://www.ruby-forum.com/t/reverseproxy-send-hostname-upstream/214960)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 17, 2011, 4:44pm UTC](https://www.ruby-forum.com/t/reverseproxy-send-hostname-upstream/214960 "2011-12-17T16:44:33Z")

</div>

Hi, I guess it is rather simple, but I am more of a coder than of an admin so not an expert in configuring webservers. I’d like to proxy an akamai proxy which relies on the full hostname being passed (IP is not enoug…

---

## [Nginx-1.0.11](https://www.ruby-forum.com/t/nginx-1-0-11/214911)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [December 17, 2011, 7:59am UTC](https://www.ruby-forum.com/t/nginx-1-0-11/214911 "2011-12-17T07:59:37Z")

</div>

Changes with nginx 1.0.11 15 Dec 2011 \*) Change: now double quotes are encoded in an "echo" SSI-command output. Thanks to Zaur Abasmirzoev. \*) Feature: the "image\_filter\_sh…

---

## [What Is "init 1" And How Do I Stop It](https://www.ruby-forum.com/t/what-is-init-1-and-how-do-i-stop-it/214809)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 17, 2011, 5:38am UTC](https://www.ruby-forum.com/t/what-is-init-1-and-how-do-i-stop-it/214809 "2011-12-17T05:38:26Z")

</div>

I am a moron. With that said, I read some google post about trying to get some privilege to make things easier or something and I typed “init 1” while ssh’d into my nginx server. now I can’t login at all I get: Envy…

---

## [Nginx windows + apache backend: slow php files in nginx](https://www.ruby-forum.com/t/nginx-windows-apache-backend-slow-php-files-in-nginx/214730)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 17, 2011, 12:04am UTC](https://www.ruby-forum.com/t/nginx-windows-apache-backend-slow-php-files-in-nginx/214730 "2011-12-17T00:04:11Z")

</div>

Hi there, I started to test nginx windows + apache/php backend on a Win7 x64 machine. I haven’t discovered why this happenning: Test 1 - ab -n 300 -c 20 http://127.0.0.1:80/hello.php (nginx listen port 80) Request…

---

## [Need rewrite help](https://www.ruby-forum.com/t/need-rewrite-help/214950)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [December 16, 2011, 4:26pm UTC](https://www.ruby-forum.com/t/need-rewrite-help/214950 "2011-12-16T16:26:29Z")

</div>

I’m new to nginx. I have everything up and running, except for one part. My WordPress site uses a real estate plugin that pulls in real estate listings. The URLs look like this: http://www.mysite.com//idx/?idx-q-Cit…

---

## [How to check session value in nginx conf](https://www.ruby-forum.com/t/how-to-check-session-value-in-nginx-conf/214951)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [December 16, 2011, 4:06pm UTC](https://www.ruby-forum.com/t/how-to-check-session-value-in-nginx-conf/214951 "2011-12-16T16:06:58Z")

</div>

I want to improve performance of nginx when using proxy\_cache, and want to check whether customer\_id exists in session, if not, I will use proxy\_cache to return the content, or else, it will request from proxy\_pass. H…

---

## [Upstream Fallback if Backends can´t be reached](https://www.ruby-forum.com/t/upstream-fallback-if-backends-can-t-be-reached/214913)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 16, 2011, 2:04pm UTC](https://www.ruby-forum.com/t/upstream-fallback-if-backends-can-t-be-reached/214913 "2011-12-16T14:04:03Z")

</div>

Hi Forum, i´m new to nginx and trying to realize the following. I want to Loadbalance two Backends and have nginx to be the ssl Proxy. That works so far. I want nginx to rewrite a particular url to something else. Tha…

---

## [Does nginx have resolve cache?](https://www.ruby-forum.com/t/does-nginx-have-resolve-cache/214513)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 16, 2011, 11:56am UTC](https://www.ruby-forum.com/t/does-nginx-have-resolve-cache/214513 "2011-12-16T11:56:39Z")

</div>

Hi I have seen sometimes that google dns has banned my servers. Since I use proxy hostnames instead of ips, does the nginx cache the response from dns servers or queries them everytime it receives a request? Regards …

---

## [Redirect to another page (visible on url bar) with nginx?](https://www.ruby-forum.com/t/redirect-to-another-page-visible-on-url-bar-with-nginx/214942)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [December 16, 2011, 11:49am UTC](https://www.ruby-forum.com/t/redirect-to-another-page-visible-on-url-bar-with-nginx/214942 "2011-12-16T11:49:14Z")

</div>

Hi! I’m trying to figure out if / how I could redirect from an url to another one, but i would like this change to be visible, i.e to change the text / url in the url bar. I’ve checked with url rewrite, but it seems …

---

## [411 Length Required error](https://www.ruby-forum.com/t/411-length-required-error/146073)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 21\
**Last updated:** [December 16, 2011, 1:30am UTC](https://www.ruby-forum.com/t/411-length-required-error/146073 "2011-12-16T01:30:35Z")

</div>

Hello, I’ve been getting this error a lot in my testing. I never received it with Apache. I understand what the message say but not why it’s coming about. My headers being sent have length. Or is this message referrin…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/214915)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 16, 2011, 12:43am UTC](https://www.ruby-forum.com/t/no-subject/214915 "2011-12-16T00:43:24Z")

</div>

People, We are trying to use nginx as a load-balancer for our webservers, but it seems that we have problems with some kind of nginx buffering. Let me describe our situation, we receive from nginx a request, we write …

---

## [Repository Issue](https://www.ruby-forum.com/t/repository-issue/214917)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [December 15, 2011, 9:05pm UTC](https://www.ruby-forum.com/t/repository-issue/214917 "2011-12-15T21:05:25Z")

</div>

Hi, I’ve run into an issue with the nginx repository. Previously, I’ve never needed to add a key to use the nginx repo, however I’ve now run into an issue where it’s asking for one, and I can’t find a gpg server for n…

---

## [Trouble with somewhat complex proxy config](https://www.ruby-forum.com/t/trouble-with-somewhat-complex-proxy-config/214889)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 15, 2011, 3:29am UTC](https://www.ruby-forum.com/t/trouble-with-somewhat-complex-proxy-config/214889 "2011-12-15T03:29:09Z")

</div>

Hi, So basically here is what I’m trying to accomplish: I have several different rails apps running inside passenger standalone instances. I’d use the module, but I need to have separate ruby versions / parameters …

---

## [Nginx-1.1.11](https://www.ruby-forum.com/t/nginx-1-1-11/214794)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [December 14, 2011, 12:13pm UTC](https://www.ruby-forum.com/t/nginx-1-1-11/214794 "2011-12-14T12:13:12Z")

</div>

Changes with nginx 1.1.11 12 Dec 2011 \*) Feature: the "so\_keepalive" parameter of the "listen" directive. Thanks to Vsevolod Stakhov. \*) Feature: the "if\_not\_empty" parameter …

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

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