# Server

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

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

---

## [Using ngx\_conf\_t](https://www.ruby-forum.com/t/using-ngx-conf-t/221176)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 3, 2012, 8:44pm UTC](https://www.ruby-forum.com/t/using-ngx-conf-t/221176 "2012-07-03T20:44:00Z")

</div>

Hello all, Is it possible to get ngx\_conf\_t in a handler? If it is, how to get it? Thank you. M. Posted at Nginx Forum:

---

## [Phantom redirects in Log file](https://www.ruby-forum.com/t/phantom-redirects-in-log-file/221170)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 3, 2012, 3:21pm UTC](https://www.ruby-forum.com/t/phantom-redirects-in-log-file/221170 "2012-07-03T15:21:59Z")

</div>

Hello, I am hosting multiple domains on a vserver, and I observe some cross-domains redirects at the end of a visit: xxx.xxx.211.94\] / IND - Bangalore / domain1.info / - \[03/Jul/2012:13:15:31 +0200\] “GET /favicon.i…

---

## [Kill -HUP BUG](https://www.ruby-forum.com/t/kill-hup-bug/226291)

<div class="topic-metadata">

**Author:** [@SSSSSSSSSSSSSSSSSSS](https://www.ruby-forum.com/u/SSSSSSSSSSSSSSSSSSS)\
**Replies:** 2\
**Last updated:** [July 3, 2012, 7:56am UTC](https://www.ruby-forum.com/t/kill-hup-bug/226291 "2012-07-03T07:56:34Z")

</div>

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

---

## [FRiCKLE & Simpl.it pres. ngx\_mongo-1.0](https://www.ruby-forum.com/t/frickle-simpl-it-pres-ngx-mongo-1-0/221152)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 2, 2012, 7:42pm UTC](https://www.ruby-forum.com/t/frickle-simpl-it-pres-ngx-mongo-1-0/221152 "2012-07-02T19:42:29Z")

</div>

\[late announcement, it was actually released months ago\] I’m pleased to announce ngx\_mongo, an upstream module that allows nginx to communicate directly with MongoDB database. Please see README file for details. Git…

---

## [Ngx\_slowfs\_cache-1.9](https://www.ruby-forum.com/t/ngx-slowfs-cache-1-9/221151)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 2, 2012, 7:41pm UTC](https://www.ruby-forum.com/t/ngx-slowfs-cache-1-9/221151 "2012-07-02T19:41:53Z")

</div>

\[late announcement, it was actually released months ago\] Version 1.9 is now available at: http://labs.frickle.com/nginx\_ngx\_slowfs\_cache/ GitHub repository is available at: Changes: 2012-04-24 VERSION 1.9 \* Fix…

---

## [Ngx\_cache\_purge-1.6](https://www.ruby-forum.com/t/ngx-cache-purge-1-6/221150)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 2, 2012, 7:41pm UTC](https://www.ruby-forum.com/t/ngx-cache-purge-1-6/221150 "2012-07-02T19:41:18Z")

</div>

Version 1.6 is now available at: http://labs.frickle.com/nginx\_ngx\_cache\_purge/ GitHub repository is available at: Changes: 2012-07-02 VERSION 1.6 \* Fix compatibility with nginx-1.3.2+. Reported by MagicBear, p…

---

## [Video stream and secure link](https://www.ruby-forum.com/t/video-stream-and-secure-link/221141)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 2, 2012, 5:43pm UTC](https://www.ruby-forum.com/t/video-stream-and-secure-link/221141 "2012-07-02T17:43:52Z")

</div>

hi, i want to use mp4 module and secure link module together. this is my conf; location /videos/ { secure\_link $arg\_st,$arg\_e; secure\_link\_md5 ssss$remote\_addr$uri$arg\_e; if ($secure\_link = “”) { return 403; } …

---

## [Nginx Module Non-blocking event](https://www.ruby-forum.com/t/nginx-module-non-blocking-event/221148)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 2, 2012, 4:39pm UTC](https://www.ruby-forum.com/t/nginx-module-non-blocking-event/221148 "2012-07-02T16:39:00Z")

</div>

Hello all, I just finished my module for nginx. Now I am going through and fixing any problems that may arise. My module is currently using the shared memory to store IPs received into an rbtree. Then after so many IP…

---

## [How can I redirect some IP addresses?](https://www.ruby-forum.com/t/how-can-i-redirect-some-ip-addresses/221116)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 2, 2012, 12:17pm UTC](https://www.ruby-forum.com/t/how-can-i-redirect-some-ip-addresses/221116 "2012-07-02T12:17:43Z")

</div>

Hi forulisters, I’ve got a bunch of IP addresses and IP ranges I’d like to redirect to, let’s say the amnesty international site (they’re mainly from gov). I read http://wiki.nginx.org/HttpAccessModule but as I’ve g…

---

## [Proxy cache max size](https://www.ruby-forum.com/t/proxy-cache-max-size/221077)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [July 2, 2012, 11:04am UTC](https://www.ruby-forum.com/t/proxy-cache-max-size/221077 "2012-07-02T11:04:38Z")

</div>

I have a question. If the file being written to a cache exceeds max size what behavior happens? As I can think of it there are 3 possible outcomes. File is written and later cleaned up by the cache manager (bad) File…

---

## [Dokuwiki not in root problem of regexp](https://www.ruby-forum.com/t/dokuwiki-not-in-root-problem-of-regexp/221099)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [July 1, 2012, 6:41pm UTC](https://www.ruby-forum.com/t/dokuwiki-not-in-root-problem-of-regexp/221099 "2012-07-01T18:41:18Z")

</div>

Hi forumers, I’m trying to set a configuration up for DW but I’m going mad with the regexps:( My starter is the conf file found on the nginx wiki, but modified not to point DW to the server root: server { server\_na…

---

## [Proxy server needs to point to two servers](https://www.ruby-forum.com/t/proxy-server-needs-to-point-to-two-servers/221087)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 30, 2012, 1:41pm UTC](https://www.ruby-forum.com/t/proxy-server-needs-to-point-to-two-servers/221087 "2012-06-30T13:41:45Z")

</div>

Hi all. Our machines are behind a private firewall. I have a master machine as proxy server so two machines (production and development) can be accessed publicly. So I can access production as http://public\_url/app1…

---

## [Converting Rewrite rules](https://www.ruby-forum.com/t/converting-rewrite-rules/221030)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 29, 2012, 10:11pm UTC](https://www.ruby-forum.com/t/converting-rewrite-rules/221030 "2012-06-29T22:11:40Z")

</div>

I’m needing help on converting a htaccess rules to the nginx format. I’ve got the software installed in a sub folder called directory. In the root of that folder there is this .htaccess information: #Options +FollowSy…

---

## [Upstream module](https://www.ruby-forum.com/t/upstream-module/221084)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 29, 2012, 6:15pm UTC](https://www.ruby-forum.com/t/upstream-module/221084 "2012-06-29T18:15:00Z")

</div>

Hi, this is a piece of zimbra’s nginx proxy default configuration: http { … upstream zimbra { server mbs1.server.it:8080; zmauth; } # HTTP route lookup handlers # zmroutehandlers mbs1.server.it…

---

## [Upstream server are always redirected as https](https://www.ruby-forum.com/t/upstream-server-are-always-redirected-as-https/221070)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 29, 2012, 4:00pm UTC](https://www.ruby-forum.com/t/upstream-server-are-always-redirected-as-https/221070 "2012-06-29T16:00:35Z")

</div>

I am always redirect to https://mydomain … How can i STOP this? upstream navi\_profi\_server { server unix:/tmp/navi-profi.sock fail\_timeout=0; } server { listen 80; client\_max\_body\_size 4G; server\_name \_; keepaliv…

---

## [Unique\_id](https://www.ruby-forum.com/t/unique-id/209586)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 29, 2012, 3:07pm UTC](https://www.ruby-forum.com/t/unique-id/209586 "2012-06-29T15:07:59Z")

</div>

hi, i need something like mod\_unique\_id - Apache HTTP Server Version 2.4 (but for nginx obviously). basically i need nginx to generate some kind of uuid/checksum/something-unique, that it can send to an upstream-pr…

---

## [Nginx Active & Writing Connections exponential growth](https://www.ruby-forum.com/t/nginx-active-writing-connections-exponential-growth/192385)

<div class="topic-metadata">

**Author:** [@Antonio\_Jerez\_Guill](https://www.ruby-forum.com/u/Antonio_Jerez_Guill)\
**Replies:** 2\
**Last updated:** [June 29, 2012, 4:55am UTC](https://www.ruby-forum.com/t/nginx-active-writing-connections-exponential-growth/192385 "2012-06-29T04:55:59Z")

</div>

Hi there! First of all, I am a new user of the nginx mailing list so there is a short introduction of myself. My name is Antonio, and I have been working for a long time as Web Operations Engineer at Uptodown.com, V…

---

## [How does to error\_page when this issue](https://www.ruby-forum.com/t/how-does-to-error-page-when-this-issue/221033)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 29, 2012, 4:18am UTC](https://www.ruby-forum.com/t/how-does-to-error-page-when-this-issue/221033 "2012-06-29T04:18:15Z")

</div>

some url like: http://localhost.com/%u It will response http 400 status , and when generate this response ,nothing found in error log or access log. how to config this issue error\_page? my config location / { err…

---

## [Diffs of main\_conf](https://www.ruby-forum.com/t/diffs-of-main-conf/221063)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 29, 2012, 12:59am UTC](https://www.ruby-forum.com/t/diffs-of-main-conf/221063 "2012-06-29T00:59:36Z")

</div>

ngx\_cycle-\>conf\_cx-\>main\_conf r-\>main\_conf r-\>ctx-\>main\_conf How these are used / what are the difference of them? M. Posted at Nginx Forum:

---

## [Modify and reload Nginx's config from webpage?](https://www.ruby-forum.com/t/modify-and-reload-nginxs-config-from-webpage/220983)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 28, 2012, 11:17pm UTC](https://www.ruby-forum.com/t/modify-and-reload-nginxs-config-from-webpage/220983 "2012-06-28T23:17:22Z")

</div>

I think it would be more convenient to manage Nginx from webpage than command line.Any suggesions? Posted at Nginx Forum:

---

## [Proxy\_store](https://www.ruby-forum.com/t/proxy-store/221039)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 28, 2012, 9:23am UTC](https://www.ruby-forum.com/t/proxy-store/221039 "2012-06-28T09:23:26Z")

</div>

Been tearing out my hair for hours today trying to get proxy\_store to work. Is there a minimum version for proxy\_store with variables support? My nginx refuses to work with simple stuff like set $md5 test; proxy\_sto…

---

## [Nginx not connecting with varnish](https://www.ruby-forum.com/t/nginx-not-connecting-with-varnish/221031)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 28, 2012, 12:59am UTC](https://www.ruby-forum.com/t/nginx-not-connecting-with-varnish/221031 "2012-06-28T00:59:39Z")

</div>

I get this varnish error “FetchError no backend connection” Varnishlog: 0 CLI - Rd ping 0 CLI - Wr 200 19 PONG 1340829925 1.0 12 SessionOpen c 79.124.74.11 3063 :80 12 SessionClose c EO…

---

## [Help me test and verify my config](https://www.ruby-forum.com/t/help-me-test-and-verify-my-config/220889)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 27, 2012, 4:19pm UTC](https://www.ruby-forum.com/t/help-me-test-and-verify-my-config/220889 "2012-06-27T16:19:58Z")

</div>

Nginx community, i’ve recently switched to this awesome software which has performed admirably under load testing. I host a php/mysql driven site that with each page view serves results from multiple external xml feed…

---

## [Intermittent 400 error code -client sent invalid method while reading client request line,](https://www.ruby-forum.com/t/intermittent-400-error-code-client-sent-invalid-method-while-reading-client-request-line/220982)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 27, 2012, 9:50am UTC](https://www.ruby-forum.com/t/intermittent-400-error-code-client-sent-invalid-method-while-reading-client-request-line/220982 "2012-06-27T09:50:28Z")

</div>

In our setup we have a client that makes some web services calls to the back end with nginx as a proxy in between. Most of the time it is successful 99% but 1% calls are dropped and the client reports the error. On r…

---

## [\--with-debug compile option](https://www.ruby-forum.com/t/with-debug-compile-option/220980)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 27, 2012, 8:21am UTC](https://www.ruby-forum.com/t/with-debug-compile-option/220980 "2012-06-27T08:21:01Z")

</div>

Hi, I need to compile Nginx with --with-debug option. Will there be any performance implications if I have this flag set but NOT set the error log to debug\_\* when I don’t want to debug or troubleshoot any issue? Pos…

---

## [Custom Nginx module memleaks problem](https://www.ruby-forum.com/t/custom-nginx-module-memleaks-problem/220811)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [June 27, 2012, 6:00am UTC](https://www.ruby-forum.com/t/custom-nginx-module-memleaks-problem/220811 "2012-06-27T06:00:13Z")

</div>

Hi all, Recently I write a simple Nginx module ,but when I deploy it on the product environment it will make the Nginx service crash as it takes too many memory.The main handler code is here http://codepad.org/2H9We0…

---

## [Healthcheck\_nginx\_upstreams patch fails for Nginx 1.2.1](https://www.ruby-forum.com/t/healthcheck-nginx-upstreams-patch-fails-for-nginx-1-2-1/220345)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [June 26, 2012, 12:03pm UTC](https://www.ruby-forum.com/t/healthcheck-nginx-upstreams-patch-fails-for-nginx-1-2-1/220345 "2012-06-26T12:03:01Z")

</div>

Hello, We tried to test the new Nginx 1.2.1 release but we’re using the healthcheck\_nginx\_upstreams module 1. With Nginx 1.1.x and 1.2.0 we could succesfully apply the Healthcheck module patch but hunks fail for Ngin…

---

## [Problem with flv](https://www.ruby-forum.com/t/problem-with-flv/156828)

<div class="topic-metadata">

**Author:** [@hakan\_durukan](https://www.ruby-forum.com/u/hakan_durukan)\
**Replies:** 5\
**Last updated:** [June 26, 2012, 11:45am UTC](https://www.ruby-forum.com/t/problem-with-flv/156828 "2012-06-26T11:45:43Z")

</div>

hi, my config file is like that.i have problem with streaming .flv files.any help would be great?thank you. user nginx nginx; worker\_processes 1; error\_log /var/log/nginx/error\_log info; events { worker\_connectio…

---

## [Try\_files and index](https://www.ruby-forum.com/t/try-files-and-index/220943)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [June 26, 2012, 9:47am UTC](https://www.ruby-forum.com/t/try-files-and-index/220943 "2012-06-26T09:47:57Z")

</div>

Why is it my first configuration returns 403 while my second configuration returns 404? I looked into logs and it seems my first configuration triggers the index module which is set to the default index.html, finds no…

---

## [Nginx flv pseudo stream not working](https://www.ruby-forum.com/t/nginx-flv-pseudo-stream-not-working/220951)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 26, 2012, 9:39am UTC](https://www.ruby-forum.com/t/nginx-flv-pseudo-stream-not-working/220951 "2012-06-26T09:39:22Z")

</div>

hello, i compile my nginx 0.9.4 --with-http\_flv\_module but flv psuedo stream is not working but mp4 pseudo is working fine. I also added my flv directive in nginx.conf file :- Server { location ~ .flv$ { flv; } lo…

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

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