# Server

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

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

---

## [Nginx download resume is not working plzzz help](https://www.ruby-forum.com/t/nginx-download-resume-is-not-working-plzzz-help/212188)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 25, 2011, 11:50am UTC](https://www.ruby-forum.com/t/nginx-download-resume-is-not-working-plzzz-help/212188 "2011-09-25T11:50:48Z")

</div>

hello guys… hope you all are doing well download resume for any file is not working here is nginx configuration ########################################################## user www www; worker\_processes 1; error\_l…

---

## [$http\_HEADER](https://www.ruby-forum.com/t/http-header/212187)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 25, 2011, 3:39am UTC](https://www.ruby-forum.com/t/http-header/212187 "2011-09-25T03:39:05Z")

</div>

Does the $http\_HEADER have custom headers? example X-Auth-Token=0123456789 does $http\_x\_auth\_token is it defined and have a value?

---

## [CSS file in Facebook app being served up as text/html](https://www.ruby-forum.com/t/css-file-in-facebook-app-being-served-up-as-text-html/212147)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 23, 2011, 9:12pm UTC](https://www.ruby-forum.com/t/css-file-in-facebook-app-being-served-up-as-text-html/212147 "2011-09-23T21:12:40Z")

</div>

I’m hosting a Facebook canvas app on my server and a CSS file is not getting loaded because it’s apparently being served up as text/html and not text/css. I have no problems with the css files on my web site hosted on…

---

