# Server

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

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

---

## [Bug](https://www.ruby-forum.com/t/bug/192299)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [July 27, 2010, 11:29pm UTC](https://www.ruby-forum.com/t/bug/192299 "2010-07-27T23:29:09Z")

</div>

Perhaps it’s old news, but appears there’s a bug in mongrel: http://www.ruby-forum.com/topic/213853#928629 Just in case it’s not old news. Thanks! -r

---

## [New module to generate secured download links inside nginx](https://www.ruby-forum.com/t/new-module-to-generate-secured-download-links-inside-nginx/192272)

<div class="topic-metadata">

**Author:** [@Mauro\_Stettler](https://www.ruby-forum.com/u/Mauro_Stettler)\
**Replies:** 0\
**Last updated:** [July 27, 2010, 2:32pm UTC](https://www.ruby-forum.com/t/new-module-to-generate-secured-download-links-inside-nginx/192272 "2010-07-27T14:32:50Z")

</div>

I created a module to generate secured download links on the fly directly inside nginx, via ssi. i would like to know if you people find that useful or not and if you maybe see things to improve in the code? this is …

---

## [Problem in writing handler module which should be called via ssi](https://www.ruby-forum.com/t/problem-in-writing-handler-module-which-should-be-called-via-ssi/191954)

<div class="topic-metadata">

**Author:** [@Mauro\_Stettler](https://www.ruby-forum.com/u/Mauro_Stettler)\
**Replies:** 8\
**Last updated:** [July 27, 2010, 10:28am UTC](https://www.ruby-forum.com/t/problem-in-writing-handler-module-which-should-be-called-via-ssi/191954 "2010-07-27T10:28:44Z")

</div>

hi i have a problem while writing an nginx module which i want to generate secure download links, which can then be verified by the NginxHttpSecureDownload module and later maybe also the secure link module. i wrote …

---

## [Enabling SSL on Winodws](https://www.ruby-forum.com/t/enabling-ssl-on-winodws/192237)

<div class="topic-metadata">

**Author:** [@RamS\_Hari](https://www.ruby-forum.com/u/RamS_Hari)\
**Replies:** 2\
**Last updated:** [July 26, 2010, 11:34pm UTC](https://www.ruby-forum.com/t/enabling-ssl-on-winodws/192237 "2010-07-26T23:34:21Z")

</div>

Hi, We want to use nginx on Windows with SSL enabled. Is Windows version built with SSL enabled? If not, can you give us instructions how to build Windows version with SSL enabled or can you provide us nginx Windows …

---

## [Occasional truncated responses with nginx+passenger](https://www.ruby-forum.com/t/occasional-truncated-responses-with-nginx-passenger/192234)

<div class="topic-metadata">

**Author:** [@Jonathan\_del\_Stroth](https://www.ruby-forum.com/u/Jonathan_del_Stroth)\
**Replies:** 3\
**Last updated:** [July 26, 2010, 7:47pm UTC](https://www.ruby-forum.com/t/occasional-truncated-responses-with-nginx-passenger/192234 "2010-07-26T19:47:13Z")

</div>

Heya, I’m having problems with our nginx setup (nginx 0.7.67 -\> passenger 2.2.15 -\> rails 2.3.6, all running on Solaris 5.11). Most requests are fine, but occasionally - maybe every 1 in 50 - I get a truncated respo…

---

## [How to set limit\_conn](https://www.ruby-forum.com/t/how-to-set-limit-conn/192197)

<div class="topic-metadata">

**Author:** [@rudy.misk02](https://www.ruby-forum.com/u/rudy.misk02)\
**Replies:** 0\
**Last updated:** [July 26, 2010, 5:44am UTC](https://www.ruby-forum.com/t/how-to-set-limit-conn/192197 "2010-07-26T05:44:12Z")

</div>

how to configure limit\_conn in ngx\_http\_limit\_zone\_module, if my server more than one (www1.abc.com; www2.abc.com; www3.abc.com). Is it possible? Thank you in advance. Posted at Nginx Forum:

---

## [Amazon ec2](https://www.ruby-forum.com/t/amazon-ec2/192094)

<div class="topic-metadata">

**Author:** [@Carl\_D](https://www.ruby-forum.com/u/Carl_D)\
**Replies:** 1\
**Last updated:** [July 24, 2010, 11:00am UTC](https://www.ruby-forum.com/t/amazon-ec2/192094 "2010-07-24T11:00:33Z")

</div>

Hi All, How can I resolve http using a Amazon EC2 instance? The instance used the mongrel web server for rails. Do I need to modify a mongrel configuration to use the externally assigned ip? Currently resolves to 0…

---

## [HTTP Basic Authentication per network](https://www.ruby-forum.com/t/http-basic-authentication-per-network/192082)

<div class="topic-metadata">

**Author:** [@daniel-v8](https://www.ruby-forum.com/u/daniel-v8)\
**Replies:** 2\
**Last updated:** [July 23, 2010, 5:24pm UTC](https://www.ruby-forum.com/t/http-basic-authentication-per-network/192082 "2010-07-23T17:24:36Z")

</div>

Hi, is it possible to configure a HTTP Basic Authentication on a per network base? For example some users coming from an internal/private network are not required to authenticate with HTTP Basic Authentication, users …

---

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

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 5\
**Last updated:** [July 23, 2010, 11:48am UTC](https://www.ruby-forum.com/t/config-help-needed/192038 "2010-07-23T11:48:31Z")

</div>

Hi all, I am trying, and failing to set up a server to serve phpmyadmin. This is my config (one of about 30 tried). server { listen 80 default; server\_name default.anake.hcs localhost; index index.php index.htm in…

---

## [NGiNX Logging Question](https://www.ruby-forum.com/t/nginx-logging-question/192072)

<div class="topic-metadata">

**Author:** [@gromminger](https://www.ruby-forum.com/u/gromminger)\
**Replies:** 1\
**Last updated:** [July 23, 2010, 10:59am UTC](https://www.ruby-forum.com/t/nginx-logging-question/192072 "2010-07-23T10:59:55Z")

</div>

Hi, is it possible configure a “datelabel” for the access.log? access.log-YY-MM-DD Thanks Juergen

---

## [Unit tests](https://www.ruby-forum.com/t/unit-tests/191994)

<div class="topic-metadata">

**Author:** [@iceman](https://www.ruby-forum.com/u/iceman)\
**Replies:** 3\
**Last updated:** [July 23, 2010, 4:20am UTC](https://www.ruby-forum.com/t/unit-tests/191994 "2010-07-23T04:20:48Z")

</div>

has anyone messed with unit tests for nginx code base? i am interested in writing unit tests for mail proxy module. thanks Posted at Nginx Forum:

---

## [Install PHP on Debian](https://www.ruby-forum.com/t/install-php-on-debian/192047)

<div class="topic-metadata">

**Author:** [@Admin\_BeyondServ.ne](https://www.ruby-forum.com/u/Admin_BeyondServ.ne)\
**Replies:** 0\
**Last updated:** [July 22, 2010, 10:32pm UTC](https://www.ruby-forum.com/t/install-php-on-debian/192047 "2010-07-22T22:32:28Z")

</div>

Hello, You will find here a tutorial on howto install php5 with nginx on Debian. I maintain the debian packages all time, so stay tunned! http://blog.benweblife.fr/index.php/2010/07/22/nginx-php-on-debian/?lang=en S…

---

## [Problems with rewrite](https://www.ruby-forum.com/t/problems-with-rewrite/191985)

<div class="topic-metadata">

**Author:** [@jefersonph](https://www.ruby-forum.com/u/jefersonph)\
**Replies:** 3\
**Last updated:** [July 22, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/problems-with-rewrite/191985 "2010-07-22T21:40:21Z")

</div>

I’m having problems with rewrite, I have to download the Apache server for a current ngix but I’m finding some errors with rewrite nginx rewrite ^/http-bind/ http://www.xxx.com:1010/http-bind/ break; rewrite ^/ws-cha…

---

## [Nginx and WebDAV](https://www.ruby-forum.com/t/nginx-and-webdav/179688)

<div class="topic-metadata">

**Author:** [@michelem](https://www.ruby-forum.com/u/michelem)\
**Replies:** 2\
**Last updated:** [July 22, 2010, 12:40pm UTC](https://www.ruby-forum.com/t/nginx-and-webdav/179688 "2010-07-22T12:40:28Z")

</div>

Hello folks, Let me first thank for nginx. Among OSS, this is one of the projects I respect the most. You’re keeping the russian flag up high :slight\_smile: I have settled with nginx some 3 years ago, after many year…

---

## [String replace on rewrite module](https://www.ruby-forum.com/t/string-replace-on-rewrite-module/191905)

<div class="topic-metadata">

**Author:** [@jbruni](https://www.ruby-forum.com/u/jbruni)\
**Replies:** 5\
**Last updated:** [July 21, 2010, 3:35pm UTC](https://www.ruby-forum.com/t/string-replace-on-rewrite-module/191905 "2010-07-21T15:35:53Z")

</div>

My goal is simple. Rewrite the following URL: \[b\]http://example.com/path/to/folder/image/picture1.jpg\[/b\] to \[b\]http://example.com/image/path\_to\_folder/picture1.jpg\[/b\] My doubt is: how can I transform path/to/folder …

---

## [How to check a request is subrequest or not?](https://www.ruby-forum.com/t/how-to-check-a-request-is-subrequest-or-not/191915)

<div class="topic-metadata">

**Author:** [@elmo1349](https://www.ruby-forum.com/u/elmo1349)\
**Replies:** 5\
**Last updated:** [July 21, 2010, 3:22am UTC](https://www.ruby-forum.com/t/how-to-check-a-request-is-subrequest-or-not/191915 "2010-07-21T03:22:58Z")

</div>

How can I check a request is subrequest or not at the config files? Posted at Nginx Forum:

---

## [Nginx with SSL problems on Sparc](https://www.ruby-forum.com/t/nginx-with-ssl-problems-on-sparc/191435)

<div class="topic-metadata">

**Author:** [@Ondrej\_Jombik](https://www.ruby-forum.com/u/Ondrej_Jombik)\
**Replies:** 2\
**Last updated:** [July 20, 2010, 5:05pm UTC](https://www.ruby-forum.com/t/nginx-with-ssl-problems-on-sparc/191435 "2010-07-20T17:05:15Z")

</div>

We are using nginx on Sparc, it’s Debian Linux stable Linux Sunium 2.6.26-2-sparc64 #1 Mon Jun 21 15:45:39 UTC 2010 sparc64 GNU/Linux We have Apache2 on port 88 as a single upstream, nginx is serving HTTP and HTTPS a…

---

## [Rewrite Performance Question](https://www.ruby-forum.com/t/rewrite-performance-question/191822)

<div class="topic-metadata">

**Author:** [@gromminger](https://www.ruby-forum.com/u/gromminger)\
**Replies:** 8\
**Last updated:** [July 20, 2010, 12:24pm UTC](https://www.ruby-forum.com/t/rewrite-performance-question/191822 "2010-07-20T12:24:43Z")

</div>

Hi, come some take a look at these rewrite rules if they are ok regarding performance? if ($host = 'forum.de' ) { rewrite ^/(.\*)$ http://www.forum.de:81/$1 permanent; } if ($host ~\* ^(www\\.)??foru…

---

## [Cache: fix sending of stale responses](https://www.ruby-forum.com/t/cache-fix-sending-of-stale-responses/191881)

<div class="topic-metadata">

**Author:** [@Davide\_DSAmico](https://www.ruby-forum.com/u/Davide_DSAmico)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 8:24am UTC](https://www.ruby-forum.com/t/cache-fix-sending-of-stale-responses/191881 "2010-07-20T08:24:40Z")

</div>

On 19/07/10 20.01, removed\_email\_address@domain.invalid wrote: Re: Rewrite Performance Question (Juergen G.) come some take a look at these rewrite rules if they are ok regarding } Hi, ? ? ? ? ? ?rewrite ^(.\*)$ h…

---

## [Nginx-0.8.46](https://www.ruby-forum.com/t/nginx-0-8-46/191827)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [July 19, 2010, 6:41pm UTC](https://www.ruby-forum.com/t/nginx-0-8-46/191827 "2010-07-19T18:41:37Z")

</div>

Changes with nginx 0.8.46 19 Jul 2010 \*) Change: now the "proxy\_no\_cache", "fastcgi\_no\_cache", "uwsgi\_no\_cache", and "sÓgi\_no\_cache" directives affect on a cached response s…

---

## [Block robots for some urls](https://www.ruby-forum.com/t/block-robots-for-some-urls/191596)

<div class="topic-metadata">

**Author:** [@bvidinli](https://www.ruby-forum.com/u/bvidinli)\
**Replies:** 4\
**Last updated:** [July 19, 2010, 1:51pm UTC](https://www.ruby-forum.com/t/block-robots-for-some-urls/191596 "2010-07-19T13:51:07Z")

</div>

Hi, I want to block some robots such as google, to access some urls. here is my config: # robotlarin gezdigi luzumsuz adresleri blokla... zirt pirt giriyorlar sanki bisey varmis gibi set $test “”; if ($request\_…

---

## [Nginx-0.8.45](https://www.ruby-forum.com/t/nginx-0-8-45/191491)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [July 19, 2010, 1:27pm UTC](https://www.ruby-forum.com/t/nginx-0-8-45/191491 "2010-07-19T13:27:42Z")

</div>

Changes with nginx 0.8.45 13 Jul 2010 \*) Feature: ngx\_http\_xslt\_filter improvements. Thanks to Laurence Rowe. \*) Bugfix: SSI response might be truncated after include with …

---

## [Bug - Rewrite Rules](https://www.ruby-forum.com/t/bug-rewrite-rules/191738)

<div class="topic-metadata">

**Author:** [@mat\_h](https://www.ruby-forum.com/u/mat_h)\
**Replies:** 1\
**Last updated:** [July 17, 2010, 11:37pm UTC](https://www.ruby-forum.com/t/bug-rewrite-rules/191738 "2010-07-17T23:37:19Z")

</div>

rewrite ^/forums/rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/(\[a-z0-9\_-\]+))?/(\[a-z0-9\_\]+).xml(.gz)?$ /forums/gymrss.php?$9=$8&$2&$4&$6&gzip=$10 last; rewrite “^/forums/\[a-z0-9\_-\]\*-\[a-z\]{1,2}(\[0-9\]+)(/(news)+)?(/(di…

---

## [Fisl11](https://www.ruby-forum.com/t/fisl11/191744)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 1\
**Last updated:** [July 17, 2010, 3:51pm UTC](https://www.ruby-forum.com/t/fisl11/191744 "2010-07-17T15:51:58Z")

</div>

I will give a lecture about nginx on 11th International Free Software Forum (FISL11) ( http://softwarelivre.org/fisl11/english/news ) in Porto Alegre, Brasil. – Igor S. http://sysoev.ru/en/

---

## [If command seems not working? what is wrong with me?](https://www.ruby-forum.com/t/if-command-seems-not-working-what-is-wrong-with-me/191708)

<div class="topic-metadata">

**Author:** [@bvidinli](https://www.ruby-forum.com/u/bvidinli)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 3:19pm UTC](https://www.ruby-forum.com/t/if-command-seems-not-working-what-is-wrong-with-me/191708 "2010-07-16T15:19:15Z")

</div>

i have following config: if ($http\_user\_agent ~\* Opera ) { return 444; } but, even if I try to access pages using Opera, Opera can open pages. What is …

---

## [Nginx and godaddy ssl cert. How to?](https://www.ruby-forum.com/t/nginx-and-godaddy-ssl-cert-how-to/191665)

<div class="topic-metadata">

**Author:** [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Replies:** 7\
**Last updated:** [July 16, 2010, 11:30am UTC](https://www.ruby-forum.com/t/nginx-and-godaddy-ssl-cert-how-to/191665 "2010-07-16T11:30:52Z")

</div>

Hello nginx people. I want to use nginx to serve https for my site. I followed directions given by godaddy to generate a csr file. I gave $25 and the csr file to godaddy. They gave me 2 files: gd\_bundle.crt toadfro…

---

## [Pass https requests to backend servers](https://www.ruby-forum.com/t/pass-https-requests-to-backend-servers/191629)

<div class="topic-metadata">

**Author:** [@Sjaak\_P](https://www.ruby-forum.com/u/Sjaak_P)\
**Replies:** 4\
**Last updated:** [July 16, 2010, 9:13am UTC](https://www.ruby-forum.com/t/pass-https-requests-to-backend-servers/191629 "2010-07-16T09:13:51Z")

</div>

Hello, here at our company we are setting up an nginx loadbalancer before a couple of webservers(2 tomcat/ 2 iis). The problem that we walk in to is that we want to do the ssl handling on the backend servers. we k…

---

## [Patch to see setrlmit](https://www.ruby-forum.com/t/patch-to-see-setrlmit/191619)

<div class="topic-metadata">

**Author:** [@Aleksandar\_L](https://www.ruby-forum.com/u/Aleksandar_L)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 1:30pm UTC](https://www.ruby-forum.com/t/patch-to-see-setrlmit/191619 "2010-07-15T13:30:38Z")

</div>

Dear Igor, mybe you could add this patch to see in the error.log the setrlimit similar as the getrlimit. Thank you BR Aleks

---

## [Module proxy and Upstream question](https://www.ruby-forum.com/t/module-proxy-and-upstream-question/191615)

<div class="topic-metadata">

**Author:** [@Aleksandar\_L](https://www.ruby-forum.com/u/Aleksandar_L)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 11:31am UTC](https://www.ruby-forum.com/t/module-proxy-and-upstream-question/191615 "2010-07-15T11:31:13Z")

</div>

Dear List, we use the upstream module to proxy requests to our backend, as much other people :wink: I want to check if I have understand the rrp-\>peers-\>single in src/http/ngx\_http\_upstream\_round\_robin.c flag in the…

---

## [Multiple apps](https://www.ruby-forum.com/t/multiple-apps/191612)

<div class="topic-metadata">

**Author:** [@vanderkerkoff](https://www.ruby-forum.com/u/vanderkerkoff)\
**Replies:** 0\
**Last updated:** [July 15, 2010, 10:07am UTC](https://www.ruby-forum.com/t/multiple-apps/191612 "2010-07-15T10:07:57Z")

</div>

Hi there We’re running 4 rails3beta4 apps with ruby 1.8.7 on passenger 2.2.15 with nginx 0.7.65 on an Ubuntu 8.04 LTS unit. One of these apps has just been created and is not getting any traffic at the moment. I’ve …

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

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