# Server

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

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

---

## [How to log the time in the UTC time format?](https://www.ruby-forum.com/t/how-to-log-the-time-in-the-utc-time-format/179636)

<div class="topic-metadata">

**Author:** [@naltimari](https://www.ruby-forum.com/u/naltimari)\
**Replies:** 6\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/how-to-log-the-time-in-the-utc-time-format/179636 "2009-12-19T15:25:26Z")

</div>

I need my logs in UTC time format, but nginx by default uses the local time format (I guess in GMT format). Can it be done? How? Posted at Nginx Forum:

---

## [Wordpress mu + nginx + apache](https://www.ruby-forum.com/t/wordpress-mu-nginx-apache/179676)

<div class="topic-metadata">

**Author:** [@pepejose](https://www.ruby-forum.com/u/pepejose)\
**Replies:** 7\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/wordpress-mu-nginx-apache/179676 "2009-12-19T15:25:26Z")

</div>

hi I have read many forums and tried many settings and I can not get it to work, I need help I swear I’ve tried many rules combination and settings these are the rules for apache for wordpress 2.8.6, but I need to do…

---

## [Case sensitive locations on macos x](https://www.ruby-forum.com/t/case-sensitive-locations-on-macos-x/179615)

<div class="topic-metadata">

**Author:** [@dobe](https://www.ruby-forum.com/u/dobe)\
**Replies:** 2\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/case-sensitive-locations-on-macos-x/179615 "2009-12-19T15:25:25Z")

</div>

hi all we found out, that at least on macosx nginx 0.7.64 the location directives are not case sensitive, in particular the exact match locations. is there any way to get the same behaviour as on linux where those d…

---

## [Nginx-0.8.29](https://www.ruby-forum.com/t/nginx-0-8-29/180403)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 10\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/nginx-0-8-29/180403 "2009-12-19T15:25:25Z")

</div>

Changes with nginx 0.8.29 30 Nov 2009 \*) Change: now the "009" status code is written to an access log for proxied HTTP/0.9 responses. \*) Feature: the "addition\_types", "chars…

---

## [Default value of fastcgi\_cache\_path](https://www.ruby-forum.com/t/default-value-of-fastcgi-cache-path/179602)

<div class="topic-metadata">

**Author:** [@pcdinh](https://www.ruby-forum.com/u/pcdinh)\
**Replies:** 1\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/default-value-of-fastcgi-cache-path/179602 "2009-12-19T15:25:25Z")

</div>

Hi, I am reading Module ngx\_http\_fastcgi\_module and found that fastcgi\_cache\_path are not documented. Any idea how it works if I don’t specify it explicitly? Best regards, Dinh

---

## [Gzip just fails](https://www.ruby-forum.com/t/gzip-just-fails/180401)

<div class="topic-metadata">

**Author:** [@Paul\_Roland](https://www.ruby-forum.com/u/Paul_Roland)\
**Replies:** 7\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/gzip-just-fails/180401 "2009-12-19T15:25:25Z")

</div>

Hey, I’ve tried kind of everything but it seems like nginx just won’t gzip. I have this in http zone, no page is gziped, only php ones but that’s php’s internal compression. I also receive Transfer-Encoding chunked …

---

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

<div class="topic-metadata">

**Author:** [@thinkbot](https://www.ruby-forum.com/u/thinkbot)\
**Replies:** 7\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/rewrite/179588 "2009-12-19T15:25:25Z")

</div>

