# Server

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

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

---

## [How to delete a specific page from cache?](https://www.ruby-forum.com/t/how-to-delete-a-specific-page-from-cache/170828)

<div class="topic-metadata">

**Author:** [@tonyy](https://www.ruby-forum.com/u/tonyy)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 9:21am UTC](https://www.ruby-forum.com/t/how-to-delete-a-specific-page-from-cache/170828 "2009-06-23T09:21:11Z")

</div>

How to delete a specific page from cache? Thanks! Posted at Nginx Forum:

---

## [How to generate url with sub domain to new url with query string?](https://www.ruby-forum.com/t/how-to-generate-url-with-sub-domain-to-new-url-with-query-string/170732)

<div class="topic-metadata">

**Author:** [@leakhina](https://www.ruby-forum.com/u/leakhina)\
**Replies:** 3\
**Last updated:** [June 23, 2009, 5:36am UTC](https://www.ruby-forum.com/t/how-to-generate-url-with-sub-domain-to-new-url-with-query-string/170732 "2009-06-23T05:36:56Z")

</div>

Hi everyone, I’m very new with Nginx, and now I want to use Nginx to generate new url from the url user passed. Example: User type to browser like http://us.domain.com, and I want Nginx generates to Website Domain N…

---

## [About log rotation](https://www.ruby-forum.com/t/about-log-rotation/170736)

<div class="topic-metadata">

**Author:** [@Chieu](https://www.ruby-forum.com/u/Chieu)\
**Replies:** 2\
**Last updated:** [June 23, 2009, 4:54am UTC](https://www.ruby-forum.com/t/about-log-rotation/170736 "2009-06-23T04:54:16Z")

</div>

hi,all I found the way of the log rotation is below. And during the period between “mv” and “kill”, some logs will be lost because of the file doesn’t exist any more. Is there any good ways? thanks http://wiki.n…

---

## [Nginx-0.7.61, nginx-0.6.38](https://www.ruby-forum.com/t/nginx-0-7-61-nginx-0-6-38/170751)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [June 23, 2009, 2:59am UTC](https://www.ruby-forum.com/t/nginx-0-7-61-nginx-0-6-38/170751 "2009-06-23T02:59:27Z")

</div>

Changes with nginx 0.7.61 22 Jun 2009 \*) Bugfix: nginx could not be built on MacOSX 10.6. the bug had appeared in 0.8.2. \*) Bugfix: nginx could not be built --without-http-cac…

---

## [Directio and proxy\_cache](https://www.ruby-forum.com/t/directio-and-proxy-cache/170788)

<div class="topic-metadata">

**Author:** [@Resicow](https://www.ruby-forum.com/u/Resicow)\
**Replies:** 1\
**Last updated:** [June 22, 2009, 9:15pm UTC](https://www.ruby-forum.com/t/directio-and-proxy-cache/170788 "2009-06-22T21:15:40Z")

</div>

Hello, Is it possible to have proxy\_cache use directio? Will it listen to the directive? I want nginx to serve the content from the cache directly, without going through the linux page cache. Have a great vacation I…

---

## [Help: Nginx provide blank content](https://www.ruby-forum.com/t/help-nginx-provide-blank-content/170676)

<div class="topic-metadata">

**Author:** [@tonyy](https://www.ruby-forum.com/u/tonyy)\
**Replies:** 3\
**Last updated:** [June 22, 2009, 5:19pm UTC](https://www.ruby-forum.com/t/help-nginx-provide-blank-content/170676 "2009-06-22T17:19:26Z")

</div>

I have set nginx to cache files. But sometimes, we get blank content. I find below message in the logs: cache file: “/cache/6/cc/5fa7f740d0cf7c2e33cb6c87bb92fcc6” But this file actually does not exist. Is this becua…

---

## [Compile time error](https://www.ruby-forum.com/t/compile-time-error/170719)

<div class="topic-metadata">

**Author:** [@neworld](https://www.ruby-forum.com/u/neworld)\
**Replies:** 4\
**Last updated:** [June 22, 2009, 4:41pm UTC](https://www.ruby-forum.com/t/compile-time-error/170719 "2009-06-22T16:41:30Z")

</div>

my configure is: ./configure --prefix=/wwwserver/nginx --user=nginx --group=nginx –without-http\_proxy\_module --with-md5=auto/lib/md5 –with-sha1=auto/lib/sha1 --without-http\_ssi\_module –without-http\_userid\_module --wi…

---

## [How to config Dynamic Domain in nginx.conf](https://www.ruby-forum.com/t/how-to-config-dynamic-domain-in-nginx-conf/170752)

<div class="topic-metadata">

**Author:** [@leakhina](https://www.ruby-forum.com/u/leakhina)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 12:37pm UTC](https://www.ruby-forum.com/t/how-to-config-dynamic-domain-in-nginx-conf/170752 "2009-06-22T12:37:54Z")

</div>

Hi, Does anyone know how to configure nginx.conf to use dynamic domain name ? Currently I want to many domain names to use only resource from one server. If anyone knows, could you send me an example with fully deta…

---

## [Running nginx on windows](https://www.ruby-forum.com/t/running-nginx-on-windows/170724)

<div class="topic-metadata">

**Author:** [@nginx\_mail](https://www.ruby-forum.com/u/nginx_mail)\
**Replies:** 1\
**Last updated:** [June 22, 2009, 11:41am UTC](https://www.ruby-forum.com/t/running-nginx-on-windows/170724 "2009-06-22T11:41:25Z")

</div>

when i unzip nginx-0.8.3 to c:/ and follow the comment given on the site: cd nginx , start nginx then i got nothing but show out the dirctionry of c:/nginx i am working on windows 7 then i run nginx by another build…

---

## [Setting custom response headers](https://www.ruby-forum.com/t/setting-custom-response-headers/169410)

<div class="topic-metadata">

**Author:** [@ehudros2](https://www.ruby-forum.com/u/ehudros2)\
**Replies:** 25\
**Last updated:** [June 22, 2009, 8:05am UTC](https://www.ruby-forum.com/t/setting-custom-response-headers/169410 "2009-06-22T08:05:07Z")

</div>

Hi all, I’m trying something that I though should be quite simple but turns out it isn’t… I have a rails app and want all static assets with a timestamp query string to be sent with a custom response header called “U…

---

## [Can block spider access to all files, include .php file?](https://www.ruby-forum.com/t/can-block-spider-access-to-all-files-include-php-file/170733)

<div class="topic-metadata">

**Author:** [@filebackup](https://www.ruby-forum.com/u/filebackup)\
**Replies:** 0\
**Last updated:** [June 22, 2009, 7:52am UTC](https://www.ruby-forum.com/t/can-block-spider-access-to-all-files-include-php-file/170733 "2009-06-22T07:52:14Z")

</div>

I had found if I blocked all files, include .php file, I can’t open my website. location ~\* ..$ { if ($http\_user\_agent ~\* baidu|spider) { rewrite ^/ http://www.mydomain.com/robots.txt; } } If I setup this rule int…

---

## [Connection timed out](https://www.ruby-forum.com/t/connection-timed-out/170720)

<div class="topic-metadata">

**Author:** [@teenage](https://www.ruby-forum.com/u/teenage)\
**Replies:** 0\
**Last updated:** [June 21, 2009, 11:24pm UTC](https://www.ruby-forum.com/t/connection-timed-out/170720 "2009-06-21T23:24:08Z")

</div>

Hi, with one of my NginX servers I have some timeouts during TCP connection, I don’t know where can be the problem : It’s a dual Xeon E5405 (so, 8 cores) and load average is between 2 and 5. Near all CPU are under 20…

---

## [Unknown directive "if" nginx-0.7.60](https://www.ruby-forum.com/t/unknown-directive-if-nginx-0-7-60/170703)

<div class="topic-metadata">

**Author:** [@Alan\_Hysinger](https://www.ruby-forum.com/u/Alan_Hysinger)\
**Replies:** 2\
**Last updated:** [June 21, 2009, 9:18pm UTC](https://www.ruby-forum.com/t/unknown-directive-if-nginx-0-7-60/170703 "2009-06-21T21:18:40Z")

</div>

Hi, Please forgive my newbness to nginx here. I’ve tried a bunch of stuff, googling and searching the nginx mail forum, to no avail. I am trying to setup nginx using memcached and I have an app running on an Apache …

---

## [Nginx / apache conflict w/php-fpm](https://www.ruby-forum.com/t/nginx-apache-conflict-w-php-fpm/170718)

<div class="topic-metadata">

**Author:** [@Chris\_Cortese](https://www.ruby-forum.com/u/Chris_Cortese)\
**Replies:** 1\
**Last updated:** [June 21, 2009, 8:41pm UTC](https://www.ruby-forum.com/t/nginx-apache-conflict-w-php-fpm/170718 "2009-06-21T20:41:42Z")

</div>

Sorry if this sounds like an Apache / php-fpm question but I think it’s relevant to this list and hopefully somebody here has encountered this. I just built php 5.2.10 with the new php-fpm patch for php 5.2.10. This …

---

## [Nginx server redirect](https://www.ruby-forum.com/t/nginx-server-redirect/170649)

<div class="topic-metadata">

**Author:** [@Kevin\_Castiglione](https://www.ruby-forum.com/u/Kevin_Castiglione)\
**Replies:** 11\
**Last updated:** [June 21, 2009, 4:44pm UTC](https://www.ruby-forum.com/t/nginx-server-redirect/170649 "2009-06-21T16:44:46Z")

</div>

hi if any one goes to XXX.aaa.com/bbb i want to do a permanent redirect to aaa.com/bbb any suggestions on how to do this? thank you

---

## [PHP-FPM Patch for PHP 5.2.10 available (officially now)](https://www.ruby-forum.com/t/php-fpm-patch-for-php-5-2-10-available-officially-now/170675)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 0\
**Last updated:** [June 20, 2009, 10:44pm UTC](https://www.ruby-forum.com/t/php-fpm-patch-for-php-5-2-10-available-officially-now/170675 "2009-06-20T22:44:24Z")

</div>

Cross-post with the nginx mailing list, since a lot of nginx users use PHP-FPM… Andrei has changed the license so it will be compatible with PHP and I am working to get it sponsored to either get into PECL or PHP itse…

---

## [Caching needed, but makes kitty sad](https://www.ruby-forum.com/t/caching-needed-but-makes-kitty-sad/170168)

<div class="topic-metadata">

**Author:** [@Jessica\_Hawkwell](https://www.ruby-forum.com/u/Jessica_Hawkwell)\
**Replies:** 2\
**Last updated:** [June 20, 2009, 7:30pm UTC](https://www.ruby-forum.com/t/caching-needed-but-makes-kitty-sad/170168 "2009-06-20T19:30:38Z")

</div>

Hai peeps! =^\_^= I have a system that stores a lot of images in a database. What I’m running is an avatar site, and there are times when it seems everyone has decided to update their avatars all at the same time. Wi…

---

## [Ask help for nginx and tomcat](https://www.ruby-forum.com/t/ask-help-for-nginx-and-tomcat/169389)

<div class="topic-metadata">

**Author:** [@niedh](https://www.ruby-forum.com/u/niedh)\
**Replies:** 3\
**Last updated:** [June 20, 2009, 6:35pm UTC](https://www.ruby-forum.com/t/ask-help-for-nginx-and-tomcat/169389 "2009-06-20T18:35:35Z")

</div>

Hi everybody, I’m new to nginx. Recently I use comet in my project. I choose tomcat for the java server. and enable the Http11NioProtocol connector. client send a ajax request,and the server side suspend it, and set a …

---

## [: duplicate MIME type "text/html" in /etc/nginx/nginx.conf:28](https://www.ruby-forum.com/t/duplicate-mime-type-text-html-in-etc-nginx-nginx-conf-28/170664)

<div class="topic-metadata">

**Author:** [@Jools\_W](https://www.ruby-forum.com/u/Jools_W)\
**Replies:** 2\
**Last updated:** [June 20, 2009, 5:34pm UTC](https://www.ruby-forum.com/t/duplicate-mime-type-text-html-in-etc-nginx-nginx-conf-28/170664 "2009-06-20T17:34:28Z")

</div>

getting the warning \[warn\]: duplicate MIME type “text/html” in /etc/nginx/nginx.conf:28 using nginx 0.7.59 that line reads gzip\_types text/plain text/html text/css application/x-javascript text/xml application/xml a…

---

## [Disable symlink, possible?](https://www.ruby-forum.com/t/disable-symlink-possible/170409)

<div class="topic-metadata">

**Author:** [@Edho\_P\_Arief](https://www.ruby-forum.com/u/Edho_P_Arief)\
**Replies:** 5\
**Last updated:** [June 20, 2009, 1:32pm UTC](https://www.ruby-forum.com/t/disable-symlink-possible/170409 "2009-06-20T13:32:00Z")

</div>

Is it possible to disallow/disable nginx from following symlink?

---

## [Nginx rewrite help](https://www.ruby-forum.com/t/nginx-rewrite-help/170499)

<div class="topic-metadata">

**Author:** [@Kevin\_Castiglione](https://www.ruby-forum.com/u/Kevin_Castiglione)\
**Replies:** 30\
**Last updated:** [June 20, 2009, 11:41am UTC](https://www.ruby-forum.com/t/nginx-rewrite-help/170499 "2009-06-20T11:41:51Z")

</div>

hei guys i want all urls to be re-written as follows: xx /host/xx xx is the url full path, it should be written as /domain/xx where host is the hostname. for example www.ABCD.COM http://www.abcd.com/ /test?1 —\> /A…

---

## [Vacation](https://www.ruby-forum.com/t/vacation/124564)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [June 20, 2009, 8:36am UTC](https://www.ruby-forum.com/t/vacation/124564 "2009-06-20T08:36:19Z")

</div>

30.12-03.01 I will be on vacation without internet access.

---

## [Memcached on the LB - please help this NEWB](https://www.ruby-forum.com/t/memcached-on-the-lb-please-help-this-newb/170635)

<div class="topic-metadata">

**Author:** [@vburshteyn](https://www.ruby-forum.com/u/vburshteyn)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 9:58pm UTC](https://www.ruby-forum.com/t/memcached-on-the-lb-please-help-this-newb/170635 "2009-06-19T21:58:31Z")

</div>

Hi folks, So hopefully this will be very simple. I got Nginx as a LB for the typical django setup. I am trying to put memcached on the LB nginx and all i keep getting are 502 erros. http { main lb section to take …

---

## [NGINX new features on the help of](https://www.ruby-forum.com/t/nginx-new-features-on-the-help-of/170630)

<div class="topic-metadata">

**Author:** [@fireye](https://www.ruby-forum.com/u/fireye)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/nginx-new-features-on-the-help-of/170630 "2009-06-19T21:10:33Z")

</div>

NGINX each update will add new features or new variables, I would like to ask about these new features or new variables, how to use, for example, to a configuration file reference. For example, the following variables…

---

## [Re: disable symlink, possible?](https://www.ruby-forum.com/t/re-disable-symlink-possible/170618)

<div class="topic-metadata">

**Author:** [@Christopher\_Smith](https://www.ruby-forum.com/u/Christopher_Smith)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 6:41pm UTC](https://www.ruby-forum.com/t/re-disable-symlink-possible/170618 "2009-06-19T18:41:32Z")

</div>

It always strikes me as odd when people want this functionality (and Apache is proof that they do). It seems far easier to employ such restrictions at write/create time, or at least offline, rather than as part of the…

---

## [Advice for jetty setup?](https://www.ruby-forum.com/t/advice-for-jetty-setup/170614)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 1\
**Last updated:** [June 19, 2009, 6:40pm UTC](https://www.ruby-forum.com/t/advice-for-jetty-setup/170614 "2009-06-19T18:40:20Z")

</div>

Are any of you guys in fact using jetty for deploying a publically-available version of blacklight? Using the demo app, can anyone give me some advice for ensuring that jetty automatically starts on machine bootup (or…

---

## [Which rule is right?](https://www.ruby-forum.com/t/which-rule-is-right/170586)

<div class="topic-metadata">

**Author:** [@filebackup](https://www.ruby-forum.com/u/filebackup)\
**Replies:** 2\
**Last updated:** [June 19, 2009, 3:32pm UTC](https://www.ruby-forum.com/t/which-rule-is-right/170586 "2009-06-19T15:32:59Z")

</div>

Hi. I setup some rules in nginx.conf, but I don’t known which is right, 1 or 2? Please help me, Thanks. 1, location ~\* ..(jpg|jpeg|gif|png|js|ini|css|xml|ico|swf|bmp|html|htm)$ { if ($http\_user\_agent ~ baidu|spider…

---

## [Vacation](https://www.ruby-forum.com/t/vacation/170590)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 3\
**Last updated:** [June 19, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/vacation/170590 "2009-06-19T14:46:25Z")

</div>

I will be on vacation since June 23 till July 7.

---

## [Re: vacation](https://www.ruby-forum.com/t/re-vacation/170591)

<div class="topic-metadata">

**Author:** [@joviyach](https://www.ruby-forum.com/u/joviyach)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 1:58pm UTC](https://www.ruby-forum.com/t/re-vacation/170591 "2009-06-19T13:58:26Z")

</div>

Enjoy yourself Igor. Jim

---

## [Nginx-0.8.3](https://www.ruby-forum.com/t/nginx-0-8-3/170589)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [June 19, 2009, 1:18pm UTC](https://www.ruby-forum.com/t/nginx-0-8-3/170589 "2009-06-19T13:18:49Z")

</div>

Changes with nginx 0.8.3 19 Jun 2009 \*) Feature: the $upstream\_cache\_status variable. \*) Bugfix: nginx could not be built on MacOSX 10.6. the bug had appeared in 0.8.2. \*) B…

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

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