# Server

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

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

---

## [How do i delete mongrel temporary file](https://www.ruby-forum.com/t/how-do-i-delete-mongrel-temporary-file/195791)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 9:42am UTC](https://www.ruby-forum.com/t/how-do-i-delete-mongrel-temporary-file/195791 "2010-09-30T09:42:19Z")

</div>

Hii all, In my rails application am uploading some large file(1 Gb),and when go windows temp folder ,mongrel temporary files are gathered there,but i want to delete ,its eating disk space … Could anyone tell me how d…

---

## [Another error message](https://www.ruby-forum.com/t/another-error-message/195788)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 9:25am UTC](https://www.ruby-forum.com/t/another-error-message/195788 "2010-09-30T09:25:50Z")

</div>

Anyone care to define this for me: cache file “/data/nginx/e1/8d705dee12e9a7c91f9b0053364235e1.0045301114” is too small Possible solutions? Config settings? Results?

---

## [Unmanaged VPS Beginner: Setting up OS/Nginx/PHP/etc](https://www.ruby-forum.com/t/unmanaged-vps-beginner-setting-up-os-nginx-php-etc/195782)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [September 30, 2010, 6:35am UTC](https://www.ruby-forum.com/t/unmanaged-vps-beginner-setting-up-os-nginx-php-etc/195782 "2010-09-30T06:35:32Z")

</div>

I decided to go with an unmanaged VPS but I don’t understand the basics so I’m a little lost… right now my panel looks like this http://img291.imageshack.us/img291/8550/screenshot05c.jpg and I did install Debian 5 and…

---

## [Doubt about ssl\_verify\_client](https://www.ruby-forum.com/t/doubt-about-ssl-verify-client/195780)

<div class="topic-metadata">