Hello, I wanted to rewrite this url rss.xml?type=popular&cid=8 to /cache/rss/popular\_8.xml so I wrote location ~\* \\.(jpg|jpeg|gif|css|png|js|ico|xml)$ { root /home/site/public\_html; …

---

## ["X-Accel-Redirect" and Wordpress MU solution](https://www.ruby-forum.com/t/x-accel-redirect-and-wordpress-mu-solution/179533)

<div class="topic-metadata">

**Author:** [@rahul286](https://www.ruby-forum.com/u/rahul286)\
**Replies:** 6\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-and-wordpress-mu-solution/179533 "2009-12-19T15:25:24Z")

</div>

I am trying to get “X-Accel-Redirect” working on my ngnix and Wordpress MU server. I came across this official wordpress thread - http://trac.mu.wordpress.org/changeset/1946 I followed it. I added codes in blogs.php.…

---

## [How To Redirect http request to ftp](https://www.ruby-forum.com/t/how-to-redirect-http-request-to-ftp/180398)

<div class="topic-metadata">

**Author:** [@Mahyuddin\_S](https://www.ruby-forum.com/u/Mahyuddin_S)\
**Replies:** 6\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/how-to-redirect-http-request-to-ftp/180398 "2009-12-19T15:25:24Z")

</div>

Hello all I have a problem to configure Nginx, i want to redirect any file iso from http to ftp. but i don’t know how? example: all iso (big file) located at http://fileserver.example.org/iso i want to redirect any …

---

## [Gzipping xhtml pages](https://www.ruby-forum.com/t/gzipping-xhtml-pages/180400)

<div class="topic-metadata">

**Author:** [@Dave\_Kennard](https://www.ruby-forum.com/u/Dave_Kennard)\
**Replies:** 2\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/gzipping-xhtml-pages/180400 "2009-12-19T15:25:24Z")

</div>

I’m having trouble in getting Nginx to gzip my pages that are served as application/xhtml+xml In my nginx.conf http block I have the following: / gzip on; gzip\_comp\_level 3; gzip\_proxied any; gzip\_types text/pl…

---

## [Tweaking FastCGI buffers settings](https://www.ruby-forum.com/t/tweaking-fastcgi-buffers-settings/179492)

<div class="topic-metadata">

**Author:** [@rahul286](https://www.ruby-forum.com/u/rahul286)\
**Replies:** 12\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/tweaking-fastcgi-buffers-settings/179492 "2009-12-19T15:25:23Z")

</div>

First let me show my understanding of ngnix working till now… In my ngnix.conf - inside php-fastcgi handler block I have settings… fastcgi\_buffers 64 4k; i.e. 256K buffer size (I am on 32-bit platform). This means tha…

---

## [Syslog patch nginx version 0.8.27](https://www.ruby-forum.com/t/syslog-patch-nginx-version-0-8-27/180399)

<div class="topic-metadata">

**Author:** [@Felix\_Feinhals](https://www.ruby-forum.com/u/Felix_Feinhals)\
**Replies:** 0\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/syslog-patch-nginx-version-0-8-27/180399 "2009-12-19T15:25:22Z")

</div>

Hi list, I tried to apply the syslog patch (http://bugs.gentoo.org/attachment.cgi?id=197180) to the newest nginx version, but failed with compile errors. src/core/ngx\_log.c: In function ‘ngx\_log\_error\_core’: src/cor…

---

## [Custom 503 Error Page](https://www.ruby-forum.com/t/custom-503-error-page/127947)

<div class="topic-metadata">

**Author:** [@Douglas\_ASSeifert](https://www.ruby-forum.com/u/Douglas_ASSeifert)\
**Replies:** 20\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/custom-503-error-page/127947 "2009-12-19T15:25:22Z")

</div>

I am trying to use a test for the existence of a file to return a error page with a 503 Temporarily Unavailable response code. My configuration is below. The problem is that it does not work. I can see the custom e…

---

## [Is there a way to change $uri variable?](https://www.ruby-forum.com/t/is-there-a-way-to-change-uri-variable/179494)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 1\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-change-uri-variable/179494 "2009-12-19T15:25:22Z")

</div>

In .conf file, is there a way to change $uri variable? I want to do something like: try\_files ${uri}.sub(/test$/, “dev”) @mongrel I know there is rewrite function, but I do not use it because I want to keep the origi…

---

## [Hide the Nginx version info](https://www.ruby-forum.com/t/hide-the-nginx-version-info/179449)

<div class="topic-metadata">

**Author:** [@himesh](https://www.ruby-forum.com/u/himesh)\
**Replies:** 3\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/hide-the-nginx-version-info/179449 "2009-12-19T15:25:22Z")

</div>

Hi all, Is there a possible way too hide the nginx version that is shown for a return value of 403, 500 etc… Thank You, Himesh. Posted at Nginx Forum:

---

## [Bug in nginx-0.8.28](https://www.ruby-forum.com/t/bug-in-nginx-0-8-28/179491)

<div class="topic-metadata">

**Author:** [@Paul\_Roland](https://www.ruby-forum.com/u/Paul_Roland)\
**Replies:** 4\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/bug-in-nginx-0-8-28/179491 "2009-12-19T15:25:22Z")

</div>

I have: limit\_req\_zone $binary\_remote\_addr zone=one:10m rate=5r/s; limit\_req zone=one burst=5; in http zone. whatever changes I make ot that directive even if I set 100/s won’t serve more than 2 reques…

---

## [Logging non-cached requests](https://www.ruby-forum.com/t/logging-non-cached-requests/179475)

<div class="topic-metadata">

**Author:** [@Nime](https://www.ruby-forum.com/u/Nime)\
**Replies:** 4\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/logging-non-cached-requests/179475 "2009-12-19T15:25:22Z")

</div>

Is it possible to log requests only if they have not been served by proxy\_cache? I only want to see all the requests that actually go to my (slow) upstream, not served statically Posted at Nginx Forum:

---

## [Unknown directive "if" in /usr/local/nginx/nginx.conf](https://www.ruby-forum.com/t/unknown-directive-if-in-usr-local-nginx-nginx-conf/179425)

<div class="topic-metadata">

**Author:** [@johndesp](https://www.ruby-forum.com/u/johndesp)\
**Replies:** 4\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/unknown-directive-if-in-usr-local-nginx-nginx-conf/179425 "2009-12-19T15:25:21Z")

</div>

Guys, The following is what I have done. My goal is ultimately use regex to inspect the incoming URI and make proxy\_pass decisions. The if statement below is just a test to validate the if statements work. As you can …

---

## [Set URL request length in Nginx reverse proxy](https://www.ruby-forum.com/t/set-url-request-length-in-nginx-reverse-proxy/179400)

<div class="topic-metadata">

**Author:** [@himesh](https://www.ruby-forum.com/u/himesh)\
**Replies:** 9\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/set-url-request-length-in-nginx-reverse-proxy/179400 "2009-12-19T15:25:21Z")

</div>

Hi All, Is it possible to set the limit to the number of characters that can be present in the requested Url. which variable can i use to access the requested url . Thank You Posted at Nginx Forum:

---

## [Unknown directive "if" in /usr/local/nginx/nginx.conf](https://www.ruby-forum.com/t/unknown-directive-if-in-usr-local-nginx-nginx-conf/179429)

<div class="topic-metadata">

**Author:** [@johndesp](https://www.ruby-forum.com/u/johndesp)\
**Replies:** 1\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/unknown-directive-if-in-usr-local-nginx-nginx-conf/179429 "2009-12-19T15:25:21Z")

</div>

Guys, The following is what I have done. My goal is ultimately use regex to inspect the incoming URI and make proxy\_pass decisions. The “if” statement below is just a test to validate the if statements work. As you c…

---

## [Can not configure pcre on CENTOS](https://www.ruby-forum.com/t/can-not-configure-pcre-on-centos/179420)

<div class="topic-metadata">

**Author:** [@johndesp](https://www.ruby-forum.com/u/johndesp)\
**Replies:** 5\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/can-not-configure-pcre-on-centos/179420 "2009-12-19T15:25:21Z")

</div>

Hi. I apologize but I am a linux noobie. I installed pcre on Centos using “yum install pcre-devel” . Everything worked fine. However, I can seem to find the correct location for the pcre library. I use locate an…

---

## [Module vars set inside if's are not set](https://www.ruby-forum.com/t/module-vars-set-inside-ifs-are-not-set/180397)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 5\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/module-vars-set-inside-ifs-are-not-set/180397 "2009-12-19T15:25:21Z")

</div>

Variables that are used by modules and are set inside ‘if’ blocks in the nginx.conf file are not being set correctly. My nginx version (-V output) is: nginx version: nginx/0.7.64 built by gcc 4.3.3 (Ubuntu 4.3.3-5ubu…

---

## [Nginx HTTP Push Module v0.69](https://www.ruby-forum.com/t/nginx-http-push-module-v0-69/179157)

<div class="topic-metadata">

**Author:** [@slact](https://www.ruby-forum.com/u/slact)\
**Replies:** 7\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/nginx-http-push-module-v0-69/179157 "2009-12-19T15:25:21Z")

</div>

This module turns Nginx into an adept HTTP Push and Comet server. It takes care of all the connection juggling, and exposes a simple interface to broadcast messages to clients via plain old HTTP requests. This lets on…

---

## [Variables disallowed in first proxy\_redirect parameter?](https://www.ruby-forum.com/t/variables-disallowed-in-first-proxy-redirect-parameter/180396)

<div class="topic-metadata">

**Author:** [@xamdam](https://www.ruby-forum.com/u/xamdam)\
**Replies:** 1\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/variables-disallowed-in-first-proxy-redirect-parameter/180396 "2009-12-19T15:25:21Z")

</div>

Hello all, Is it not possible to use variables in the first parameter to proxy\_redirect directive? I ran some experiments and it seems that given the following two configurations, only the second one works, even thou…

---

## [How to block these requests with http:// in the params?](https://www.ruby-forum.com/t/how-to-block-these-requests-with-http-in-the-params/179404)

<div class="topic-metadata">

**Author:** [@Shri\_S\_DevLib.Org](https://www.ruby-forum.com/u/Shri_S_DevLib.Org)\
**Replies:** 3\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/how-to-block-these-requests-with-http-in-the-params/179404 "2009-12-19T15:25:21Z")

</div>

How would I go about blocking requests which try to exploit application / php flaws? One in particular is … of the form http://www.domain.com/search.php?searchterm=http://217.218.xxx.x/abc.php I’d like to block all r…

---

## [Mailman and nginx-announce list](https://www.ruby-forum.com/t/mailman-and-nginx-announce-list/179309)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 12\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/mailman-and-nginx-announce-list/179309 "2009-12-19T15:25:20Z")

</div>

Finally I have upgraded my mail system and now mailman will process mailing lists instead of majordomo: http://nginx.org/mailman/ Currently there is just a single English mailing list removed\_email\_address@domain.inv…

---

## [Reverse proxy](https://www.ruby-forum.com/t/reverse-proxy/180393)

<div class="topic-metadata">

**Author:** [@yaoxing\_zhang](https://www.ruby-forum.com/u/yaoxing_zhang)\
**Replies:** 0\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/reverse-proxy/180393 "2009-12-19T15:25:20Z")

</div>

hello everyone, I’m using nginx as a reverse proxy. Generally everything is fine. I just happened to see someone says it’s better to turn off back-end server’s gzip feature otherwise there might be problems in caching…

---

## [Which version to use?](https://www.ruby-forum.com/t/which-version-to-use/179245)

<div class="topic-metadata">

**Author:** [@Jean-Baptiste\_Q](https://www.ruby-forum.com/u/Jean-Baptiste_Q)\
**Replies:** 3\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/which-version-to-use/179245 "2009-12-19T15:25:20Z")

</div>

Thanks for providing this great piece of software: nginx. I’m successfully running 0.6.35 at my site with the \[1\]syslog patch. Today I noticed there was several major new versions, 0.7.x and 0.8.x and searched for a l…

---

## [Nginx-0.8.28](https://www.ruby-forum.com/t/nginx-0-8-28/180394)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/nginx-0-8-28/180394 "2009-12-19T15:25:20Z")

</div>

Changes with nginx 0.8.28 23 Nov 2009 \*) Bugfix: nginx could not be built with the --without-pcre parameter; the bug had appeared in 0.8.25. – Igor S. http://sysoev.ru/en/

---

## [Upload module 2.0.11](https://www.ruby-forum.com/t/upload-module-2-0-11/180395)

<div class="topic-metadata">

**Author:** [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Replies:** 0\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/upload-module-2-0-11/180395 "2009-12-19T15:25:20Z")

</div>

Greetings! Changes in version 2.0.11: Fixed bug: segfault in request body reception code (thanks to Andrew Filonov); Fixed bug: dummy field did not appear whenever form contained only non-file fields; Added feature:…

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

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