# Server

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

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

---

## [Occupancy of SSL connections?](https://www.ruby-forum.com/t/occupancy-of-ssl-connections/197108)

<div class="topic-metadata">

**Author:** [@Edward\_Hibbert](https://www.ruby-forum.com/u/Edward_Hibbert)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 10:07am UTC](https://www.ruby-forum.com/t/occupancy-of-ssl-connections/197108 "2009-11-10T10:07:29Z")

</div>

Sorry, typo. “takes about 1GB for 10L connections” should have read “takes about 1GB for 10K connections”, i.e. almost an order of magnitude more than without SSL.

---

## [Htaccess rewrite conversion?](https://www.ruby-forum.com/t/htaccess-rewrite-conversion/178726)

<div class="topic-metadata">

**Author:** [@George](https://www.ruby-forum.com/u/George)\
**Replies:** 1\
**Last updated:** [November 10, 2009, 9:55am UTC](https://www.ruby-forum.com/t/htaccess-rewrite-conversion/178726 "2009-11-10T09:55:12Z")

</div>

I’m thinking of converting a forum site from apache to nginx but they have this .htaccess in root of their account and not sure if there’s a nginx equivalent ?? Any help would be appreciated :slight\_smile: htaccess c…

---

## [Module Question](https://www.ruby-forum.com/t/module-question/178708)

<div class="topic-metadata">

**Author:** [@gerryw](https://www.ruby-forum.com/u/gerryw)\
**Replies:** 5\
**Last updated:** [November 10, 2009, 2:49am UTC](https://www.ruby-forum.com/t/module-question/178708 "2009-11-10T02:49:07Z")

</div>

Hello All, I’m considering writing a module that would provide javascript as a backend development language. I would like to get some advice on the best way to implement this. I was considering using a thread pool/que…

---

## [Disable SSL renegotiation (CVE-2009-3555)](https://www.ruby-forum.com/t/disable-ssl-renegotiation-cve-2009-3555/178562)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 3\
**Last updated:** [November 9, 2009, 8:05pm UTC](https://www.ruby-forum.com/t/disable-ssl-renegotiation-cve-2009-3555/178562 "2009-11-09T20:05:50Z")

</div>

Hello! Here is proof-of-concept patch which disables ssl renegotiation which was recently found vulnerable to man-in-the-middle attacks. I’ve tested it with old openssl (0.9.7e) and most recent one (0.9.8l, with rene…

---

## [Listen and IPV6 behaviour?](https://www.ruby-forum.com/t/listen-and-ipv6-behaviour/178699)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSme\_Loyet](https://www.ruby-forum.com/u/JSSSSrSSSSme_Loyet)\
**Replies:** 1\
**Last updated:** [November 9, 2009, 7:44pm UTC](https://www.ruby-forum.com/t/listen-and-ipv6-behaviour/178699 "2009-11-09T19:44:10Z")

</div>

Hi all, How to use the nginx listen diective to listen on all interface (ipv4 and ipv6) and on port 80 ? I thought “listen \[::\]:80;” would be enought but it seems that I have to use both “listen 80;” and “listen \[::\]…

---

## [Segfault with upload-progress and upload-module](https://www.ruby-forum.com/t/segfault-with-upload-progress-and-upload-module/178675)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [November 9, 2009, 12:34pm UTC](https://www.ruby-forum.com/t/segfault-with-upload-progress-and-upload-module/178675 "2009-11-09T12:34:26Z")

</div>

Hello, If I submit a form, but keep the “” field empty (not browsing for a file), nginx worker segfaults. Here is the backtrace: Core was generated by \`nginx: worker process '. Program terminated with signal 11, S…

---

## [502 Bad Gateway error using Nginx/Passenger on OSX (10.6.1)](https://www.ruby-forum.com/t/502-bad-gateway-error-using-nginx-passenger-on-osx-10-6-1/178662)

<div class="topic-metadata">

**Author:** [@ian](https://www.ruby-forum.com/u/ian)\
**Replies:** 1\
**Last updated:** [November 9, 2009, 6:20am UTC](https://www.ruby-forum.com/t/502-bad-gateway-error-using-nginx-passenger-on-osx-10-6-1/178662 "2009-11-09T06:20:38Z")

</div>

Hi there. After several hours of battling with this anomaly, I’ve finally admitted defeat. If anyone here can help me I would be most grateful! QUICK SUMMARY: I have this error in my Nginx error log: 2009/11/09 02:…

---

## [Re: How to redirect all SSL traffic?](https://www.ruby-forum.com/t/re-how-to-redirect-all-ssl-traffic/178649)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 0\
**Last updated:** [November 8, 2009, 11:34pm UTC](https://www.ruby-forum.com/t/re-how-to-redirect-all-ssl-traffic/178649 "2009-11-08T23:34:12Z")

</div>

Ok ill try that. Why we can’t use the same method for port 443?

---

## [SSL Password](https://www.ruby-forum.com/t/ssl-password/178616)

<div class="topic-metadata">

**Author:** [@Glen\_L](https://www.ruby-forum.com/u/Glen_L)\
**Replies:** 2\
**Last updated:** [November 8, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/ssl-password/178616 "2009-11-08T20:21:39Z")

</div>

Hello, I tried to install nginx with SSL. However I’ve setup with PEM password. Everytime I reload/restart nginx, it’s always asking me for the password. Is there any way to make it automatically? Best Regards, Gle…

---

## [Strange results when chaining try\_files](https://www.ruby-forum.com/t/strange-results-when-chaining-try-files/178629)

<div class="topic-metadata">

**Author:** [@jwigal](https://www.ruby-forum.com/u/jwigal)\
**Replies:** 2\
**Last updated:** [November 8, 2009, 1:13pm UTC](https://www.ruby-forum.com/t/strange-results-when-chaining-try-files/178629 "2009-11-08T13:13:47Z")

</div>

Hi all, Wondering if anyone can explain what’s going on here… I’m trying to come up with a “more perfect” WordPress + WP-Super-Cache configuration, using try\_files to fall back through static files, cached files and …

---

## [Wildcard to rewritre multi domains to www](https://www.ruby-forum.com/t/wildcard-to-rewritre-multi-domains-to-www/175001)

<div class="topic-metadata">

**Author:** [@AMP\_Admin](https://www.ruby-forum.com/u/AMP_Admin)\
**Replies:** 17\
**Last updated:** [November 6, 2009, 8:13pm UTC](https://www.ruby-forum.com/t/wildcard-to-rewritre-multi-domains-to-www/175001 "2009-11-06T20:13:24Z")

</div>

Hi, I would like to rewrite several domains to from .example.com to www.example.com. I think the best way is to use a wild card. Too bad I suck at rewrite rules. Haha Can someone help me make the following work? …

---

## [Loadbalancing only /](https://www.ruby-forum.com/t/loadbalancing-only/178568)

<div class="topic-metadata">

**Author:** [@SSGSSS\_nther\_Haslbe](https://www.ruby-forum.com/u/SSGSSS_nther_Haslbe)\
**Replies:** 2\
**Last updated:** [November 6, 2009, 7:19pm UTC](https://www.ruby-forum.com/t/loadbalancing-only/178568 "2009-11-06T19:19:33Z")

</div>

Hi, how can i loadbalance only / (/index.html or whatever) i tried location / { proxy\_redirect off; proxy\_max\_temp\_file\_size 0; proxy\_pass http://cluster2/$request\_uri; } … upstream cluster2 { server ww…

---

## [Trouble with VHosts](https://www.ruby-forum.com/t/trouble-with-vhosts/178556)

<div class="topic-metadata">

**Author:** [@grmbl](https://www.ruby-forum.com/u/grmbl)\
**Replies:** 5\
**Last updated:** [November 6, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/trouble-with-vhosts/178556 "2009-11-06T16:50:15Z")

</div>

Hello, As helpful and nice people in this mailing list seem to ignore my previous message, let’s try to ask about a different problem. :slight\_smile: nginx 0.8.22 – configure options: ./configure --prefix=/u01/nginx …

---

## [Test\_types\_hash\_bucket\_size?](https://www.ruby-forum.com/t/test-types-hash-bucket-size/178558)

<div class="topic-metadata">

**Author:** [@grmbl](https://www.ruby-forum.com/u/grmbl)\
**Replies:** 2\
**Last updated:** [November 6, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/test-types-hash-bucket-size/178558 "2009-11-06T14:10:28Z")

</div>

Hello, Error started popping out during start after latest dev build: Restarting nginx: : could not build the test\_types\_hash, you should increase test\_types\_hash\_bucket\_size: 64 nginx. And there is no such options …

---

## [Clang scan-build output](https://www.ruby-forum.com/t/clang-scan-build-output/178464)

<div class="topic-metadata">

**Author:** [@AkinsS\_Brian](https://www.ruby-forum.com/u/AkinsS_Brian)\
**Replies:** 6\
**Last updated:** [November 5, 2009, 7:48pm UTC](https://www.ruby-forum.com/t/clang-scan-build-output/178464 "2009-11-05T19:48:51Z")

</div>

Output from the clang static analyzer ( http://clang-analyzer.llvm.org/ ) for nginx-0.7.63 http://www.akins.org/scan-build-2009-11-04-1/index.html

---

## [How can i hide the NGINX version from headers?](https://www.ruby-forum.com/t/how-can-i-hide-the-nginx-version-from-headers/178512)

<div class="topic-metadata">

**Author:** [@partysoft](https://www.ruby-forum.com/u/partysoft)\
**Replies:** 1\
**Last updated:** [November 5, 2009, 6:57pm UTC](https://www.ruby-forum.com/t/how-can-i-hide-the-nginx-version-from-headers/178512 "2009-11-05T18:57:20Z")

</div>

Is there a way to hide the nginx version not the banner itself from the headers? it’s just anoying that some hacker will know my version of the nginx installed, well even the webserver i’m serving with … there are ex…

---

## [Does nginx support authentification like LDAP or mysql?](https://www.ruby-forum.com/t/does-nginx-support-authentification-like-ldap-or-mysql/178225)

<div class="topic-metadata">

**Author:** [@partysoft](https://www.ruby-forum.com/u/partysoft)\
**Replies:** 5\
**Last updated:** [November 5, 2009, 6:09pm UTC](https://www.ruby-forum.com/t/does-nginx-support-authentification-like-ldap-or-mysql/178225 "2009-11-05T18:09:17Z")

</div>

I was wondering if i could implement some type of authentification to disallow the downloading of certain files… What i’m trying to do is implement a downloading system based on user accounts…something like Rapidshare…

---

## [Location block, is this the intended behaviour?](https://www.ruby-forum.com/t/location-block-is-this-the-intended-behaviour/178481)

<div class="topic-metadata">

**Author:** [@Edho\_P\_Arief](https://www.ruby-forum.com/u/Edho_P_Arief)\
**Replies:** 1\
**Last updated:** [November 5, 2009, 10:26am UTC](https://www.ruby-forum.com/t/location-block-is-this-the-intended-behaviour/178481 "2009-11-05T10:26:53Z")

</div>

location / { /some/main/root; } location /blah { /some/other/root; } will result in 404 when accessing www.domain.com/blah123.html even though there’s /some/main/root/blah123.html (instead it tries /some/other/…

---

## [Rewrite rule needed for subdomains](https://www.ruby-forum.com/t/rewrite-rule-needed-for-subdomains/178386)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 5\
**Last updated:** [November 5, 2009, 10:14am UTC](https://www.ruby-forum.com/t/rewrite-rule-needed-for-subdomains/178386 "2009-11-05T10:14:00Z")

</div>

We have a lot of magento stores that work like store1.domain.com store2.domain.com so a user can go into store1.domain.com/products/ and the url will stay there We do this in apache like RewriteCond %{HTTP\_HOST} !^…

---

## [Status code '201 Created' and chunked transfer hangs / times-out](https://www.ruby-forum.com/t/status-code-201-created-and-chunked-transfer-hangs-times-out/178479)

<div class="topic-metadata">

**Author:** [@Graham\_King](https://www.ruby-forum.com/u/Graham_King)\
**Replies:** 0\
**Last updated:** [November 5, 2009, 8:35am UTC](https://www.ruby-forum.com/t/status-code-201-created-and-chunked-transfer-hangs-times-out/178479 "2009-11-05T08:35:05Z")

</div>

Using nginx/fastcgi, this PHP script will cause the browser to hang until the keep-alive timeout passes: \<?php header("HTTP/1.1 201 Created"); ?\> Any of the following fix it: Changing the status code to 200, 202, etc …

---

## [Using foo.\*.example.com as wilcards](https://www.ruby-forum.com/t/using-foo-example-com-as-wilcards/178453)

<div class="topic-metadata">

**Author:** [@Chris\_Kelly](https://www.ruby-forum.com/u/Chris_Kelly)\
**Replies:** 2\
**Last updated:** [November 5, 2009, 1:20am UTC](https://www.ruby-forum.com/t/using-foo-example-com-as-wilcards/178453 "2009-11-05T01:20:11Z")

</div>

hello. I’m using nginx 0.6.39 and trying to get wildcards like foo.\*.example.com working which according to http://wiki.nginx.org/NginxVirtualHostExample should work, but I get “invalid serer name or wildcard” when a…

---

## [Ð­ÐºÑ€Ð°Ð½Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ðµ Ð´Ð¾Ð»Ð»Ð°Ñ€Ð° Ð² Ð¿ÐµÑ€ ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹](https://www.ruby-forum.com/t/d-d-n-d-d-d-n-d-d-d-d-d-d-d-d-d-d-d-n-d-d-d-d-n-d-d-d-d-d-d-d/178437)

<div class="topic-metadata">

**Author:** [@SSSSSSSS\_SSSSSSS\_SS](https://www.ruby-forum.com/u/SSSSSSSS_SSSSSSS_SS)\
**Replies:** 1\
**Last updated:** [November 4, 2009, 5:16pm UTC](https://www.ruby-forum.com/t/d-d-n-d-d-d-n-d-d-d-d-d-d-d-d-d-d-d-n-d-d-d-d-n-d-d-d-d-d-d-d/178437 "2009-11-04T17:16:07Z")

</div>

äÏÂÒÏÅ ×ÒÅÍÑ ÓÕÔÏË ðÒÉ ÐÏÐÙÔËÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÔÁËÕÀ ÉÎÉÃÉÁÌÉÚÁÃÉÀ: set $var “$”; ÐÏÌÕÞÁÀ: Starting nginx: \[emerg\]: invalid variable name âÁÇ? éÌÉ ÆÉÞÁ?

---

## [An upstream response is buffered to a temporary file](https://www.ruby-forum.com/t/an-upstream-response-is-buffered-to-a-temporary-file/178436)

<div class="topic-metadata">

**Author:** [@mathew\_d](https://www.ruby-forum.com/u/mathew_d)\
**Replies:** 0\
**Last updated:** [November 4, 2009, 4:56pm UTC](https://www.ruby-forum.com/t/an-upstream-response-is-buffered-to-a-temporary-file/178436 "2009-11-04T16:56:48Z")

</div>

Hi. I was checking my recent error logs and found these warning entries. 2009/11/04 15:31:11 \[warn\] 8884#0: \*262 an upstream response is buffered to a temporary file /usr/local/nginx/fastcgi\_temp/9/00/0000000009 whi…

---

## [Why does this URL result in a 400 (Bad Request) error?](https://www.ruby-forum.com/t/why-does-this-url-result-in-a-400-bad-request-error/178388)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 20\
**Last updated:** [November 4, 2009, 2:56pm UTC](https://www.ruby-forum.com/t/why-does-this-url-result-in-a-400-bad-request-error/178388 "2009-11-04T14:56:12Z")

</div>

Hello, I’m puzzled by a problem we’ve been getting with URLs like this: /webserviceakqa-geraldoflanagan\_ais\_JEzKjKps%2B0%2FAynL0G17OWg?line=cMyYNDWTMJCOFAMGPMHE nginx (version 0.6.35) is returning a Bad Request error,…

---

## [Trying to add expires on proxied content make images and css/js redirect](https://www.ruby-forum.com/t/trying-to-add-expires-on-proxied-content-make-images-and-css-js-redirect/178413)

<div class="topic-metadata">

**Author:** [@Jose\_de\_Paula\_Eufra](https://www.ruby-forum.com/u/Jose_de_Paula_Eufra)\
**Replies:** 1\
**Last updated:** [November 4, 2009, 10:46am UTC](https://www.ruby-forum.com/t/trying-to-add-expires-on-proxied-content-make-images-and-css-js-redirect/178413 "2009-11-04T10:46:46Z")

</div>

So, I have this config here: Â Â Â Â location /thelocation { Â Â Â Â Â Â if ($request\_uri ~\* “.(ico|css|js|gif|jpe?g|png)$”) { Â Â Â Â Â Â Â Â expires 15d; Â Â Â Â Â Â Â Â break; Â Â Â Â Â …

---

## [Nginx-0.8.22](https://www.ruby-forum.com/t/nginx-0-8-22/178381)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 3\
**Last updated:** [November 4, 2009, 8:35am UTC](https://www.ruby-forum.com/t/nginx-0-8-22/178381 "2009-11-04T08:35:39Z")

</div>

Changes with nginx 0.8.22 03 Nov 2009 \*) Feature: the "proxy\_bind", "fastcgi\_bind", and "memcached\_bind" directives. \*) Feature: the "access" and the "deny" directives support…

---

## [Does nginx support Chunked POST?](https://www.ruby-forum.com/t/does-nginx-support-chunked-post/177520)

<div class="topic-metadata">

**Author:** [@wangkai](https://www.ruby-forum.com/u/wangkai)\
**Replies:** 2\
**Last updated:** [November 4, 2009, 3:14am UTC](https://www.ruby-forum.com/t/does-nginx-support-chunked-post/177520 "2009-11-04T03:14:06Z")

</div>

Does nginx support Chunked POST ? Now we installed the nginx 0.762 on the redhat 5 server. when the client send the http post request with “Transfer-Encoding:chunked” header, then nginx will stop the forward the requ…

---

## [Missing slash and error 400 / bad Request](https://www.ruby-forum.com/t/missing-slash-and-error-400-bad-request/178354)

<div class="topic-metadata">

**Author:** [@cheinsow](https://www.ruby-forum.com/u/cheinsow)\
**Replies:** 5\
**Last updated:** [November 3, 2009, 7:46pm UTC](https://www.ruby-forum.com/t/missing-slash-and-error-400-bad-request/178354 "2009-11-03T19:46:56Z")

</div>

Hello, i’m trying to use Nginx as a reverse proxy, and i get some troubles due to a missing “/” in the HTTP header sant by a client application. The HTTP/GET header is “GET index.html HTTP/1.1” and it seems that it …

---

## [DHT upstream module + nginx patches](https://www.ruby-forum.com/t/dht-upstream-module-nginx-patches/176982)

<div class="topic-metadata">

**Author:** [@Peter\_SchSSS\_ller](https://www.ruby-forum.com/u/Peter_SchSSS_ller)\
**Replies:** 6\
**Last updated:** [November 3, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/dht-upstream-module-nginx-patches/176982 "2009-11-03T18:52:28Z")

</div>

Hello, We have been doing some nginx development for internal use. Tommie has already sent the statistics module to the list yesterday separately, because it was very self-contained. However, we have additional chang…

---

## [Real time (or semi real time) bandwidth statistics](https://www.ruby-forum.com/t/real-time-or-semi-real-time-bandwidth-statistics/178368)

<div class="topic-metadata">

**Author:** [@jay\_edwards](https://www.ruby-forum.com/u/jay_edwards)\
**Replies:** 2\
**Last updated:** [November 3, 2009, 4:23pm UTC](https://www.ruby-forum.com/t/real-time-or-semi-real-time-bandwidth-statistics/178368 "2009-11-03T16:23:12Z")

</div>

Anyone got a clue how to get real time (or semi real time) bandwidth statistics per virtual host without parsing the logs or sending them to syslog?

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

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