**Author:** [@ariel](https://www.ruby-forum.com/u/ariel)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 1:03am UTC](https://www.ruby-forum.com/t/doubt-about-ssl-verify-client/195780 "2010-09-30T01:03:36Z")

</div>

Hi, I’m writing a Rails app and using nginx+passenger to serve it and I’m implementing “Client Certificate Authentication”. For that purpose I need to setup the server using the directive “ssl\_verify\_client” and \* “…

---

## [Force last-modified with SSI enabled?](https://www.ruby-forum.com/t/force-last-modified-with-ssi-enabled/195767)

<div class="topic-metadata">

**Author:** [@craayzie](https://www.ruby-forum.com/u/craayzie)\
**Replies:** 3\
**Last updated:** [September 29, 2010, 10:01pm UTC](https://www.ruby-forum.com/t/force-last-modified-with-ssi-enabled/195767 "2010-09-29T22:01:33Z")

</div>

Is there a way to get nginx to send a last-modified of the “master” object when SSI is enabled outside of the: add\_header Last-Modified “blah” directive? Open to any and all work arounds. Thanks in advance. Fima

---

## [Force last-modified with SSI?](https://www.ruby-forum.com/t/force-last-modified-with-ssi/195765)

<div class="topic-metadata">

**Author:** [@fleshins](https://www.ruby-forum.com/u/fleshins)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 8:21pm UTC](https://www.ruby-forum.com/t/force-last-modified-with-ssi/195765 "2010-09-29T20:21:25Z")

</div>

Is there a way to get nginx to send a last-modified response header on an object that has SSI enabled? Open to any and all work-arounds. Thanks in advance. Posted at Nginx Forum:

---

## [Fastcgi statistics at nginx](https://www.ruby-forum.com/t/fastcgi-statistics-at-nginx/195711)

<div class="topic-metadata">

**Author:** [@Flavio\_Torres](https://www.ruby-forum.com/u/Flavio_Torres)\
**Replies:** 1\
**Last updated:** [September 29, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/fastcgi-statistics-at-nginx/195711 "2010-09-29T16:40:07Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Please, is there a way to see how many active requests I have to fastcgi ? Something like that: fastcgi.active-requests: 0 fastcgi.backend.fcgi-php.0.connected: 10…

---

## [Fw: Re: How to configure Nginx as IMAP/POP3 reverse proxy - IBM Lotus Domino Server](https://www.ruby-forum.com/t/fw-re-how-to-configure-nginx-as-imap-pop3-reverse-proxy-ibm-lotus-domino-server/195727)

<div class="topic-metadata">

**Author:** [@Juliana\_T](https://www.ruby-forum.com/u/Juliana_T)\
**Replies:** 0\
**Last updated:** [September 29, 2010, 6:21am UTC](https://www.ruby-forum.com/t/fw-re-how-to-configure-nginx-as-imap-pop3-reverse-proxy-ibm-lotus-domino-server/195727 "2010-09-29T06:21:59Z")

</div>

Sorry, should be problem with SMTP and not IMAP — On Wed, 9/29/10, Juliana T. removed\_email\_address@domain.invalid wrote: From: Juliana T. removed\_email\_address@domain.invalid Subject: Re: How to configure Nginx as IM…

---

## [How to configure Nginx as IMAP/POP3 reverse proxy - IBM Lotus Domino Server](https://www.ruby-forum.com/t/how-to-configure-nginx-as-imap-pop3-reverse-proxy-ibm-lotus-domino-server/195599)

<div class="topic-metadata">

**Author:** [@Juliana\_T](https://www.ruby-forum.com/u/Juliana_T)\
**Replies:** 2\
**Last updated:** [September 29, 2010, 6:20am UTC](https://www.ruby-forum.com/t/how-to-configure-nginx-as-imap-pop3-reverse-proxy-ibm-lotus-domino-server/195599 "2010-09-29T06:20:48Z")

</div>

Hi all, I’m newbie with nginx. I have IBM Lotus Domino Server as an email server with IP Address 192.168.221.1 and Linux installed Nginx as IMAP/POP3 reverse proxy with IP Address 192.168.221.130 I’ve configured ng…

---

## [How I easily serve all files from a directory?](https://www.ruby-forum.com/t/how-i-easily-serve-all-files-from-a-directory/195718)

<div class="topic-metadata">

**Author:** [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Replies:** 1\
**Last updated:** [September 29, 2010, 12:49am UTC](https://www.ruby-forum.com/t/how-i-easily-serve-all-files-from-a-directory/195718 "2010-09-29T00:49:31Z")

</div>

Hello nginx people, is it easy to configure nginx so that it will serve html for a directory? I want the html to list all files in that directory. My directory would be like this: nginx/html/mydir/ And I would fil…

---

## [Nginx-0.8.52](https://www.ruby-forum.com/t/nginx-0-8-52/195688)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 6\
**Last updated:** [September 28, 2010, 11:49pm UTC](https://www.ruby-forum.com/t/nginx-0-8-52/195688 "2010-09-28T23:49:49Z")

</div>

Changes with nginx 0.8.52 28 Sep 2010 \*) Bugfix: nginx used SSL mode for a listen socket if any listen option was set; the bug had appeared in 0.8.51. – Igor S. http://sysoe…

---

## [Spaces in URI](https://www.ruby-forum.com/t/spaces-in-uri/190007)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 19\
**Last updated:** [September 28, 2010, 8:43pm UTC](https://www.ruby-forum.com/t/spaces-in-uri/190007 "2010-09-28T20:43:03Z")

</div>

On Fri, Jun 11, 2010 at 02:54:35AM -0400, Peter Portante wrote: switched our environment to front those Apache servers with a pair of Nginx or configuration parameter in Nginx that would make it more forgiving of Tha…

---

## [Redirect (almost) all subdomains to www?](https://www.ruby-forum.com/t/redirect-almost-all-subdomains-to-www/195703)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 2\
**Last updated:** [September 28, 2010, 3:49pm UTC](https://www.ruby-forum.com/t/redirect-almost-all-subdomains-to-www/195703 "2010-09-28T15:49:39Z")

</div>

I have two “server” directives. One has: server\_name www.example.com; The other has: server\_name admin.example.com; Both do what they should. However, right now any subdomain (besides “admin.example.com”) is the ex…

---

## [Nginx Windows version will be closed-source?](https://www.ruby-forum.com/t/nginx-windows-version-will-be-closed-source/167308)

<div class="topic-metadata">

**Author:** [@191919](https://www.ruby-forum.com/u/191919)\
**Replies:** 4\
**Last updated:** [September 28, 2010, 10:02am UTC](https://www.ruby-forum.com/t/nginx-windows-version-will-be-closed-source/167308 "2010-09-28T10:02:57Z")

</div>

Will the nginx Windows version be closed-source? Regards, 191919

---

## [0.8.x branch is stable](https://www.ruby-forum.com/t/0-8-x-branch-is-stable/195648)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 4\
**Last updated:** [September 28, 2010, 9:09am UTC](https://www.ruby-forum.com/t/0-8-x-branch-is-stable/195648 "2010-09-28T09:09:41Z")

</div>

Now the 0.8.x branch becomes a stable branch. The new features have been appeared during 0.8 development: \* named regular expression captures, \* file AIO in FreeBSD and Linux, \* SSL CRL, \* SCGI and uwsgi modules. – I…

---

## [Error message confirmation](https://www.ruby-forum.com/t/error-message-confirmation/195683)

<div class="topic-metadata">

**Author:** [@mat\_h](https://www.ruby-forum.com/u/mat_h)\
**Replies:** 2\
**Last updated:** [September 28, 2010, 8:35am UTC](https://www.ruby-forum.com/t/error-message-confirmation/195683 "2010-09-28T08:35:45Z")

</div>

Is this correct. The error message: upstream prematurely closed connection while reading response header from upstream, client means that the fastcgi server process closed the connection before it was supposed to (poi…

---

## [Simple threading question](https://www.ruby-forum.com/t/simple-threading-question/195624)

<div class="topic-metadata">

**Author:** [@ankur](https://www.ruby-forum.com/u/ankur)\
**Replies:** 7\
**Last updated:** [September 27, 2010, 5:50pm UTC](https://www.ruby-forum.com/t/simple-threading-question/195624 "2010-09-27T17:50:12Z")

</div>

Hi, I have a bunch of nginx and php-fpm worker threads. I am running a very simple test with a script doing: \<? sleep(20); ?\>. I notice that if I make two requests at the same time (from the same IP address), they …

---

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

<div class="topic-metadata">

**Author:** [@bvidinli](https://www.ruby-forum.com/u/bvidinli)\
**Replies:** 2\
**Last updated:** [September 27, 2010, 5:11pm UTC](https://www.ruby-forum.com/t/nginx-rewrite-help/195647 "2010-09-27T17:11:33Z")

</div>

Hi, I have a forum site, (with multi-forum) this is working: http://destek.10tl.net/forumdisplay.php?fid=40 but this is not working: http://destek.10tl.net/Forum-40.html my nginx conf related part is: location…

---

## [Forward proxy vs Reverse proxy and Proxy Cache features](https://www.ruby-forum.com/t/forward-proxy-vs-reverse-proxy-and-proxy-cache-features/195606)

<div class="topic-metadata">

**Author:** [@cachenewbie](https://www.ruby-forum.com/u/cachenewbie)\
**Replies:** 2\
**Last updated:** [September 27, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/forward-proxy-vs-reverse-proxy-and-proxy-cache-features/195606 "2010-09-27T16:27:02Z")

</div>

All - I’ve read through most of the posts before posting this but couldn’t find answer to the specific question I have. I’ve been looking at nginx, squid, varnish and Apache Traffic server to determine the best one …

---

## [Nginx's command output goes only to stderr?](https://www.ruby-forum.com/t/nginxs-command-output-goes-only-to-stderr/195644)

<div class="topic-metadata">

**Author:** [@Saqib\_Rasul](https://www.ruby-forum.com/u/Saqib_Rasul)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 3:19pm UTC](https://www.ruby-forum.com/t/nginxs-command-output-goes-only-to-stderr/195644 "2010-09-27T15:19:06Z")

</div>

Hi, while writing some scripts to auto-start nginx, i noticed that the logs of starting nginx or doing config file check go only to stderr. is this meant to be like this? I was expecting stderr to only contain error …

---

## [Problem when downloading files with xsendfile](https://www.ruby-forum.com/t/problem-when-downloading-files-with-xsendfile/195641)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 2:51pm UTC](https://www.ruby-forum.com/t/problem-when-downloading-files-with-xsendfile/195641 "2010-09-27T14:51:40Z")

</div>

Hii All, i loaded mod\_xsendfile.so in apche , i added few line in httpd.conf files LoadModule xsendfile\_module modules/mod\_xsendfile.so XSendFile on XSendFileAllowAbove on \<VirtualHost \* localhost:80\> ServerName sr…

---

## [Migrating from Apache to NGINX, google minify stopped working](https://www.ruby-forum.com/t/migrating-from-apache-to-nginx-google-minify-stopped-working/195636)

<div class="topic-metadata">

**Author:** [@zeeshan\_malik](https://www.ruby-forum.com/u/zeeshan_malik)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 1:44pm UTC](https://www.ruby-forum.com/t/migrating-from-apache-to-nginx-google-minify-stopped-working/195636 "2010-09-27T13:44:12Z")

</div>

Hello, I am using google minify(GitHub - mrclay/minify: Combines. minifies, and serves CSS or Javascript files) to minify js and css files. I am migrating from apache to nginx. After migration my js and css urls(e.…

---

## [Why can't I use the "ssl" modified on more than one listen statement?](https://www.ruby-forum.com/t/why-cant-i-use-the-ssl-modified-on-more-than-one-listen-statement/195317)

<div class="topic-metadata">

**Author:** [@portante](https://www.ruby-forum.com/u/portante)\
**Replies:** 5\
**Last updated:** [September 27, 2010, 12:07pm UTC](https://www.ruby-forum.com/t/why-cant-i-use-the-ssl-modified-on-more-than-one-listen-statement/195317 "2010-09-27T12:07:38Z")

</div>

Hi, The following is an example of how we would like to run our configuration. ssl\_certificate common.crt; ssl\_certificate\_key common.key; server { listen 80; server\_name www.nginx.org; ...…

---

## [Sendfile and mongrel](https://www.ruby-forum.com/t/sendfile-and-mongrel/122863)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 10\
**Last updated:** [September 27, 2010, 10:14am UTC](https://www.ruby-forum.com/t/sendfile-and-mongrel/122863 "2010-09-27T10:14:34Z")

</div>

forgive me if this has been resolved already… I have an app that is using sendfile to return large files to customers. We can’t use regular Apache to handle this static content since the files are what the customers a…

---

## [Is there any way to resend same request to other server?](https://www.ruby-forum.com/t/is-there-any-way-to-resend-same-request-to-other-server/195620)

<div class="topic-metadata">

**Author:** [@JeehyunLee](https://www.ruby-forum.com/u/JeehyunLee)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 4:13am UTC](https://www.ruby-forum.com/t/is-there-any-way-to-resend-same-request-to-other-server/195620 "2010-09-27T04:13:31Z")

</div>

Hello. I have a server A and B. all of the request is comming to server A and I need a same reqest going to server B I want to do this whit nginx or apache moudle or any proxy moudle (if possible) If there is no mo…

---

## [ReadmeName and HeaderName functionality for directory listings](https://www.ruby-forum.com/t/readmename-and-headername-functionality-for-directory-listings/195607)

<div class="topic-metadata">

**Author:** [@Jools\_W](https://www.ruby-forum.com/u/Jools_W)\
**Replies:** 0\
**Last updated:** [September 26, 2010, 7:47pm UTC](https://www.ruby-forum.com/t/readmename-and-headername-functionality-for-directory-listings/195607 "2010-09-26T19:47:11Z")

</div>

Hi, does nginx have anything like the ReadmeName/HeaderName functionality of apache? If not, would it be a considered feature ? Would be handy to display some html before/after a directory listing. Best Regards Jool…

---

## [Problem with rewrite last giving a HTTP 301?](https://www.ruby-forum.com/t/problem-with-rewrite-last-giving-a-http-301/195346)

<div class="topic-metadata">

**Author:** [@toto2008](https://www.ruby-forum.com/u/toto2008)\
**Replies:** 3\
**Last updated:** [September 26, 2010, 5:06pm UTC](https://www.ruby-forum.com/t/problem-with-rewrite-last-giving-a-http-301/195346 "2010-09-26T17:06:12Z")

</div>

Hello, I’m having a weird problem with my website. In my nginx conf, I have this rule: rewrite ^/robots.txt$ /cms/robotstxt.php last; and a location to handle PHP files: location ~ .php$ { fastcgi\_pass 127.0.0.1:…

---

## [Cannot load php page, please help](https://www.ruby-forum.com/t/cannot-load-php-page-please-help/195588)

<div class="topic-metadata">

**Author:** [@feelexit](https://www.ruby-forum.com/u/feelexit)\
**Replies:** 5\
**Last updated:** [September 26, 2010, 3:27am UTC](https://www.ruby-forum.com/t/cannot-load-php-page-please-help/195588 "2010-09-26T03:27:27Z")

</div>

I have nginx, php 5 and php5-fpm installed on ubuntu 10.04 server edition. After I started the nginx server, I have no problem loading the regular html pages. but all .php pages cannot be viewed, firefox just pop out …

---

## [Problem with PCRE matching, utf-8, Greek, rewrite](https://www.ruby-forum.com/t/problem-with-pcre-matching-utf-8-greek-rewrite/190962)

<div class="topic-metadata">

**Author:** [@tmanolat](https://www.ruby-forum.com/u/tmanolat)\
**Replies:** 9\
**Last updated:** [September 25, 2010, 4:48pm UTC](https://www.ruby-forum.com/t/problem-with-pcre-matching-utf-8-greek-rewrite/190962 "2010-09-25T16:48:16Z")

</div>

Dear all, I try to implement some rewrites using regular expressions and my URIs will contain Greek characters. Trials of the REs are going ok when tested with pcretest: \[root@localhost ~\]# pcretest PCRE version 8.10…

---

## [Ngx\_cache\_purge: Anyway to turn on debug logging?](https://www.ruby-forum.com/t/ngx-cache-purge-anyway-to-turn-on-debug-logging/195565)

<div class="topic-metadata">

**Author:** [@sureshvv](https://www.ruby-forum.com/u/sureshvv)\
**Replies:** 0\
**Last updated:** [September 25, 2010, 10:06am UTC](https://www.ruby-forum.com/t/ngx-cache-purge-anyway-to-turn-on-debug-logging/195565 "2010-09-25T10:06:10Z")

</div>

Cache purging does not seem to work and I would like to debug this Posted at Nginx Forum:

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

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