# Server

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

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

---

## [Losing POST data on vanilla Ubuntu/nginx/mongrel install](https://www.ruby-forum.com/t/losing-post-data-on-vanilla-ubuntu-nginx-mongrel-install/164684)

<div class="topic-metadata">

**Author:** [@Aaron\_Starr](https://www.ruby-forum.com/u/Aaron_Starr)\
**Replies:** 7\
**Last updated:** [April 9, 2009, 1:53am UTC](https://www.ruby-forum.com/t/losing-post-data-on-vanilla-ubuntu-nginx-mongrel-install/164684 "2009-04-09T01:53:21Z")

</div>

Hi, all. Sorry in advance for what is hopefully a simple question. I’m using nginx as a reverse-proxy for a few mongrel instances. Using AJAX (XMLHttpRequest), I POST a small bit of JSON to the server. The request is …

---

## [Slightly OT: site search engines](https://www.ruby-forum.com/t/slightly-ot-site-search-engines/165016)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 2\
**Last updated:** [April 9, 2009, 1:33am UTC](https://www.ruby-forum.com/t/slightly-ot-site-search-engines/165016 "2009-04-09T01:33:29Z")

</div>

I’m currently using Google Custom Search for our site search, but I’m not entirely happy that it doesn’t always find pages on our site that can be found using Google.com. Perhaps I’m hitting a page limit wall. Just wo…

---

## [Nginx breaks 6M domains](https://www.ruby-forum.com/t/nginx-breaks-6m-domains/165080)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 1\
**Last updated:** [April 8, 2009, 11:12pm UTC](https://www.ruby-forum.com/t/nginx-breaks-6m-domains/165080 "2009-04-08T23:12:57Z")

</div>

For those who are counting: http://survey.netcraft.com/Reports/200904/ Regards, Cliff

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/165068)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 8, 2009, 7:58pm UTC](https://www.ruby-forum.com/t/no-subject/165068 "2009-04-08T19:58:43Z")

</div>

unsubscribe nginx removed\_email\_address@domain.invalid

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/165069)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 8, 2009, 7:58pm UTC](https://www.ruby-forum.com/t/no-subject/165069 "2009-04-08T19:58:08Z")

</div>

unsubscribe nginx

---

## [X-Accel-Redirect not passing Content-Type?](https://www.ruby-forum.com/t/x-accel-redirect-not-passing-content-type/164983)

<div class="topic-metadata">

**Author:** [@Kon\_W](https://www.ruby-forum.com/u/Kon_W)\
**Replies:** 6\
**Last updated:** [April 8, 2009, 5:52pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-not-passing-content-type/164983 "2009-04-08T17:52:33Z")

</div>

I’m having an odd problem with x-accel-redirect when using PHP to process the request: Setting the headers in the php script: header(“Content-Type: blah/blah”); Result page header still comes through as: Content-Typ…

---

## [Re: Re: nginx + caching of static files](https://www.ruby-forum.com/t/re-re-nginx-caching-of-static-files/165031)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 0\
**Last updated:** [April 8, 2009, 1:24pm UTC](https://www.ruby-forum.com/t/re-re-nginx-caching-of-static-files/165031 "2009-04-08T13:24:54Z")

</div>

How about jpg, css, js or any other files?

---

## [Using the upstream\_hash\_module and handling changes when adding new servers](https://www.ruby-forum.com/t/using-the-upstream-hash-module-and-handling-changes-when-adding-new-servers/164946)

<div class="topic-metadata">

**Author:** [@jackdempsey](https://www.ruby-forum.com/u/jackdempsey)\
**Replies:** 6\
**Last updated:** [April 8, 2009, 1:04pm UTC](https://www.ruby-forum.com/t/using-the-upstream-hash-module-and-handling-changes-when-adding-new-servers/164946 "2009-04-08T13:04:56Z")

</div>

Hi all, I’m looking to use the hash module to split out many files across several servers. I’ve done some testing, and can confirm the obvious fact that when you add a new server, some of the files that used to be fo…

---

## [Apache modules and nginx](https://www.ruby-forum.com/t/apache-modules-and-nginx/165022)

<div class="topic-metadata">

**Author:** [@uros678](https://www.ruby-forum.com/u/uros678)\
**Replies:** 1\
**Last updated:** [April 8, 2009, 11:15am UTC](https://www.ruby-forum.com/t/apache-modules-and-nginx/165022 "2009-04-08T11:15:16Z")

</div>

Hello, I’m trying to setup a nginx server for our webcrew and they send me a list of apache modules from the config file that they have. Now if they need all of them I don’t now and neither do they. The list is as fo…

---

## [Content Truncating](https://www.ruby-forum.com/t/content-truncating/164970)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 7\
**Last updated:** [April 8, 2009, 2:34am UTC](https://www.ruby-forum.com/t/content-truncating/164970 "2009-04-08T02:34:06Z")

</div>

Hi, I am having a weird issue where nginx is truncating a few bytes of content from the end of files. The files are being served from PHP (FastCGI via php-fpm) using PHP’s readfile(). The PHP application sends out a …

---

## [X-accel-redirect and status codes](https://www.ruby-forum.com/t/x-accel-redirect-and-status-codes/164982)

<div class="topic-metadata">

**Author:** [@bdmcnitt](https://www.ruby-forum.com/u/bdmcnitt)\
**Replies:** 1\
**Last updated:** [April 7, 2009, 11:57pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-and-status-codes/164982 "2009-04-07T23:57:57Z")

</div>

We’d like nginx to be able to return a 404 error page using x-accel-redirect, BUT also have the status code returned to be 404; is this possible? thanks,

---

## [Location into location doen't work as expected](https://www.ruby-forum.com/t/location-into-location-doent-work-as-expected/164938)

<div class="topic-metadata">

**Author:** [@danmezzetti](https://www.ruby-forum.com/u/danmezzetti)\
**Replies:** 1\
**Last updated:** [April 7, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/location-into-location-doent-work-as-expected/164938 "2009-04-07T17:20:16Z")

</div>

Hi all, I’ve the following location configuration that doesn’t work as expected (i symplified my configuration with return value instead of rewrite): location ^~ /image/ { location ^~ /image/(halfcol|medium|thumb)/ { …

---

## [Mongrel server core dump on Sun Solaris](https://www.ruby-forum.com/t/mongrel-server-core-dump-on-sun-solaris/164934)

<div class="topic-metadata">

**Author:** [@LiaoS\_Kexiao](https://www.ruby-forum.com/u/LiaoS_Kexiao)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 4:29pm UTC](https://www.ruby-forum.com/t/mongrel-server-core-dump-on-sun-solaris/164934 "2009-04-07T16:29:09Z")

</div>

I am running my Mongrel Web Server 1.1.5 on Sun Solaris 10 server with Apache 2.2 proxy running with single Mongrel instance to handle my RoR Web Applications request. My RoR web application was developped on Windows …

---

## [Forwarding POST requests to upstream](https://www.ruby-forum.com/t/forwarding-post-requests-to-upstream/164825)

<div class="topic-metadata">

**Author:** [@MichaSSSSSJaszczyk](https://www.ruby-forum.com/u/MichaSSSSSJaszczyk)\
**Replies:** 5\
**Last updated:** [April 7, 2009, 9:16am UTC](https://www.ruby-forum.com/t/forwarding-post-requests-to-upstream/164825 "2009-04-07T09:16:50Z")

</div>

Hey, I work at a company where we use Nginx a lot and so far we are very happy with it :). Now we want to add another feature to our website and long story short we need to forward files that users send by POST reque…

---

## [Serving XHTML as HTML to MSIE browsers in NginX](https://www.ruby-forum.com/t/serving-xhtml-as-html-to-msie-browsers-in-nginx/164801)

<div class="topic-metadata">

**Author:** [@elliottcable](https://www.ruby-forum.com/u/elliottcable)\
**Replies:** 3\
**Last updated:** [April 7, 2009, 4:55am UTC](https://www.ruby-forum.com/t/serving-xhtml-as-html-to-msie-browsers-in-nginx/164801 "2009-04-07T04:55:46Z")

</div>

I’m trying to configure my server to serve XHTML files to MSIE browsers as text/html. Here’s the three things I’ve tried; all of them yell at me about a syntax error, so I can’t launch my server: location ~\* .(xhtml|…

---

## [Nginx-0.7.48](https://www.ruby-forum.com/t/nginx-0-7-48/164826)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 4\
**Last updated:** [April 7, 2009, 1:45am UTC](https://www.ruby-forum.com/t/nginx-0-7-48/164826 "2009-04-07T01:45:03Z")

</div>

Changes with nginx 0.7.48 06 Apr 2009 \*) Feature: the "proxy\_cache\_key" directive. \*) Bugfix: now nginx takes into account the "X-Accel-Expires", "Expires", and "Cache-Control…

---

## [Nginx-0.7.50](https://www.ruby-forum.com/t/nginx-0-7-50/164834)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [April 6, 2009, 8:41pm UTC](https://www.ruby-forum.com/t/nginx-0-7-50/164834 "2009-04-06T20:41:09Z")

</div>

Changes with nginx 0.7.50 06 Apr 2009 \*) Bugfix: the $arg\_... variables did not work; the bug had appeared in 0.7.49.

---

## [Posts Not Appearing on Upstreams](https://www.ruby-forum.com/t/posts-not-appearing-on-upstreams/164866)

<div class="topic-metadata">

**Author:** [@Tony\_Holmes](https://www.ruby-forum.com/u/Tony_Holmes)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 8:25pm UTC](https://www.ruby-forum.com/t/posts-not-appearing-on-upstreams/164866 "2009-04-06T20:25:19Z")

</div>

I have (and love) nginx front ends that map users to one of many apache back ends. I had php uploads of 2M working. The files were getting posted and all was well. I had a request to increase this to 20M and… it doe…

---

## [Nginx-0.7.49](https://www.ruby-forum.com/t/nginx-0-7-49/164828)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 4\
**Last updated:** [April 6, 2009, 5:32pm UTC](https://www.ruby-forum.com/t/nginx-0-7-49/164828 "2009-04-06T17:32:12Z")

</div>

Changes with nginx 0.7.49 06 Apr 2009 \*) Change: a segmentation fault might occur in worker process, if the $arg\_… variables were used; the bug had appeared in 0.7.48.

---

## [Cygwin/GCC nginx-0.7.47 error: array subscript is above array bounds](https://www.ruby-forum.com/t/cygwin-gcc-nginx-0-7-47-error-array-subscript-is-above-array-bounds/164802)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 6, 2009, 12:05pm UTC](https://www.ruby-forum.com/t/cygwin-gcc-nginx-0-7-47-error-array-subscript-is-above-array-bounds/164802 "2009-04-06T12:05:23Z")

</div>

gcc -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wunused-value -Werror -D FD\_SETSIZE=9999999 -O5 -I src/core -I src/event -I src/event/modules -I src/os/unix -…

---

## [RE: backend http 1.1 question](https://www.ruby-forum.com/t/re-backend-http-1-1-question/164799)

<div class="topic-metadata">

**Author:** [@Chris\_Z](https://www.ruby-forum.com/u/Chris_Z)\
**Replies:** 1\
**Last updated:** [April 6, 2009, 10:06am UTC](https://www.ruby-forum.com/t/re-backend-http-1-1-question/164799 "2009-04-06T10:06:12Z")

</div>

What is it exactly that http 1.1 support would be beneficial for when proxying?

---

## [403 for multiple user agents](https://www.ruby-forum.com/t/403-for-multiple-user-agents/164782)

<div class="topic-metadata">

**Author:** [@Payam\_C](https://www.ruby-forum.com/u/Payam_C)\
**Replies:** 1\
**Last updated:** [April 6, 2009, 12:01am UTC](https://www.ruby-forum.com/t/403-for-multiple-user-agents/164782 "2009-04-06T00:01:57Z")

</div>

Hi, I recall there was a way to search for multiple strings within the user agent to allow a 403 redirect… but i cant find any info on this. example. im 403\`ing any user agents that match the Macintosh string. now i…

---

## [Url rewrite help - is this possible](https://www.ruby-forum.com/t/url-rewrite-help-is-this-possible/164776)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 5, 2009, 10:20pm UTC](https://www.ruby-forum.com/t/url-rewrite-help-is-this-possible/164776 "2009-04-05T22:20:42Z")

</div>

if i get a url like this /123456/xxxx will nginx be able to rewrite the url to: /xxxx?id=123456 if so how can i do it? thansk a lot!!

---

## [Passing header information on to backend Apache/PHP](https://www.ruby-forum.com/t/passing-header-information-on-to-backend-apache-php/164766)

<div class="topic-metadata">

**Author:** [@Peter\_Langhans](https://www.ruby-forum.com/u/Peter_Langhans)\
**Replies:** 7\
**Last updated:** [April 5, 2009, 5:38pm UTC](https://www.ruby-forum.com/t/passing-header-information-on-to-backend-apache-php/164766 "2009-04-05T17:38:49Z")

</div>

Hi, I’m using nginx 0.6.35, apache 2.0.63 and php 5.2.9. My problem is, that I need my php scripts to know in some way or another whether SSL is used or not (to include either https or http javascript files e.g.). W…

---

## [Backend http 1.1 question](https://www.ruby-forum.com/t/backend-http-1-1-question/164720)

<div class="topic-metadata">

**Author:** [@Olivier\_Beau](https://www.ruby-forum.com/u/Olivier_Beau)\
**Replies:** 2\
**Last updated:** [April 5, 2009, 8:01am UTC](https://www.ruby-forum.com/t/backend-http-1-1-question/164720 "2009-04-05T08:01:03Z")

</div>

Hi all, I’m new at nginx, i started testing it, the performance is impressive! I have a question in proxy mode: nginx seems to talk http 1.0 (only) to the backend, even thow the client is talking http 1.1 to nginx Ar…

---

## [499 errors, fcgi sockets require restart python and custom proxy](https://www.ruby-forum.com/t/499-errors-fcgi-sockets-require-restart-python-and-custom-proxy/164751)

<div class="topic-metadata">

**Author:** [@JacobSingh](https://www.ruby-forum.com/u/JacobSingh)\
**Replies:** 0\
**Last updated:** [April 5, 2009, 7:53am UTC](https://www.ruby-forum.com/t/499-errors-fcgi-sockets-require-restart-python-and-custom-proxy/164751 "2009-04-05T07:53:26Z")

</div>

Hi folks, I posted in the paid help about this too… here is the issue: We currently have a setup where we have multiple app servers sitting behind NGINX. We want to provide HMAC based authentication comparing an hash…

---

## [Async I/O support](https://www.ruby-forum.com/t/async-i-o-support/164738)

<div class="topic-metadata">

**Author:** [@archfiend997](https://www.ruby-forum.com/u/archfiend997)\
**Replies:** 0\
**Last updated:** [April 5, 2009, 1:04am UTC](https://www.ruby-forum.com/t/async-i-o-support/164738 "2009-04-05T01:04:05Z")

</div>

It might be interesting to benchmark nginx v. LiteSpeed standard edition to see the difference: “AIO support has been added to our 4.1b1 release, you can give it preview, just change the version number in the downlo…

---

## [Request for some smtp example with and without auth](https://www.ruby-forum.com/t/request-for-some-smtp-example-with-and-without-auth/164677)

<div class="topic-metadata">

**Author:** [@Atif\_G](https://www.ruby-forum.com/u/Atif_G)\
**Replies:** 6\
**Last updated:** [April 4, 2009, 11:40pm UTC](https://www.ruby-forum.com/t/request-for-some-smtp-example-with-and-without-auth/164677 "2009-04-04T23:40:25Z")

</div>

Dear all, For pop and imap its pretty clear and I have documented on the wiki. Can someone please state a short example on how nginx smtp proxy works with a smtp server. The documentation on this is very sparse, If …

---

## [Haxe / NekoVM module for Nginx](https://www.ruby-forum.com/t/haxe-nekovm-module-for-nginx/164734)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 0\
**Last updated:** [April 4, 2009, 9:55pm UTC](https://www.ruby-forum.com/t/haxe-nekovm-module-for-nginx/164734 "2009-04-04T21:55:31Z")

</div>

Hi guys, Any news on that? I don’t feel like installing Apache for running Neko apps. Best regards,

---

## [Following symlinks](https://www.ruby-forum.com/t/following-symlinks/164397)

<div class="topic-metadata">

**Author:** [@jackdempsey](https://www.ruby-forum.com/u/jackdempsey)\
**Replies:** 12\
**Last updated:** [April 4, 2009, 9:46am UTC](https://www.ruby-forum.com/t/following-symlinks/164397 "2009-04-04T09:46:15Z")

</div>

Hi all, I’m trying to serve up some static files that I’ve linked to via a symlink. The -f check is failing: check if the file exists and serve it if (-f $request\_filename) { access\_log off; expires …

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

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