# Server

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

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

---

## [X\_send\_file sends a 1 byte file](https://www.ruby-forum.com/t/x-send-file-sends-a-1-byte-file/140660)

<div class="topic-metadata">

**Author:** [@glsmyth](https://www.ruby-forum.com/u/glsmyth)\
**Replies:** 6\
**Last updated:** [June 24, 2008, 12:38pm UTC](https://www.ruby-forum.com/t/x-send-file-sends-a-1-byte-file/140660 "2008-06-24T12:38:55Z")

</div>

Hello, sorry if creating a dupe… I’m trying to download files to authenticated users in my app. I’ve set up x\_send\_file. All seems to be correct to me, however when I try to download any file, I get a 1-byte long fil…

---

## [Nginx restarting/log rotation](https://www.ruby-forum.com/t/nginx-restarting-log-rotation/141284)

<div class="topic-metadata">

**Author:** [@alanwatts](https://www.ruby-forum.com/u/alanwatts)\
**Replies:** 4\
**Last updated:** [June 24, 2008, 10:48am UTC](https://www.ruby-forum.com/t/nginx-restarting-log-rotation/141284 "2008-06-24T10:48:10Z")

</div>

Morning all. what is the correct procedure for asking nginx to reload the configuration files? and on that note, what is the procedure for restarting nginx to give me a chance to rotate the log files once a day? so…

---

## [Load Balance Advice](https://www.ruby-forum.com/t/load-balance-advice/141273)

<div class="topic-metadata">

**Author:** [@alanwatts](https://www.ruby-forum.com/u/alanwatts)\
**Replies:** 5\
**Last updated:** [June 24, 2008, 9:18am UTC](https://www.ruby-forum.com/t/load-balance-advice/141273 "2008-06-24T09:18:27Z")

</div>

All, I have been using lighttpd for a long time now, sitting in front of a series of back end servers. I have been told to check out nginx because lighttpd is now starting to consume near on 100% of the CPU. I have …

---

## [400 errors silence by loadbalancer](https://www.ruby-forum.com/t/400-errors-silence-by-loadbalancer/141267)

<div class="topic-metadata">

**Author:** [@Aleksandar\_L](https://www.ruby-forum.com/u/Aleksandar_L)\
**Replies:** 0\
**Last updated:** [June 24, 2008, 7:17am UTC](https://www.ruby-forum.com/t/400-errors-silence-by-loadbalancer/141267 "2008-06-24T07:17:37Z")

</div>

Hi Igor, due the high load of the mails in your vacation I resend this, please can you help, many thanks :wink: This workaround doesn’t work anymore http://wiki.codemongers.com/HWLoadbalancerCheckErrors please can y…

---

## [Request\_time much slower than upstream\_response\_time](https://www.ruby-forum.com/t/request-time-much-slower-than-upstream-response-time/141073)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 9\
**Last updated:** [June 24, 2008, 3:05am UTC](https://www.ruby-forum.com/t/request-time-much-slower-than-upstream-response-time/141073 "2008-06-24T03:05:22Z")

</div>

I’ve noticed a periodic performance issue with our nginx 0.6.3.1 box running on Fedora core 8. We are primarily running nginx as the front end load balancer for a web service we run, that serves mostly identical reque…

---

## [Patched ruby seems to break mongrel?](https://www.ruby-forum.com/t/patched-ruby-seems-to-break-mongrel/141205)

<div class="topic-metadata">

**Author:** [@David\_Shettler](https://www.ruby-forum.com/u/David_Shettler)\
**Replies:** 5\
**Last updated:** [June 23, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/patched-ruby-seems-to-break-mongrel/141205 "2008-06-23T21:39:12Z")

</div>

Hey all, patched ruby on my development and production environments to 1.8.6-p230 to address these new ruby vulnerabilities: Arbitrary code execution vulnerabilities mongrel began segfaulting after restarting. Then …

---

## [Buffers, PHP-FastCGI and nginx](https://www.ruby-forum.com/t/buffers-php-fastcgi-and-nginx/141213)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 1\
**Last updated:** [June 23, 2008, 9:37pm UTC](https://www.ruby-forum.com/t/buffers-php-fastcgi-and-nginx/141213 "2008-06-23T21:37:26Z")

</div>

Am I correct in assuming I’ll get the best performance from my nginx+php setup if I: set PHP’s output\_buffering to 4096 set PHP’s zlib.output\_compression to On set nginx’s fastcgi\_buffers to the same number of php ins…

---

## [Nginx-0.7.3](https://www.ruby-forum.com/t/nginx-0-7-3/141191)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [June 23, 2008, 1:11pm UTC](https://www.ruby-forum.com/t/nginx-0-7-3/141191 "2008-06-23T13:11:14Z")

</div>

Changes with nginx 0.7.3 23 Jun 2008 \*) Change: the "rss" extension MIME type has been changed to "application/rss+xml". \*) Change: now the "gzip\_vary" directive turned on is…

---

## [Nginx t-shirts](https://www.ruby-forum.com/t/nginx-t-shirts/140639)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 18\
**Last updated:** [June 22, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/nginx-t-shirts/140639 "2008-06-22T18:41:05Z")

</div>

Sorry if this gets sent twice, the first time I failed to scale one of the images down and didn’t notice it was 500K until I’d sent it. Hopefully it just got dropped :stuck\_out\_tongue: Anyway… A friend of mine is sta…

---

## [Streaming flv files](https://www.ruby-forum.com/t/streaming-flv-files/140955)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 12\
**Last updated:** [June 21, 2008, 4:54am UTC](https://www.ruby-forum.com/t/streaming-flv-files/140955 "2008-06-21T04:54:45Z")

</div>

Hi, I am using the following flash player and Nginx 0.6.3: with his example video in the banner. Everything works fine when I don’t use flv\_module, but as soom as I activate it, the video doesn’t play anymore. Wher…

---

## [Pipelining on by default?](https://www.ruby-forum.com/t/pipelining-on-by-default/141010)

<div class="topic-metadata">

**Author:** [@Calomel](https://www.ruby-forum.com/u/Calomel)\
**Replies:** 1\
**Last updated:** [June 20, 2008, 10:02pm UTC](https://www.ruby-forum.com/t/pipelining-on-by-default/141010 "2008-06-20T22:02:00Z")

</div>

Can anyone confirm or deny if the “pipeline” option is enabled by default in Nginx 0.7.2 ? HTTP pipelining HTTP pipelining - Wikipedia During testing we enabled pipelining in Firefox (about:config search for pipelini…

---

## [Ssl/non-ssl](https://www.ruby-forum.com/t/ssl-non-ssl/140958)

<div class="topic-metadata">

**Author:** [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Replies:** 6\
**Last updated:** [June 20, 2008, 7:00pm UTC](https://www.ruby-forum.com/t/ssl-non-ssl/140958 "2008-06-20T19:00:58Z")

</div>

I have two php sites running, site1 under ssl and site2 is not. site1 redirects all port 80 traffic to port 443. i have noticed however if i try to access site2 using https, it will serve site1… is there a way to red…

---

## [Some problem with SSL on 0.6.31, same config works on 0.5.35](https://www.ruby-forum.com/t/some-problem-with-ssl-on-0-6-31-same-config-works-on-0-5-35/140799)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 6\
**Last updated:** [June 19, 2008, 8:33pm UTC](https://www.ruby-forum.com/t/some-problem-with-ssl-on-0-6-31-same-config-works-on-0-5-35/140799 "2008-06-19T20:33:30Z")

</div>

SSL times out or gives blank page… What has changed from 0.5.35 to 0.6.31 for ssl support? Log file shows: 2008/06/18 09:24:04 \[error\] 21382#0: \*33 upstream timed out (110: Connection timed out) while reading upstrea…

---

## [Log file timestamp](https://www.ruby-forum.com/t/log-file-timestamp/140811)

<div class="topic-metadata">

**Author:** [@J\_Davis](https://www.ruby-forum.com/u/J_Davis)\
**Replies:** 11\
**Last updated:** [June 19, 2008, 6:46pm UTC](https://www.ruby-forum.com/t/log-file-timestamp/140811 "2008-06-19T18:46:44Z")

</div>

Hello, I’m trying to figure out why my nginx access log timestamps are an hour behind the actual time. I’ve confirmed that the “date” and “hwclock” commands both return the proper values on the system and that the t…

---

## [Is this possible](https://www.ruby-forum.com/t/is-this-possible/140907)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [June 19, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/is-this-possible/140907 "2008-06-19T18:35:32Z")

</div>

Hey Guys, Was wondering if anyone knows of possible way of having nginx sit in front and server up static requests for images and videos but everything else proxy to apache. would this syntax work put the static fi…

---

## [Cookie information in log file](https://www.ruby-forum.com/t/cookie-information-in-log-file/140862)

<div class="topic-metadata">

**Author:** [@Sebastian\_Geib](https://www.ruby-forum.com/u/Sebastian_Geib)\
**Replies:** 3\
**Last updated:** [June 19, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/cookie-information-in-log-file/140862 "2008-06-19T17:30:53Z")

</div>

Hi everyone, Hopefully someone here can help me with an issue I am currently facing regarding logging in nginx. We have a customer who uses Google Urchin, the commercial version of Google analytics. This tracker need…

---

## [Http-\>https redirection on the same port](https://www.ruby-forum.com/t/http-https-redirection-on-the-same-port/140701)

<div class="topic-metadata">

**Author:** [@Michael\_Nachbaur](https://www.ruby-forum.com/u/Michael_Nachbaur)\
**Replies:** 5\
**Last updated:** [June 18, 2008, 11:05pm UTC](https://www.ruby-forum.com/t/http-https-redirection-on-the-same-port/140701 "2008-06-18T23:05:31Z")

</div>

Hi, I’m currently migrating from Apache to lighttpd, but ran into a blocker that I can’t seem to find my way around. So I’m looking into using nginx instead, but I wanted to ask if my blocker exists here as well. I …

---

## [PHP/FCGI balancing](https://www.ruby-forum.com/t/php-fcgi-balancing/140699)

<div class="topic-metadata">

**Author:** [@igorclark](https://www.ruby-forum.com/u/igorclark)\
**Replies:** 7\
**Last updated:** [June 18, 2008, 1:09pm UTC](https://www.ruby-forum.com/t/php-fcgi-balancing/140699 "2008-06-18T13:09:01Z")

</div>

Hi there, two related questions, one quickie, one more involved :slight\_smile: Is it possible to specify weighting between upstream FastCGI servers? If not in nginx config, then using some clever scheme? Your thou…

---

## [Large file upload issues (\>10MB)](https://www.ruby-forum.com/t/large-file-upload-issues-10mb/140267)

<div class="topic-metadata">

**Author:** [@iDEV\_d.o.o](https://www.ruby-forum.com/u/iDEV_d.o.o)\
**Replies:** 7\
**Last updated:** [June 18, 2008, 3:29am UTC](https://www.ruby-forum.com/t/large-file-upload-issues-10mb/140267 "2008-06-18T03:29:43Z")

</div>

Hello, we are having trouble with “large” file uploads… The issues occour when uploading files larger than 10MB. The uploading takes place, but when the uploading is complete I get the message: The page you are loo…

---

## [Dual load balancer (one failsafe)?](https://www.ruby-forum.com/t/dual-load-balancer-one-failsafe/140030)

<div class="topic-metadata">

**Author:** [@teck](https://www.ruby-forum.com/u/teck)\
**Replies:** 16\
**Last updated:** [June 17, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/dual-load-balancer-one-failsafe/140030 "2008-06-17T23:54:38Z")

</div>

Hi all, Did anyone setup an nginx dual load balancer, one being set as failsafe? If possible, please post your configuration example. I plan to use nginx as load balancer for 3 servers, with php-fpm installed on eac…

---

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

<div class="topic-metadata">

**Author:** [@atmos](https://www.ruby-forum.com/u/atmos)\
**Replies:** 0\
**Last updated:** [June 17, 2008, 11:38pm UTC](https://www.ruby-forum.com/t/rewrite-debug-logging/140726 "2008-06-17T23:38:11Z")

</div>

Hey, Is there a way to get the rewrite compilation output logged to the error or access logs like the stuff at the bottom of this page ? http://wiki.codemongers.com/NginxHttpRewriteModule?highlight=(rewrite)

---

## [Much iowait - how to reduce?](https://www.ruby-forum.com/t/much-iowait-how-to-reduce/140623)

<div class="topic-metadata">

**Author:** [@Edo\_Frederix](https://www.ruby-forum.com/u/Edo_Frederix)\
**Replies:** 7\
**Last updated:** [June 17, 2008, 10:34pm UTC](https://www.ruby-forum.com/t/much-iowait-how-to-reduce/140623 "2008-06-17T22:34:21Z")

</div>

I am running nginx/0.7.1 on my debian (2.6.24.3 kernel) system. You can see my nginx.conf here: http://pastebin.com/m63c18e1 My system has much iowait: http://i27.tinypic.com/288crwm.jpg. This is due to some disk acti…

---

## [Godaddy chained certs issue](https://www.ruby-forum.com/t/godaddy-chained-certs-issue/140633)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 4\
**Last updated:** [June 17, 2008, 10:20pm UTC](https://www.ruby-forum.com/t/godaddy-chained-certs-issue/140633 "2008-06-17T22:20:42Z")

</div>

I’m having an issue getting a Godaddy chained cert working. It works fine under Apache. Apache config: SSLCertificateFile /etc/certs/domain.com.crt SSLCertificateKeyFile /etc/certs/domain.com.key SSLCertificateChai…

---

## [Heartbeat nginx startup script?](https://www.ruby-forum.com/t/heartbeat-nginx-startup-script/140709)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 1\
**Last updated:** [June 17, 2008, 9:11pm UTC](https://www.ruby-forum.com/t/heartbeat-nginx-startup-script/140709 "2008-06-17T21:11:04Z")

</div>

Hey guys As I read lots of you are using heartbeat with nginx for failover purposes. I’m currently setting up a similar environment. Does anyone, by chance, already have a startup/stop/monitoring script for nginx fo…

---

## [Implementing SNI SSL?](https://www.ruby-forum.com/t/implementing-sni-ssl/140664)

<div class="topic-metadata">

**Author:** [@ewildgoose](https://www.ruby-forum.com/u/ewildgoose)\
**Replies:** 3\
**Last updated:** [June 17, 2008, 11:15am UTC](https://www.ruby-forum.com/t/implementing-sni-ssl/140664 "2008-06-17T11:15:29Z")

</div>

Hi, to recap on a previous thread - is nginx currently able to handle SNI based ssl virtual hosts (assuming latest 0.98 openssl)? My host only allows a small number of IPs (8) and I have a bunch of currently unencrypt…

---

## [Multiple Maintenance Pages](https://www.ruby-forum.com/t/multiple-maintenance-pages/140645)

<div class="topic-metadata">

**Author:** [@Davy\_C](https://www.ruby-forum.com/u/Davy_C)\
**Replies:** 0\
**Last updated:** [June 17, 2008, 2:48am UTC](https://www.ruby-forum.com/t/multiple-maintenance-pages/140645 "2008-06-17T02:48:22Z")

</div>

I’ve looked around for this but haven’t come across the answer. I am wondering if it is possible to have a maintenance page be displayed for one subdirectory but not the other. I have 2 apps on same machine with a r…

---

## [Is there a better way to block spamers IP's than this?](https://www.ruby-forum.com/t/is-there-a-better-way-to-block-spamers-ips-than-this/140595)

<div class="topic-metadata">

**Author:** [@Wayne\_Seguin](https://www.ruby-forum.com/u/Wayne_Seguin)\
**Replies:** 4\
**Last updated:** [June 17, 2008, 1:37am UTC](https://www.ruby-forum.com/t/is-there-a-better-way-to-block-spamers-ips-than-this/140595 "2008-06-17T01:37:51Z")

</div>

Igor, Thank you very much for your response. I just realized I did not email the list for this, so I’m doing this now. ~Wayne

---

## [Issue with Virtual Hosting with FastCGI](https://www.ruby-forum.com/t/issue-with-virtual-hosting-with-fastcgi/140631)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [June 17, 2008, 1:17am UTC](https://www.ruby-forum.com/t/issue-with-virtual-hosting-with-fastcgi/140631 "2008-06-17T01:17:23Z")

</div>

I’ve been trying to setup virtual hosting for few blog sites using the wordpress clean urls and fastcgi. The 1st vhost comes up but when i call the other address it goes to the 1st vhost so not sure if its syntax issu…

---

## [Mongrel Access log?](https://www.ruby-forum.com/t/mongrel-access-log/140617)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 0\
**Last updated:** [June 16, 2008, 8:58pm UTC](https://www.ruby-forum.com/t/mongrel-access-log/140617 "2008-06-16T20:58:49Z")

</div>

I see the module RequestLog::Access in the API but how do I use it/ turn on the log to see access log for mongrel? can someone help me out with it? Thanks Emmanuel

---

## [PHP init script to go with nginx?](https://www.ruby-forum.com/t/php-init-script-to-go-with-nginx/140365)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 24\
**Last updated:** [June 16, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/php-init-script-to-go-with-nginx/140365 "2008-06-16T20:04:28Z")

</div>

Hi all I’m running PHP5 & nginx on a number of servers now, and I’m really happy with everything… except one item which is starting to bug me. Basically, on all the servers I run PHP5 by issuing the following command…

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

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