# Server

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

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

---

## [FreeBSD & Linux disk AIO support](https://www.ruby-forum.com/t/freebsd-linux-disk-aio-support/174363)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 12\
**Last updated:** [August 26, 2009, 5:53pm UTC](https://www.ruby-forum.com/t/freebsd-linux-disk-aio-support/174363 "2009-08-26T17:53:16Z")

</div>

Experimental patch to support disk AIO on FreeBSD and Linux. ./configure --with-file-aio … nginx.conf: location / { aio on; output\_buffers 1 128k; } Linux: at least 2.6.22 kernel is required. Probabl…

---

## [No-ip](https://www.ruby-forum.com/t/no-ip/174370)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 1\
**Last updated:** [August 26, 2009, 7:36am UTC](https://www.ruby-forum.com/t/no-ip/174370 "2009-08-26T07:36:00Z")

</div>

so i had noip package installed on ubuntu already but it doesn’t work when i type johnwong.no-ip.org the local ip is fine i change server\_name back to localhost (instead of 192.168.1.101) and still no luck any tips…

---

## [Basic http authentication](https://www.ruby-forum.com/t/basic-http-authentication/174360)

<div class="topic-metadata">

**Author:** [@jeromeqc](https://www.ruby-forum.com/u/jeromeqc)\
**Replies:** 2\
**Last updated:** [August 25, 2009, 9:17pm UTC](https://www.ruby-forum.com/t/basic-http-authentication/174360 "2009-08-25T21:17:55Z")

</div>

Hi all, I just finished my first Rails deployment with passenger and nginx 0.6.37 and everything is running. But, I need to protect the whole site since it is just in staging. After messing with authenticate\_or\_reque…

---

## [Caching + Error\_code or try](https://www.ruby-forum.com/t/caching-error-code-or-try/174329)

<div class="topic-metadata">

**Author:** [@icqheretic](https://www.ruby-forum.com/u/icqheretic)\
**Replies:** 4\
**Last updated:** [August 25, 2009, 6:53pm UTC](https://www.ruby-forum.com/t/caching-error-code-or-try/174329 "2009-08-25T18:53:36Z")

</div>

location @backend { #internal; #root html; #index index.html; log\_subrequest on; access\_log logs/cfc.access.log backend\_log; #open\_file\_cache …

---

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

<div class="topic-metadata">

**Author:** [@CactO\_oSs](https://www.ruby-forum.com/u/CactO_oSs)\
**Replies:** 3\
**Last updated:** [August 25, 2009, 4:30pm UTC](https://www.ruby-forum.com/t/rewrite-host/174080 "2009-08-25T16:30:45Z")

</div>

Hi all, I test to rewrite the sub-domain in /etc/nginx/site-available/default and I would know if exist a function for add GET argument ? For example : if( $host ~\* “(.)..{2,4}” ) { addGet sd $1; } This code add …

---

## [Nginx-0.8.10](https://www.ruby-forum.com/t/nginx-0-8-10/174288)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 11\
**Last updated:** [August 25, 2009, 4:10pm UTC](https://www.ruby-forum.com/t/nginx-0-8-10/174288 "2009-08-25T16:10:51Z")

</div>

Changes with nginx 0.8.10 24 Aug 2009 \*) Bugfix: memory leaks if GeoIP City database was used. \*) Bugfix: in copying temporary files to permanent storage area; the bug had app…

---

## [PATCH: $time\_custom supports a custom log timestamp](https://www.ruby-forum.com/t/patch-time-custom-supports-a-custom-log-timestamp/174301)

<div class="topic-metadata">

**Author:** [@Wayne\_Davison](https://www.ruby-forum.com/u/Wayne_Davison)\
**Replies:** 6\
**Last updated:** [August 25, 2009, 7:37am UTC](https://www.ruby-forum.com/t/patch-time-custom-supports-a-custom-log-timestamp/174301 "2009-08-25T07:37:53Z")

</div>

Hi there. The company I work for, SourceForge, wanted the ability to have a custom timestamp in a log file, so I created a patch for this. I have been authorized to release it back to the nginx community. See what y…

---

## [The plain HTTP request was sent to HTTPS port](https://www.ruby-forum.com/t/the-plain-http-request-was-sent-to-https-port/174121)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 9\
**Last updated:** [August 24, 2009, 3:14pm UTC](https://www.ruby-forum.com/t/the-plain-http-request-was-sent-to-https-port/174121 "2009-08-24T15:14:22Z")

</div>

So we’re doing a credit card transaction and it comes back from paypal on the return trip with that error (on our end). The reason is that the return URL is: http://www.domain.com:443/… so its trying to access por…

---

## ["error\_page" can not be used in the "return" of "if"](https://www.ruby-forum.com/t/error-page-can-not-be-used-in-the-return-of-if/174275)

<div class="topic-metadata">

**Author:** [@Xia\_Q](https://www.ruby-forum.com/u/Xia_Q)\
**Replies:** 0\
**Last updated:** [August 24, 2009, 9:02am UTC](https://www.ruby-forum.com/t/error-page-can-not-be-used-in-the-return-of-if/174275 "2009-08-24T09:02:00Z")

</div>

Hi, I am running nginx-0.7.61 on my FreeBSD box, and I have taken the 403 error page to a static html in server context as follows, error\_page 403 /my-403.html; In my “if” condition of the same server context, I write: …

---

## [Perl module stability](https://www.ruby-forum.com/t/perl-module-stability/174126)

<div class="topic-metadata">

**Author:** [@Arvind\_Jayaprakash](https://www.ruby-forum.com/u/Arvind_Jayaprakash)\
**Replies:** 4\
**Last updated:** [August 23, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/perl-module-stability/174126 "2009-08-23T21:26:05Z")

</div>

The English wiki says the embedded perl module is highly experimental followed by a lot of warnings. Is this still true?

---

## [Need help understanding Nginx Rewriting](https://www.ruby-forum.com/t/need-help-understanding-nginx-rewriting/174217)

<div class="topic-metadata">

**Author:** [@ray](https://www.ruby-forum.com/u/ray)\
**Replies:** 2\
**Last updated:** [August 23, 2009, 2:41pm UTC](https://www.ruby-forum.com/t/need-help-understanding-nginx-rewriting/174217 "2009-08-23T14:41:06Z")

</div>

Hi guys, Would like to ask what IS the difference between the “last” and “break” flags for rewriting? It seems to me from the examples in Module ngx\_http\_rewrite\_module that we can just use “break” for just about e…

---

## [Example of upload\_module for PHP fastcgi](https://www.ruby-forum.com/t/example-of-upload-module-for-php-fastcgi/174213)

<div class="topic-metadata">

**Author:** [@Oon\_Arfiandwi](https://www.ruby-forum.com/u/Oon_Arfiandwi)\
**Replies:** 2\
**Last updated:** [August 23, 2009, 12:42pm UTC](https://www.ruby-forum.com/t/example-of-upload-module-for-php-fastcgi/174213 "2009-08-23T12:42:52Z")

</div>

Hi All, I’m new on nginx. I try to create upload application using PHP. I already configure ubuntu + nginx + php-fcgi + nginx\_upload\_module-2.0.9. is there any URL for nginx configuration sample of upload applicatio…

---

## [Compile nginx add openssl](https://www.ruby-forum.com/t/compile-nginx-add-openssl/174051)

<div class="topic-metadata">

**Author:** [@ronin](https://www.ruby-forum.com/u/ronin)\
**Replies:** 2\
**Last updated:** [August 23, 2009, 11:30am UTC](https://www.ruby-forum.com/t/compile-nginx-add-openssl/174051 "2009-08-23T11:30:18Z")

</div>

system:centos 5.3 yum -y install openssl openssl-devel ./configure --user=webuser --group=webuser --prefix=/usr/local/nginx –with-http\_stub\_status\_module --with-http\_ssl\_module –with-http\_sub\_module --with-md5=/usr/l…

---

## [Nginx configure check fault?](https://www.ruby-forum.com/t/nginx-configure-check-fault/174066)

<div class="topic-metadata">

**Author:** [@lhmwzy](https://www.ruby-forum.com/u/lhmwzy)\
**Replies:** 4\
**Last updated:** [August 23, 2009, 1:48am UTC](https://www.ruby-forum.com/t/nginx-configure-check-fault/174066 "2009-08-23T01:48:28Z")

</div>

I write “access\_log off” in the configure file,nginx does not complain syntax error. It should “access\_log off;”,am I right? Does nginx can not check out this syntax error? nginx -V nginx version: nginx/0.8.7 confi…

---

## [Imap proxy?](https://www.ruby-forum.com/t/imap-proxy/174187)

<div class="topic-metadata">

**Author:** [@Brian\_Henson](https://www.ruby-forum.com/u/Brian_Henson)\
**Replies:** 3\
**Last updated:** [August 22, 2009, 2:48pm UTC](https://www.ruby-forum.com/t/imap-proxy/174187 "2009-08-22T14:48:10Z")

</div>

Can someone give me an example of how to do an IMAP and POP3 proxy in nginx. What i need to do is send all requests for domain1.com to one server and all requests for domain2.com to another. I have read the examples…

---

## [Nginx.conf now lost access connection](https://www.ruby-forum.com/t/nginx-conf-now-lost-access-connection/174183)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 6\
**Last updated:** [August 22, 2009, 5:01am UTC](https://www.ruby-forum.com/t/nginx-conf-now-lost-access-connection/174183 "2009-08-22T05:01:36Z")

</div>

Hi. I am new to nginx. I use it for testing only - maybe a small live production later. Here are the config. Ubuntu 8.04 Nginx 0.5.33 PHP + MYSQL + CGI/FASTCGI Basically everything worked out very fine and smooth u…

---

## [Imap and pop proxy?](https://www.ruby-forum.com/t/imap-and-pop-proxy/197094)

<div class="topic-metadata">

**Author:** [@Brian\_Henson](https://www.ruby-forum.com/u/Brian_Henson)\
**Replies:** 0\
**Last updated:** [August 22, 2009, 3:07am UTC](https://www.ruby-forum.com/t/imap-and-pop-proxy/197094 "2009-08-22T03:07:32Z")

</div>

Can someone give me an example of how to do an IMAP and POP3 proxy in nginx. What i need to do is send all requests for domain1.com to one server and all requests for domain2.com to another. I have read the examples…

---

## [Location and access\_log off;](https://www.ruby-forum.com/t/location-and-access-log-off/174084)

<div class="topic-metadata">

**Author:** [@vilts](https://www.ruby-forum.com/u/vilts)\
**Replies:** 5\
**Last updated:** [August 21, 2009, 2:18pm UTC](https://www.ruby-forum.com/t/location-and-access-log-off/174084 "2009-08-21T14:18:55Z")

</div>

Hello, I tried to turn off static file logging using this: location ~\* .(css|js|gif|jpg|jpeg|ico)$ { access\_log off; } It turned the logging off, that part worked. But it also didn’t serve any of thes…

---

## [FastCGI problem](https://www.ruby-forum.com/t/fastcgi-problem/174155)

<div class="topic-metadata">

**Author:** [@Toni\_M](https://www.ruby-forum.com/u/Toni_M)\
**Replies:** 4\
**Last updated:** [August 21, 2009, 1:23pm UTC](https://www.ruby-forum.com/t/fastcgi-problem/174155 "2009-08-21T13:23:53Z")

</div>

Hi, trying to trackback to some, but not all, articles on a MovableType installation from another MovableType installation, I get this consistently with one entry, but not any other that I tried so far: fastcgi reque…

---

## [Improved memcached module](https://www.ruby-forum.com/t/improved-memcached-module/174143)

<div class="topic-metadata">

**Author:** [@spilgames](https://www.ruby-forum.com/u/spilgames)\
**Replies:** 9\
**Last updated:** [August 21, 2009, 1:04pm UTC](https://www.ruby-forum.com/t/improved-memcached-module/174143 "2009-08-21T13:04:10Z")

</div>

Hi, Attached is a patch which allows both custom headers and custom response codes to be stored in memcached and returned by the memcached module. The Nginx 0.6 version of this patch has been in production on a heavil…

---

## [Nginx doesn't cache as expected](https://www.ruby-forum.com/t/nginx-doesnt-cache-as-expected/174156)

<div class="topic-metadata">

**Author:** [@davide.damico](https://www.ruby-forum.com/u/davide.damico)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 12:38pm UTC](https://www.ruby-forum.com/t/nginx-doesnt-cache-as-expected/174156 "2009-08-21T12:38:14Z")

</div>

Hi, I’m using nginx as a reverse proxy and I’d like to locally cache files to serve them rather than pass the request to backend servers. I’m using FreeBSD 7.0 i386 and nginx-0.7.61\_1. I’m using this configuration blo…

---

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

<div class="topic-metadata">

**Author:** [@Evert\_S\_FM](https://www.ruby-forum.com/u/Evert_S_FM)\
**Replies:** 2\
**Last updated:** [August 20, 2009, 5:30pm UTC](https://www.ruby-forum.com/t/411-length-required-error/174049 "2009-08-20T17:30:17Z")

</div>

Hey guys, I’m the author of SabreDAV (Google Code Archive - Long-term storage for Google Code Project Hosting.) and today I got a bug report regarding Nginx. Finder will do a PUT request in some cases, without a Conte…

---

## [Configure error while configure](https://www.ruby-forum.com/t/configure-error-while-configure/174081)

<div class="topic-metadata">

**Author:** [@dawson](https://www.ruby-forum.com/u/dawson)\
**Replies:** 3\
**Last updated:** [August 20, 2009, 5:13pm UTC](https://www.ruby-forum.com/t/configure-error-while-configure/174081 "2009-08-20T17:13:19Z")

</div>

while i configure the nginx-0.7.39 , I found the error .what should i do ? I configure the other version of nginx , but the same error occur .Is there anyone could provide the useful information . Thank you! root@u1…

---

## [Annoucement Mailinglist?](https://www.ruby-forum.com/t/annoucement-mailinglist/174042)

<div class="topic-metadata">

**Author:** [@igelig](https://www.ruby-forum.com/u/igelig)\
**Replies:** 5\
**Last updated:** [August 20, 2009, 5:05pm UTC](https://www.ruby-forum.com/t/annoucement-mailinglist/174042 "2009-08-20T17:05:07Z")

</div>

Hi! Is there some kind of announcement mailing list? I want to stay up to date about new releases or security problems, but don’t want to get all regular mails on this list. Regards, Johannes

---

## [Is Nginx Upload Module support "Content-range"?](https://www.ruby-forum.com/t/is-nginx-upload-module-support-content-range/174047)

<div class="topic-metadata">

**Author:** [@z33](https://www.ruby-forum.com/u/z33)\
**Replies:** 1\
**Last updated:** [August 20, 2009, 10:46am UTC](https://www.ruby-forum.com/t/is-nginx-upload-module-support-content-range/174047 "2009-08-20T10:46:58Z")

</div>

Looks now, isn’t it? Posted at Nginx Forum:

---

## [Question about request\_body and redirect](https://www.ruby-forum.com/t/question-about-request-body-and-redirect/174011)

<div class="topic-metadata">

**Author:** [@quan\_nexthop](https://www.ruby-forum.com/u/quan_nexthop)\
**Replies:** 3\
**Last updated:** [August 19, 2009, 4:12pm UTC](https://www.ruby-forum.com/t/question-about-request-body-and-redirect/174011 "2009-08-19T16:12:23Z")

</div>

Hi all: I try to implemente a module based on NGINX, which will filter the content of request body. Now, I met a problem: I can not get the whole request body my code is as following: len = rb-\>buf-\>last - rb-\>bu…

---

## [Nginx as a caching reverse proxy to replace squid/varnish](https://www.ruby-forum.com/t/nginx-as-a-caching-reverse-proxy-to-replace-squid-varnish/173900)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [August 19, 2009, 2:51pm UTC](https://www.ruby-forum.com/t/nginx-as-a-caching-reverse-proxy-to-replace-squid-varnish/173900 "2009-08-19T14:51:01Z")

</div>

Hey guys the following is our current setup on the apps but we would like to add nginx as a reverse proxy cache much like squid or varnish is it possible to edit this config to enable that caching behavior or do i …

---

## [Problem with new Passenger Module and rewrite rules](https://www.ruby-forum.com/t/problem-with-new-passenger-module-and-rewrite-rules/166709)

<div class="topic-metadata">

**Author:** [@solars](https://www.ruby-forum.com/u/solars)\
**Replies:** 4\
**Last updated:** [August 18, 2009, 12:42pm UTC](https://www.ruby-forum.com/t/problem-with-new-passenger-module-and-rewrite-rules/166709 "2009-08-18T12:42:18Z")

</div>

Hi, I’ve got a problem, I’m trying to get the new nginx passenger module (phusion.nl) to work with some rewrite rules. The cache files for a multisite app (mephisto) are located in /cache/domain.tld/ I want to rewri…

---

## [Try\_files and proxy\_pass](https://www.ruby-forum.com/t/try-files-and-proxy-pass/173909)

<div class="topic-metadata">

**Author:** [@Walter\_Cruz](https://www.ruby-forum.com/u/Walter_Cruz)\
**Replies:** 3\
**Last updated:** [August 18, 2009, 7:30am UTC](https://www.ruby-forum.com/t/try-files-and-proxy-pass/173909 "2009-08-18T07:30:07Z")

</div>

Hi! I would like to use a setting like that: location / { try\_files $uri $uri/ @proxy; } location @proxy { proxy\_pass http://127.0.0.1:8089; } With nginx serving static content and apache serving dinamic content. …

---

## [Worker\_rlimit\_nofile os vs. master vs. workers](https://www.ruby-forum.com/t/worker-rlimit-nofile-os-vs-master-vs-workers/173841)

<div class="topic-metadata">

**Author:** [@bwinborg](https://www.ruby-forum.com/u/bwinborg)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 4:20pm UTC](https://www.ruby-forum.com/t/worker-rlimit-nofile-os-vs-master-vs-workers/173841 "2009-08-16T16:20:58Z")

</div>

Doing some tuning, and want to make sure I understand what the effects are of various parameters. As I understand, this is how many open files the os (linux) as a whole is currently set to handle. cat /proc/sys/fs/fi…

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

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