# Server

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

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

---

## [X-Accel-Redirect for embedded videos and images in a page](https://www.ruby-forum.com/t/x-accel-redirect-for-embedded-videos-and-images-in-a-page/132579)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 4\
**Last updated:** [March 22, 2008, 3:31pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-for-embedded-videos-and-images-in-a-page/132579 "2008-03-22T15:31:30Z")

</div>

Hi, What I have seen so far are download scripts that require the user to click on a link that redirects to a download page from which the download automatically starts à-la sourceforge. I’d like to know if I can use…

---

## [Mongrel has crashed](https://www.ruby-forum.com/t/mongrel-has-crashed/131684)

<div class="topic-metadata">

**Author:** [@Marcin\_L](https://www.ruby-forum.com/u/Marcin_L)\
**Replies:** 12\
**Last updated:** [March 22, 2008, 1:15pm UTC](https://www.ruby-forum.com/t/mongrel-has-crashed/131684 "2008-03-22T13:15:57Z")

</div>

Hi, my mongrel has crashed with following errors in the logfile: \*\* Starting Rails with development environment… \*\* Rails loaded. \*\* Loading any Rails specific GemPlugins \*\* Signals ready. TERM =\> stop. USR2 =\> re…

---

## [Nginx upload progress module - large file upload stopped](https://www.ruby-forum.com/t/nginx-upload-progress-module-large-file-upload-stopped/132492)

<div class="topic-metadata">

**Author:** [@brblakley](https://www.ruby-forum.com/u/brblakley)\
**Replies:** 1\
**Last updated:** [March 21, 2008, 5:34pm UTC](https://www.ruby-forum.com/t/nginx-upload-progress-module-large-file-upload-stopped/132492 "2008-03-21T17:34:50Z")

</div>

Hello, I’ve been using the Nginx Upload Progress Module as described here: http://wiki.codemongers.com/NginxHttpUploadProgressModule It’s working really well. Although I just tried uploading a very large file (nearly…

---

## [Creating PID File?](https://www.ruby-forum.com/t/creating-pid-file/132434)

<div class="topic-metadata">

**Author:** [@unclouded](https://www.ruby-forum.com/u/unclouded)\
**Replies:** 4\
**Last updated:** [March 21, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/creating-pid-file/132434 "2008-03-21T15:49:12Z")

</div>

I’m having some issues with the creation of a pid file. It looks like log rotation for nginx fails (on occasion). What happens is that it can’t find a pid file, so it doesn’t know where to send the -USR1 signal. No…

---

## [Running multiple mongrel to "serve" the same rail application with active scaffold](https://www.ruby-forum.com/t/running-multiple-mongrel-to-serve-the-same-rail-application-with-active-scaffold/132300)

<div class="topic-metadata">

**Author:** [@Yves\_DSAstous](https://www.ruby-forum.com/u/Yves_DSAstous)\
**Replies:** 1\
**Last updated:** [March 21, 2008, 3:15am UTC](https://www.ruby-forum.com/t/running-multiple-mongrel-to-serve-the-same-rail-application-with-active-scaffold/132300 "2008-03-21T03:15:37Z")

</div>

Hi, I want to run more then one mongrel for the same rail application on the same machine, using the same rails files. This application use “active scaffold” when I start one mongrel some files are writes in the pu…

---

## [Possible fastcgi\_params bug or undocumented feature](https://www.ruby-forum.com/t/possible-fastcgi-params-bug-or-undocumented-feature/132523)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 4\
**Last updated:** [March 21, 2008, 2:25am UTC](https://www.ruby-forum.com/t/possible-fastcgi-params-bug-or-undocumented-feature/132523 "2008-03-21T02:25:13Z")

</div>

Hi, Today i was configuring nginx to “act” more like apache when using https (Apache sets the fastcgi paramater HTTPS to on and this is how phpmyadmin detects if you are using https or not) Well i only wanted this pa…

---

## [Nginx git repository](https://www.ruby-forum.com/t/nginx-git-repository/116434)

<div class="topic-metadata">

**Author:** [@gnosek](https://www.ruby-forum.com/u/gnosek)\
**Replies:** 22\
**Last updated:** [March 20, 2008, 6:57pm UTC](https://www.ruby-forum.com/t/nginx-git-repository/116434 "2008-03-20T18:57:11Z")

</div>

Hello all, I have finally came around to publishing my git repository. You can access it at http://git.localdomain.pl/ It currently isn’t cloneable (I haven’t set up a git-daemon, only gitweb) – I hope to enable it s…

---

## [Process environment requires procfs(5)](https://www.ruby-forum.com/t/process-environment-requires-procfs-5/132423)

<div class="topic-metadata">

**Author:** [@Matte\_E](https://www.ruby-forum.com/u/Matte_E)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 12:36am UTC](https://www.ruby-forum.com/t/process-environment-requires-procfs-5/132423 "2008-03-20T00:36:38Z")

</div>

I know this has been brought up before but I’m receiving the error … Process environment requires procfs(5) … when trying to restart my cluster. I’ve narrowed it down to ‘find\_pid’ method in init.rb. I’m running a F…

---

## [Mongrel throwing error 500](https://www.ruby-forum.com/t/mongrel-throwing-error-500/131854)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [March 20, 2008, 12:28am UTC](https://www.ruby-forum.com/t/mongrel-throwing-error-500/131854 "2008-03-20T00:28:24Z")

</div>

Dear Users, Often at times when the code encounters an exception, mongrel starts throwing error 500 (after which most other cluster instances are affected). My queries are why does an exception in one thread have t…

---

## [SSL client certificate](https://www.ruby-forum.com/t/ssl-client-certificate/132359)

<div class="topic-metadata">

**Author:** [@Omar\_Lopez\_Limonta](https://www.ruby-forum.com/u/Omar_Lopez_Limonta)\
**Replies:** 6\
**Last updated:** [March 19, 2008, 4:53pm UTC](https://www.ruby-forum.com/t/ssl-client-certificate/132359 "2008-03-19T16:53:49Z")

</div>

Hi , IÂ´m trying to use SSL client authentication, and always iÂ´m getting 400 certificate error. My nginx version is 0.5.26 running on Ubuntu I have this config on my nginx: ssl on; ssl\_certificate…

---

## [Migrating to Nginx and .htaccess files](https://www.ruby-forum.com/t/migrating-to-nginx-and-htaccess-files/132345)

<div class="topic-metadata">

**Author:** [@Drazen\_Milosevic](https://www.ruby-forum.com/u/Drazen_Milosevic)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 10:31am UTC](https://www.ruby-forum.com/t/migrating-to-nginx-and-htaccess-files/132345 "2008-03-19T10:31:07Z")

</div>

Hi everyone, I have a shared hosting server with Apache curently running. I want to migrate to Nginx for static files and have Apache (for now) serving only the dynamic PHP pages in the background listening on the 1…

---

## [Incorrect macro ngx\_log\_alloc\_log](https://www.ruby-forum.com/t/incorrect-macro-ngx-log-alloc-log/132216)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 10\
**Last updated:** [March 19, 2008, 8:07am UTC](https://www.ruby-forum.com/t/incorrect-macro-ngx-log-alloc-log/132216 "2008-03-19T08:07:26Z")

</div>

The macro in core/ngx\_log.h is not correct: #define ngx\_log\_alloc\_log(pool, log) ngx\_palloc(pool, log, sizeof(ngx\_log\_t)) ngx\_palloc only requires two arguments. This function is never used, but I was trying to use …

---

## [Post\_action, just send http request, not fcgi](https://www.ruby-forum.com/t/post-action-just-send-http-request-not-fcgi/131232)

<div class="topic-metadata">

**Author:** [@coldtone](https://www.ruby-forum.com/u/coldtone)\
**Replies:** 4\
**Last updated:** [March 18, 2008, 12:33am UTC](https://www.ruby-forum.com/t/post-action-just-send-http-request-not-fcgi/131232 "2008-03-18T00:33:40Z")

</div>

I’m still battling with my post\_action handler. I’m having a painful time trying to use an FCGI handler, mostly because of the perl implementation of FCGI doesn’t work nicely with our daemon framework which is based …

---

## [Memache key](https://www.ruby-forum.com/t/memache-key/132200)

<div class="topic-metadata">

**Author:** [@allins](https://www.ruby-forum.com/u/allins)\
**Replies:** 0\
**Last updated:** [March 17, 2008, 9:16pm UTC](https://www.ruby-forum.com/t/memache-key/132200 "2008-03-17T21:16:59Z")

</div>

currently we use: set $memcached\_key “$uri?$args”; for the key. put that is causing a couple issues. if we want to use, full hostname, what is the proper variable to put? set $memcached\_key “$server\_name/$uri?$args”…

---

## [SSL root certificates](https://www.ruby-forum.com/t/ssl-root-certificates/132155)

<div class="topic-metadata">

**Author:** [@igorclark](https://www.ruby-forum.com/u/igorclark)\
**Replies:** 6\
**Last updated:** [March 17, 2008, 2:14pm UTC](https://www.ruby-forum.com/t/ssl-root-certificates/132155 "2008-03-17T14:14:06Z")

</div>

Hi there One of our clients has insisted on using Verisign SSL certificates. According to https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&id=AR657 I need to install the Verisign Roo…

---

## [Running Mercurial using Nginx as http server](https://www.ruby-forum.com/t/running-mercurial-using-nginx-as-http-server/127234)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 17\
**Last updated:** [March 17, 2008, 1:40pm UTC](https://www.ruby-forum.com/t/running-mercurial-using-nginx-as-http-server/127234 "2008-03-17T13:40:52Z")

</div>

Hi, I am having some troubles getting Mercurial (the distributed Version Control System) to work with nginx. It uses a cgi script (hgweb.cgi) to launch mercurial which is a python program. I have set up the cgi suppo…

---

## [Problems with fastcgi php migration](https://www.ruby-forum.com/t/problems-with-fastcgi-php-migration/131385)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 71\
**Last updated:** [March 16, 2008, 12:56pm UTC](https://www.ruby-forum.com/t/problems-with-fastcgi-php-migration/131385 "2008-03-16T12:56:41Z")

</div>

Thought I’d rename this thread since the problem has morphed beyond the original thread “Can fastcgi\_index be used with multiple filenames?”. I’ll reiterate some things first and then pass on a few things I’ve discove…

---

## [Re: nginx\_uploadprogress\_module v0.2](https://www.ruby-forum.com/t/re-nginx-uploadprogress-module-v0-2/132069)

<div class="topic-metadata">

**Author:** [@Otto\_Bretz](https://www.ruby-forum.com/u/Otto_Bretz)\
**Replies:** 0\
**Last updated:** [March 16, 2008, 11:47am UTC](https://www.ruby-forum.com/t/re-nginx-uploadprogress-module-v0-2/132069 "2008-03-16T11:47:37Z")

</div>

Brice F. wrote: Anyway, let me know if that’s working for you, and do not hesitate to report any issues or improvements, Hi again, I’ve found some time do a little more testing and I’ve run into some problems with…

---

## [Squirrelmail config](https://www.ruby-forum.com/t/squirrelmail-config/132061)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 2\
**Last updated:** [March 16, 2008, 11:02am UTC](https://www.ruby-forum.com/t/squirrelmail-config/132061 "2008-03-16T11:02:10Z")

</div>

Does anyone have a location example for Squirrelmail? I’m trying to get it running directly under nginx (it’s currently running fine with an Apache backend). Under ngix and fastcgi I’m able to login fine and read a me…

---

## [Benchmarking Nginx on a prehistoric PIII 500](https://www.ruby-forum.com/t/benchmarking-nginx-on-a-prehistoric-piii-500/131745)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 27\
**Last updated:** [March 15, 2008, 6:48pm UTC](https://www.ruby-forum.com/t/benchmarking-nginx-on-a-prehistoric-piii-500/131745 "2008-03-15T18:48:38Z")

</div>

Hi list, After installing and configuring Nginx, I am now in the phase of making some benchmarking. My test server is a Pentium III 500 with 384MB of Sdram. Running Ubuntu 7.10 and Nginx 0.5.26 from package. I also i…

---

## [Debugging fastcgi parameters](https://www.ruby-forum.com/t/debugging-fastcgi-parameters/131935)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 7\
**Last updated:** [March 15, 2008, 4:07pm UTC](https://www.ruby-forum.com/t/debugging-fastcgi-parameters/131935 "2008-03-15T16:07:44Z")

</div>

As a quick side thread to “Problems with fastcgi php migration”: Is there a way to see the content of all the fastcgi\_params getting passed to the fastcgi server? The standard debug log doesn’t give it and I’m wonderi…

---

## [Nginx smtp & php?](https://www.ruby-forum.com/t/nginx-smtp-php/132017)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 2\
**Last updated:** [March 15, 2008, 3:10pm UTC](https://www.ruby-forum.com/t/nginx-smtp-php/132017 "2008-03-15T15:10:26Z")

</div>

Is it possible to tell php to use nginx’s smtp module to send mail? If so, where online can I find information about such a configuration? At the moment sendmail & qmail are causing us problems, so we’d like to cut t…

---

## [Re: SSL doesn't activate in Mongrel](https://www.ruby-forum.com/t/re-ssl-doesnt-activate-in-mongrel/131914)

<div class="topic-metadata">

**Author:** [@Nathen\_Harvey](https://www.ruby-forum.com/u/Nathen_Harvey)\
**Replies:** 2\
**Last updated:** [March 14, 2008, 6:39pm UTC](https://www.ruby-forum.com/t/re-ssl-doesnt-activate-in-mongrel/131914 "2008-03-14T18:39:40Z")

</div>

Have you set the X-Forwarded-Proto request header? Here’s a snip from the apache config: # Set header to indentify https requests for Mongrel RequestHeader set X-Forwarded-Proto "https"

---

## [SSL doesn't activate in Mongrel](https://www.ruby-forum.com/t/ssl-doesnt-activate-in-mongrel/131897)

<div class="topic-metadata">

**Author:** [@dsl239](https://www.ruby-forum.com/u/dsl239)\
**Replies:** 0\
**Last updated:** [March 14, 2008, 6:16am UTC](https://www.ruby-forum.com/t/ssl-doesnt-activate-in-mongrel/131897 "2008-03-14T06:16:39Z")

</div>

I have an app I’ve been working on for a while. I just tried to activate SSL for it. I followed the instructions found at http://wiki.rubyonrails.com/rails/pages/HowToEnableSSL. Everything seemed to install/configu…

---

## [Nginx and subdomains (and dyndns)](https://www.ruby-forum.com/t/nginx-and-subdomains-and-dyndns/131626)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 5\
**Last updated:** [March 13, 2008, 10:31pm UTC](https://www.ruby-forum.com/t/nginx-and-subdomains-and-dyndns/131626 "2008-03-13T22:31:41Z")

</div>

Hi list, Has anyone setup a server running Nginx and subdomains? Currently my test server on a dynami IP has a domain at DynDns it is something like: mysite.ath.cx What I am trying to do is have subdomains/virtualhos…

---

## [Nginx file upload: server slows down terribly during upload](https://www.ruby-forum.com/t/nginx-file-upload-server-slows-down-terribly-during-upload/131619)

<div class="topic-metadata">

**Author:** [@matter](https://www.ruby-forum.com/u/matter)\
**Replies:** 4\
**Last updated:** [March 13, 2008, 9:28pm UTC](https://www.ruby-forum.com/t/nginx-file-upload-server-slows-down-terribly-during-upload/131619 "2008-03-13T21:28:37Z")

</div>

I am using 2 Nginx worker processes (1024 connections). Nginx proxies the requests to 4 mongrel instances. I have noticed that during file uploads (files are approx. 10 MB each), the server(machine) slows down quite a…

---

## [Problem with split log](https://www.ruby-forum.com/t/problem-with-split-log/131772)

<div class="topic-metadata">

**Author:** [@C.F-Win\_in\_China\_F](https://www.ruby-forum.com/u/C.F-Win_in_China_F)\
**Replies:** 7\
**Last updated:** [March 13, 2008, 8:38am UTC](https://www.ruby-forum.com/t/problem-with-split-log/131772 "2008-03-13T08:38:17Z")

</div>

how to split nginx log with cronolog , other method? just as: TransferLog “|/www/sbin/cronolog /www/logs/%Y/%m/%d/access.log” ErrorLog “|/www/sbin/cronolog /www/logs/%Y/%m/%d/errors.log”

---

## [Nginx-0.6.28](https://www.ruby-forum.com/t/nginx-0-6-28/131786)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [March 13, 2008, 7:24am UTC](https://www.ruby-forum.com/t/nginx-0-6-28/131786 "2008-03-13T07:24:42Z")

</div>

Changes with nginx 0.6.28 13 Mar 2008 \*) Bugfix: the rtsig method could be not built; bug appeared in 0.6.27.

---

## [Nginx-0.6.27](https://www.ruby-forum.com/t/nginx-0-6-27/131688)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 3\
**Last updated:** [March 13, 2008, 6:33am UTC](https://www.ruby-forum.com/t/nginx-0-6-27/131688 "2008-03-13T06:33:42Z")

</div>

Changes with nginx 0.6.27 12 Mar 2008 \*) Change: now by default the rtsig method is not built on Linux 2.6.18+. \*) Change: now a request method is not changed while redirectio…

---

## [404 then upstream timeout](https://www.ruby-forum.com/t/404-then-upstream-timeout/131234)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 13, 2008, 1:28am UTC](https://www.ruby-forum.com/t/404-then-upstream-timeout/131234 "2008-03-13T01:28:46Z")

</div>

Hi all, I’m running into a strange issue with nginx upstreaming to a varnish cache. When I POST to a specific URL with invalid parameters, I want the call to return a 404. However, nginx returns 504 after a 60ish se…

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

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