## [Mp4 module](https://www.ruby-forum.com/t/mp4-module/211638)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 15\
**Last updated:** [September 23, 2011, 5:23pm UTC](https://www.ruby-forum.com/t/mp4-module/211638 "2011-09-23T17:23:38Z")

</div>

I’ve commit ngx\_http\_mp4\_module in trunk branch. The patch for 1.0 and last 0.8 is also available: http://nginx.org/patches/patch.mp4.txt The module was tested against JW Player. The module is not built by default, i…

---

## [$server\_name in error\_log logfile name](https://www.ruby-forum.com/t/server-name-in-error-log-logfile-name/212071)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [September 23, 2011, 12:53pm UTC](https://www.ruby-forum.com/t/server-name-in-error-log-logfile-name/212071 "2011-09-23T12:53:37Z")

</div>

I’m currently trying to make a template for future virtual hosts. To minimize the amount of editing required i am using $server\_name in some parts of the template. For example: server\_name example.com access\_log /v…

---

## [Ngx\_http\_redis-0.3.5 released](https://www.ruby-forum.com/t/ngx-http-redis-0-3-5-released/212149)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 23, 2011, 10:32am UTC](https://www.ruby-forum.com/t/ngx-http-redis-0-3-5-released/212149 "2011-09-23T10:32:01Z")

</div>

ngx\_http\_redis module version 0.3.5 released, available for immediate download at http://people.freebsd.org/~osa/ngx\_http\_redis-0.3.5.tar.gz SHA256 (ngx\_http\_redis-0.3.5.tar.gz) = 5398805bbc790b8ae5ddb5079cf726df63c8c…

---

## [Accept all server\_name's except empty](https://www.ruby-forum.com/t/accept-all-server-names-except-empty/212148)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 23, 2011, 9:48am UTC](https://www.ruby-forum.com/t/accept-all-server-names-except-empty/212148 "2011-09-23T09:48:46Z")

</div>

Dear all, How can I set up my nginx configuration file so that it will accept all request; however it will deny if “host” header is not added? Also currently I am logging bytes\_send per “host” and then take sum of th…

---

## [Nginx imported into OpenBSD base](https://www.ruby-forum.com/t/nginx-imported-into-openbsd-base/212141)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 23, 2011, 1:55am UTC](https://www.ruby-forum.com/t/nginx-imported-into-openbsd-base/212141 "2011-09-23T01:55:59Z")

</div>

Hi all, You guys will get that chroot stuff and the httpd man page due to the hard work of OpenBSD guys… Eventually it will replace Apache-1.3 in base. It will be mutually beneficial relationship. thanks!!!

---

## [SSL\_write() failed - v1.0.4](https://www.ruby-forum.com/t/ssl-write-failed-v1-0-4/212137)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 23, 2011, 1:27am UTC](https://www.ruby-forum.com/t/ssl-write-failed-v1-0-4/212137 "2011-09-23T01:27:32Z")

</div>

Hello, I am getting the following in my error.log file: 2011/09/22 14:09:19 \[crit\] 29589#0: \*27891 SSL\_write() failed (SSL:) while sending to client, client: 187.32.96.60, server: innovationgames.com, request: “GET …

---

## [Serving stale items from cache](https://www.ruby-forum.com/t/serving-stale-items-from-cache/211315)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 22, 2011, 11:10pm UTC](https://www.ruby-forum.com/t/serving-stale-items-from-cache/211315 "2011-09-22T23:10:05Z")

</div>

I have a web application where the objects are expensive to generate, yet each individual object is accessed infrequently (a few times a week). The dataset in total is about 24 GB. Can Nginx be configured to cache th…

---

## [Php-fastcgi always exits resulting in 502 bad gateway](https://www.ruby-forum.com/t/php-fastcgi-always-exits-resulting-in-502-bad-gateway/212110)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 13\
**Last updated:** [September 22, 2011, 11:03pm UTC](https://www.ruby-forum.com/t/php-fastcgi-always-exits-resulting-in-502-bad-gateway/212110 "2011-09-22T23:03:55Z")

</div>

Hello everyone, I’m using nginx since some days and I got a little trouble. It seems that after some while of working fine nginx exits the fastcgi-daemon and whenever I try to call a php site then, it shows me 502 Bad…

---

## [New MP4 Module and proxy\_cache](https://www.ruby-forum.com/t/new-mp4-module-and-proxy-cache/212127)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 22, 2011, 8:23pm UTC](https://www.ruby-forum.com/t/new-mp4-module-and-proxy-cache/212127 "2011-09-22T20:23:42Z")

</div>

Hello, I test the new mp4 module, but its dont work with proxy\_cache. There is any way to make its works with proxy\_cache? Thanks all Sky Posted at Nginx Forum:

---

## [How to avoid 404 for images in access log?](https://www.ruby-forum.com/t/how-to-avoid-404-for-images-in-access-log/212123)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [September 22, 2011, 6:54pm UTC](https://www.ruby-forum.com/t/how-to-avoid-404-for-images-in-access-log/212123 "2011-09-22T18:54:36Z")

</div>

My access log is full of 404 logs for images not found; thus, it is difficult to find real 200 successful visits. The lines include … GET /css/img/calendar.png HTTP/1.1" 404 31 "http://mydomain.com.page.html … Poste…

---

## [Config help needed](https://www.ruby-forum.com/t/config-help-needed/212117)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 22, 2011, 6:34pm UTC](https://www.ruby-forum.com/t/config-help-needed/212117 "2011-09-22T18:34:12Z")

</div>

Hi All, My site is wordpress, and configured as follows. Statements for KindleMonster.com virtual server server { listen 80; # server\_name kindlemonster.com www.kindlemonster.com; root /var/www/kindlemonster.co…

---

## [Problem with MediaWiki File page](https://www.ruby-forum.com/t/problem-with-mediawiki-file-page/212087)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 22, 2011, 3:45pm UTC](https://www.ruby-forum.com/t/problem-with-mediawiki-file-page/212087 "2011-09-22T15:45:50Z")

</div>

HI, I have following nginx configuration for a MediaWiki based site server { listen 174.36.130.243:80; server\_name webhostingneeds.com www.webhostingneeds.com; location ~\* \\.(js|css|rdf|xml|ico|txt|gif|jpg|png|…

---

## [Ssl redirect issue](https://www.ruby-forum.com/t/ssl-redirect-issue/212106)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 22, 2011, 2:42pm UTC](https://www.ruby-forum.com/t/ssl-redirect-issue/212106 "2011-09-22T14:42:04Z")

</div>

Hi, I have an ssl nginx setup which was working fine with one server { ssl on }. However I have legacy ssl server\_names that I would like to have a ‘catch all’ for that should be redirected back to the ‘main’ ssl se…

---

## [Keepalive\_requests on backend](https://www.ruby-forum.com/t/keepalive-requests-on-backend/212105)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 22, 2011, 1:35pm UTC](https://www.ruby-forum.com/t/keepalive-requests-on-backend/212105 "2011-09-22T13:35:05Z")

</div>

Hi guys I use upstream backend{ server xxx.xxx.xxx.xxx:80; keepalive 40; } I was wondering if this listened to “keepalive\_requests” I would like to be able to make sure the backend wil…

---

## [Max\_fails includes read\_timeout even if timeout is excluded from proxy\_next\_upstream](https://www.ruby-forum.com/t/max-fails-includes-read-timeout-even-if-timeout-is-excluded-from-proxy-next-upstream/212111)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 22, 2011, 1:34pm UTC](https://www.ruby-forum.com/t/max-fails-includes-read-timeout-even-if-timeout-is-excluded-from-proxy-next-upstream/212111 "2011-09-22T13:34:28Z")

</div>

Hi, I am having some trouble with the latest stable of Nginx’s proxy upstream support. I would like Nginx to NOT count read timeouts towards the max\_fails in the upstream definition. Here is what I have: proxy\_cach…

---

## [Nginx use memc](https://www.ruby-forum.com/t/nginx-use-memc/212107)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 22, 2011, 11:45am UTC](https://www.ruby-forum.com/t/nginx-use-memc/212107 "2011-09-22T11:45:24Z")

</div>

Hello! Encountered in the use of memc such a problem, I do not know how to solve. In the nginx configuration file and php file using memc, can be normal cache. However, if the cache of php file include jump statement, …

---

## [Nginx-1.1.4](https://www.ruby-forum.com/t/nginx-1-1-4/212024)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 11\
**Last updated:** [September 22, 2011, 3:11am UTC](https://www.ruby-forum.com/t/nginx-1-1-4/212024 "2011-09-22T03:11:07Z")

</div>

Changes with nginx 1.1.4 20 Sep 2011 \*) Feature: the ngx\_http\_upstream\_keepalive module. \*) Feature: the "proxy\_http\_version" directive. \*) Feature: the "fastcgi\_keep\_conn" dir…

---

## [Returning NGX\_AGAIN kills performance?](https://www.ruby-forum.com/t/returning-ngx-again-kills-performance/212094)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 22, 2011, 1:37am UTC](https://www.ruby-forum.com/t/returning-ngx-again-kills-performance/212094 "2011-09-22T01:37:17Z")

</div>

hi, i currently dev a module which makes multi subrequest sequently in the access phase handler, via returning NGX\_AGAIN. my question is, will this kill the performance? and how far could it go in killing performanc…

---

## [Process corruption on CentOS 5.6](https://www.ruby-forum.com/t/process-corruption-on-centos-5-6/212088)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 21, 2011, 10:18pm UTC](https://www.ruby-forum.com/t/process-corruption-on-centos-5-6/212088 "2011-09-21T22:18:53Z")

</div>

On CentOS 5.6, nginx 1.1.4 configured to work with php-fpm using fastcgi port. nginx was compiled with: configure --prefix=/usr/local/nginx –with-http\_ssl\_module --with-http\_realip\_module –with-http\_geoip\_module --wit…

---

## [Ngx\_openresty 1.0.6.12 released](https://www.ruby-forum.com/t/ngx-openresty-1-0-6-12-released/212078)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 21, 2011, 5:36pm UTC](https://www.ruby-forum.com/t/ngx-openresty-1-0-6-12-released/212078 "2011-09-21T17:36:18Z")

</div>

Hi, folks! I’ve just kicked the ngx\_openresty 1.0.6.12 release out of the door, which is the first stable release of ngx\_openresty based on the nginx 1.0.6 core: http://openresty.org/#Download Here goes the complet…

---

## [Enabeling SSL causes Redirect Loop errors?](https://www.ruby-forum.com/t/enabeling-ssl-causes-redirect-loop-errors/211753)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 21, 2011, 3:05pm UTC](https://www.ruby-forum.com/t/enabeling-ssl-causes-redirect-loop-errors/211753 "2011-09-21T15:05:20Z")

</div>

I am new to Nginx but learning every day. I have the server setup nicely and the regular webpages serve up fine. I have multiple IP’s on the server (less than 20) and I am trying to enable SSL for 3 different sites…

---

## [Need rewrite help](https://www.ruby-forum.com/t/need-rewrite-help/212054)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 21, 2011, 7:02am UTC](https://www.ruby-forum.com/t/need-rewrite-help/212054 "2011-09-21T07:02:30Z")

</div>

Hi, please help me to rewrite this mod\_rewrite rule: RewriteRule (img/(.+))$ webroot/$1 \[L\] Thanks Posted at Nginx Forum:

---

## [Need client cert common name as user](https://www.ruby-forum.com/t/need-client-cert-common-name-as-user/212058)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 21, 2011, 5:38am UTC](https://www.ruby-forum.com/t/need-client-cert-common-name-as-user/212058 "2011-09-21T05:38:38Z")

</div>

I’m in the process of converting from lighttpd to nginx, but I’m not finding an equivalent of the lighttpd directive: ssl.verifyclient.username = “SSL\_CLIENT\_S\_DN\_CN” This sets the REMOTE\_USER environment variable for…

---

## [WebDriver and Nginx](https://www.ruby-forum.com/t/webdriver-and-nginx/212047)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 21, 2011, 12:00am UTC](https://www.ruby-forum.com/t/webdriver-and-nginx/212047 "2011-09-21T00:00:18Z")

</div>

Has anyone tried using nginx and webdriver together? Before I used nginx as a reverse proxy, I never had any problems, but now I can’t get the browser being controlled by webdriver to get webpages. An example from the…

---

## [Timeout issues](https://www.ruby-forum.com/t/timeout-issues/212043)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 20, 2011, 8:54pm UTC](https://www.ruby-forum.com/t/timeout-issues/212043 "2011-09-20T20:54:47Z")

</div>

Hi All, Ok I am having issues with NGINX and it timing out. My scenario is that I am using NGINX as a web server front end for my application. I have two folder being served as aliass for static content and one loca…

---

## [504 Gateway Time-out](https://www.ruby-forum.com/t/504-gateway-time-out/212037)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 20, 2011, 8:44pm UTC](https://www.ruby-forum.com/t/504-gateway-time-out/212037 "2011-09-20T20:44:52Z")

</div>

I have a php script which takes too long to be executed (a form for uploading large files). Upong running this I get “504 Gateway Time-out” error. Since I do not want to update php.ini for the whole server, I put set\_…

---

## [Upstream timed out (110: Connection timed out)](https://www.ruby-forum.com/t/upstream-timed-out-110-connection-timed-out/212039)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 20, 2011, 6:03pm UTC](https://www.ruby-forum.com/t/upstream-timed-out-110-connection-timed-out/212039 "2011-09-20T18:03:50Z")

</div>

I installed on Debian Lenny nginx 0.6.32 and php-fpm and php file opens as well but went trying to do post request i get error in my /var/log/nginx/error.log “upstream timed out (110: Connection timed out) while read…

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

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