# Server

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

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

---

## [How to read all client chain certificates from fastcgi request](https://www.ruby-forum.com/t/how-to-read-all-client-chain-certificates-from-fastcgi-request/228832)

<div class="topic-metadata">

**Author:** [@sravanakk](https://www.ruby-forum.com/u/sravanakk)\
**Replies:** 0\
**Last updated:** [May 9, 2013, 11:01am UTC](https://www.ruby-forum.com/t/how-to-read-all-client-chain-certificates-from-fastcgi-request/228832 "2013-05-09T11:01:35Z")

</div>

Hi, I configured my nginx with openssl as below: server { listen 443; server\_name localhost; ssl on; ssl\_certificate \<Combined Server certificate and Root CA certificate\> ssl\_ce…

---

## [Re: Mono + nginx (OpenBSD 5.3)](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228819)

<div class="topic-metadata">

**Author:** [@Gee](https://www.ruby-forum.com/u/Gee)\
**Replies:** 0\
**Last updated:** [May 8, 2013, 9:50pm UTC](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228819 "2013-05-08T21:50:32Z")

</div>

Hi all So this is what I tried tonight: For sanity’s sake: chown root /tmp/fastcgi-mono-socket chmod 777 /tmp/fastcgi-mono-socket To see permissions on the socket ls -la /tmp/fastcgi-mono-socket: Output: srwxrwxr…

---

## [Migrating existing Apache config](https://www.ruby-forum.com/t/migrating-existing-apache-config/228810)

<div class="topic-metadata">

**Author:** [@Kay\_H](https://www.ruby-forum.com/u/Kay_H)\
**Replies:** 4\
**Last updated:** [May 8, 2013, 8:43pm UTC](https://www.ruby-forum.com/t/migrating-existing-apache-config/228810 "2013-05-08T20:43:20Z")

</div>

Hello, due to low memory on my virtual machine, I was researching migrating away from Apache. What kind of surprises me, and pardon my ignorance, I didn’t lookup much beyond the FAQ, and a few Wiki links, and web sea…

---

## [Ngx\_event\_openssl\_stapling.c vs. openssl version](https://www.ruby-forum.com/t/ngx-event-openssl-stapling-c-vs-openssl-version/228814)

<div class="topic-metadata">

**Author:** [@Alder\_N](https://www.ruby-forum.com/u/Alder_N)\
**Replies:** 2\
**Last updated:** [May 8, 2013, 7:51pm UTC](https://www.ruby-forum.com/t/ngx-event-openssl-stapling-c-vs-openssl-version/228814 "2013-05-08T19:51:19Z")

</div>

There seems to be a version dependency on opnessl in ngnix1.4. I can build it on one platform but not the other where there’s slightly older version of openssl header files. Specifically, ngx\_event\_openssl\_stapling.c …

---

## [Nginx security advisory (CVE-2013-2028)](https://www.ruby-forum.com/t/nginx-security-advisory-cve-2013-2028/228772)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 3\
**Last updated:** [May 8, 2013, 4:43pm UTC](https://www.ruby-forum.com/t/nginx-security-advisory-cve-2013-2028/228772 "2013-05-08T16:43:41Z")

</div>

Hello! Greg MacManus, of iSIGHT Partners Labs, found a security problem in several recent versions of nginx. A stack-based buffer overflow might occur in a worker process while handling a specially crafted request, …

---

## [403 Forbidden error with Mediawiki](https://www.ruby-forum.com/t/403-forbidden-error-with-mediawiki/228806)

<div class="topic-metadata">

**Author:** [@Stylw](https://www.ruby-forum.com/u/Stylw)\
**Replies:** 2\
**Last updated:** [May 8, 2013, 2:48pm UTC](https://www.ruby-forum.com/t/403-forbidden-error-with-mediawiki/228806 "2013-05-08T14:48:30Z")

</div>

I’m having a frustrating experience trying to get nginx to work properly with mediawiki’s pretty urls. For some reason my configuration won’t detect that my mediawiki installation is installed in a folder above root (…

---

## [104: Connection reset by peer](https://www.ruby-forum.com/t/104-connection-reset-by-peer/228803)

<div class="topic-metadata">

**Author:** [@ron\_ramos](https://www.ruby-forum.com/u/ron_ramos)\
**Replies:** 6\
**Last updated:** [May 8, 2013, 2:32pm UTC](https://www.ruby-forum.com/t/104-connection-reset-by-peer/228803 "2013-05-08T14:32:08Z")

</div>

Hi All, I understand that this is a generic error, but it has been frustrating trying to solve this issue and i’m not able to find an answer anywhere. basically i have an application which is running fine using apache…

---

## [Re: Mono + Nginx (OpenBSD 5.3)](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228792)

<div class="topic-metadata">

**Author:** [@Gee](https://www.ruby-forum.com/u/Gee)\
**Replies:** 0\
**Last updated:** [May 8, 2013, 1:09am UTC](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228792 "2013-05-08T01:09:42Z")

</div>

After some more faffing with XSP4 and Web.config, I was at least able to serve a ‘Hello World’ via TCP. So this proves that nginx and mono can work together on my setup. So in going back to the unix sockets, I still…

---

## [Re: Mono + nginx (OpenBSD 5.3)](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228788)

<div class="topic-metadata">

**Author:** [@Gee](https://www.ruby-forum.com/u/Gee)\
**Replies:** 0\
**Last updated:** [May 7, 2013, 9:39pm UTC](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228788 "2013-05-07T21:39:59Z")

</div>

OK, It appears I have been trigger-happy and wandered down a dead-end (my apologies to everyone). I removed System.Configuration.dll from my deployment and XSP ran (and was as happy as it can be). I am now back to t…

---

## [Re: Mono + nginx (OpenBSD 5.3)](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228784)

<div class="topic-metadata">

**Author:** [@Gee](https://www.ruby-forum.com/u/Gee)\
**Replies:** 0\
**Last updated:** [May 7, 2013, 9:27pm UTC](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228784 "2013-05-07T21:27:08Z")

</div>

OK, by removing all copies of \\bin\\System.Web.\* from my app’s path, I whittled the exception down to this: Handling exception type TypeInitializationException Message is An exception was thrown by the type initialize…

---

## [Re: Mono + nginx (OpenBSD 5.3)](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228786)

<div class="topic-metadata">

**Author:** [@Gee](https://www.ruby-forum.com/u/Gee)\
**Replies:** 0\
**Last updated:** [May 7, 2013, 9:23pm UTC](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228786 "2013-05-07T21:23:02Z")

</div>

Hi everyone I have made progress (of sorts). After lots of faffing, I got xsp2/4 to work and have logged the following exception: Handling exception type TargetInvocationException Message is Exception has been throw…

---

## [Mainline Ubuntu Packages](https://www.ruby-forum.com/t/mainline-ubuntu-packages/228768)

<div class="topic-metadata">

**Author:** [@SSChristian\_BSSnnin](https://www.ruby-forum.com/u/SSChristian_BSSnnin)\
**Replies:** 6\
**Last updated:** [May 7, 2013, 7:33pm UTC](https://www.ruby-forum.com/t/mainline-ubuntu-packages/228768 "2013-05-07T19:33:45Z")

</div>

Hi, I think about moving from custom compiled versions to Mainline Ubuntu Packages provided at Index of /packages/. The issue in question currently is which parameters for ./configure are used to build those packages…

---

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

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 1\
**Last updated:** [May 7, 2013, 6:47pm UTC](https://www.ruby-forum.com/t/nginx-1-4-1/228770 "2013-05-07T18:47:35Z")

</div>

Changes with nginx 1.4.1 07 May 2013 \*) Security: a stack-based buffer overflow might occur in a worker process while handling a specially crafted request, potentially resu…

---

## [Nginx-1.5.0](https://www.ruby-forum.com/t/nginx-1-5-0/228769)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 1\
**Last updated:** [May 7, 2013, 4:54pm UTC](https://www.ruby-forum.com/t/nginx-1-5-0/228769 "2013-05-07T16:54:48Z")

</div>

Changes with nginx 1.5.0 07 May 2013 \*) Security: a stack-based buffer overflow might occur in a worker process while handling a specially crafted request, potentially resu…

---

## [Proxy pass encoding % problem](https://www.ruby-forum.com/t/proxy-pass-encoding-problem/228765)

<div class="topic-metadata">

**Author:** [@Krupa](https://www.ruby-forum.com/u/Krupa)\
**Replies:** 4\
**Last updated:** [May 7, 2013, 2:25pm UTC](https://www.ruby-forum.com/t/proxy-pass-encoding-problem/228765 "2013-05-07T14:25:12Z")

</div>

I am using nginx as a reverse proxy. My requirement is nginx needs to pass the url passed by client as-is to the proxy server. I have set the proxy\_pass to hostname:port without the uri part As per the docs ,If it is…

---

## [NGX\_HTTP\_CACHE and upstream](https://www.ruby-forum.com/t/ngx-http-cache-and-upstream/228762)

<div class="topic-metadata">

**Author:** [@alexander\_koch\_log](https://www.ruby-forum.com/u/alexander_koch_log)\
**Replies:** 1\
**Last updated:** [May 7, 2013, 11:24am UTC](https://www.ruby-forum.com/t/ngx-http-cache-and-upstream/228762 "2013-05-07T11:24:39Z")

</div>

Hi, When compiling nginx with NGX\_HTTP\_CACHE and using upstream backends - are responses automatically cached in memory without the use of proxy\_cache? Thanks, Alex Posted at Nginx Forum:

---

## [How to disable nginx internal dns cache?](https://www.ruby-forum.com/t/how-to-disable-nginx-internal-dns-cache/228708)

<div class="topic-metadata">

**Author:** [@nevernet](https://www.ruby-forum.com/u/nevernet)\
**Replies:** 5\
**Last updated:** [May 7, 2013, 10:51am UTC](https://www.ruby-forum.com/t/how-to-disable-nginx-internal-dns-cache/228708 "2013-05-07T10:51:56Z")

</div>

my network structure is: proxy server 1(nginx)–\>proxy server2(nginx)–\>web server proxy server2 has dynamic ip address. the ip address will be changed untime. so i use one domain for it: p2.domain.com. but proxy serv…

---

## [Q: about "best" way for remove www in hostname in nginxish](https://www.ruby-forum.com/t/q-about-best-way-for-remove-www-in-hostname-in-nginxish/228747)

<div class="topic-metadata">

**Author:** [@Aleksandar\_L](https://www.ruby-forum.com/u/Aleksandar_L)\
**Replies:** 5\
**Last updated:** [May 7, 2013, 4:26am UTC](https://www.ruby-forum.com/t/q-about-best-way-for-remove-www-in-hostname-in-nginxish/228747 "2013-05-07T04:26:19Z")

</div>

Dear readers, after reading http://nginx.org/en/docs/http/server\_names.html#regex\_names and googleing https://www.google.at/search?q=nginx+remove+www+subdomain I have a ‘best solution’ question. I have the followin…

---

## [Cookie based proxy redirect](https://www.ruby-forum.com/t/cookie-based-proxy-redirect/228756)

<div class="topic-metadata">

**Author:** [@juice-qr](https://www.ruby-forum.com/u/juice-qr)\
**Replies:** 1\
**Last updated:** [May 7, 2013, 3:16am UTC](https://www.ruby-forum.com/t/cookie-based-proxy-redirect/228756 "2013-05-07T03:16:12Z")

</div>

Hi, I’m using nginx in a reverse proxy setup with 2 apache 2.4 backends, I’ve configured a cookie based proxy\_pass setup as shown in http://dgtool.blogspot.com/2013/02/nginx-as-sticky-balancer-for-ha-using.html , howe…

---

## [Module example with rbtree](https://www.ruby-forum.com/t/module-example-with-rbtree/228755)

<div class="topic-metadata">

**Author:** [@alexander\_koch\_log](https://www.ruby-forum.com/u/alexander_koch_log)\
**Replies:** 0\
**Last updated:** [May 6, 2013, 9:32pm UTC](https://www.ruby-forum.com/t/module-example-with-rbtree/228755 "2013-05-06T21:32:09Z")

</div>

Hi, Beside the file cache and ssl sharing sessions, does anyone knows of a 3rd party module which uses rbtree to store information? Thanks, Alex Posted at Nginx Forum:

---

## [Re: Mono + nginx (OpenBSD 5.3)](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228754)

<div class="topic-metadata">

**Author:** [@Gee](https://www.ruby-forum.com/u/Gee)\
**Replies:** 0\
**Last updated:** [May 6, 2013, 9:16pm UTC](https://www.ruby-forum.com/t/re-mono-nginx-openbsd-5-3/228754 "2013-05-06T21:16:58Z")

</div>

Richard - I ran netcat, but no debug output appeared when running nginx/mono. I’m not sure if this is a sign of anything or not though? :frowning: Jonathan - I tried your chmod suggestion - but still no joy :frownin…

---

## [Nginx 1.4 problem](https://www.ruby-forum.com/t/nginx-1-4-problem/228650)

<div class="topic-metadata">

**Author:** [@Alder\_N](https://www.ruby-forum.com/u/Alder_N)\
**Replies:** 14\
**Last updated:** [May 6, 2013, 8:33pm UTC](https://www.ruby-forum.com/t/nginx-1-4-problem/228650 "2013-05-06T20:33:08Z")

</div>

Tried to upgrade to just-released Nginx1.4. TCP 3-way hand-shake aborted by server’s ACK+RST packet, but netstat shows server is listening on that port. Any config has been changed since Nginx 1.2 to 1.4 in this regar…

---

## [Mono + nginx (OpenBSD 5.3)](https://www.ruby-forum.com/t/mono-nginx-openbsd-5-3/228749)

<div class="topic-metadata">

**Author:** [@Gee](https://www.ruby-forum.com/u/Gee)\
**Replies:** 2\
**Last updated:** [May 6, 2013, 8:27pm UTC](https://www.ruby-forum.com/t/mono-nginx-openbsd-5-3/228749 "2013-05-06T20:27:18Z")

</div>

Hi I am having trouble getting Mono to work with nginx. I installed my OS (OpenBSD 5.3) and set up ports. I built mono, mono-xsp and nginx - all without incident. All three appear to be working OK, but not in conj…

---

## [Upstream Read Timeout Upon Backend Server Offline](https://www.ruby-forum.com/t/upstream-read-timeout-upon-backend-server-offline/228744)

<div class="topic-metadata">

**Author:** [@mevans336](https://www.ruby-forum.com/u/mevans336)\
**Replies:** 7\
**Last updated:** [May 6, 2013, 7:47pm UTC](https://www.ruby-forum.com/t/upstream-read-timeout-upon-backend-server-offline/228744 "2013-05-06T19:47:33Z")

</div>

Hello, Each night we take our backend servers offline at specific times for maintenance. When the application servers restart they immediately begin answering HTTP requests from Nginx, but we want to keep them out of …

---

## [16665#0 unlink()](https://www.ruby-forum.com/t/16665-0-unlink/228697)

<div class="topic-metadata">

**Author:** [@nano](https://www.ruby-forum.com/u/nano)\
**Replies:** 7\
**Last updated:** [May 6, 2013, 4:21pm UTC](https://www.ruby-forum.com/t/16665-0-unlink/228697 "2013-05-06T16:21:50Z")

</div>

Hello, I’m using nginx 1.4.0 to proxy a website, and I cache responses. I haven’t noticed any problems on the front end, but the error log has unlink() errors. 2013/05/03 12:53:42 \[crit\] 16665#0: unlink() “/usr/loc…

---

## [Why local ports increased so much when update from 1.0.15 to 1.2.8](https://www.ruby-forum.com/t/why-local-ports-increased-so-much-when-update-from-1-0-15-to-1-2-8/228734)

<div class="topic-metadata">

**Author:** [@selphon](https://www.ruby-forum.com/u/selphon)\
**Replies:** 0\
**Last updated:** [May 6, 2013, 10:42am UTC](https://www.ruby-forum.com/t/why-local-ports-increased-so-much-when-update-from-1-0-15-to-1-2-8/228734 "2013-05-06T10:42:54Z")

</div>

Recently, I updated nginx from 1.0.15 to 1.2.8, and find that the ports(shown by ss -s) increase much as below: nginx/1.0.15 Total: 21696 (kernel 22773) TCP: 111474 (estab 21422, closed 86149, orphaned 3803, synrec…

---

## [Status 009 on post action handler after client connection abort](https://www.ruby-forum.com/t/status-009-on-post-action-handler-after-client-connection-abort/228714)

<div class="topic-metadata">

**Author:** [@Jader\_HSSilva](https://www.ruby-forum.com/u/Jader_HSSilva)\
**Replies:** 2\
**Last updated:** [May 5, 2013, 11:50pm UTC](https://www.ruby-forum.com/t/status-009-on-post-action-handler-after-client-connection-abort/228714 "2013-05-05T23:50:59Z")

</div>

Hello, i’ve notice nginx set $status as 009 on client connection aborted in a reverse proxy configuration. Is this the correct behavior? Shouldn’t it be 499? thanks in advance Jader H.

---

## [Nginx accept set-cookie but hide it from the client?](https://www.ruby-forum.com/t/nginx-accept-set-cookie-but-hide-it-from-the-client/228725)

<div class="topic-metadata">

**Author:** [@nano](https://www.ruby-forum.com/u/nano)\
**Replies:** 6\
**Last updated:** [May 5, 2013, 10:44pm UTC](https://www.ruby-forum.com/t/nginx-accept-set-cookie-but-hide-it-from-the-client/228725 "2013-05-05T22:44:23Z")

</div>

Hello, I have a reverse proxy setup on a website and I’m proxying logged in pages. Everything works except there is a vulnerability in my setup. I login to the site and I can cache the pages. I share these pages with …

---

## [Location vs. rewite](https://www.ruby-forum.com/t/location-vs-rewite/227877)

<div class="topic-metadata">

**Author:** [@etrader](https://www.ruby-forum.com/u/etrader)\
**Replies:** 3\
**Last updated:** [May 5, 2013, 9:03pm UTC](https://www.ruby-forum.com/t/location-vs-rewite/227877 "2013-05-05T21:03:53Z")

</div>

I want to server favicon from a different place rather than the root folder. As I explored I have two options location = /favicon.ico { alias /var/www/media/images/favicon.X.ico; } rewrite ^/favicon.ico /var/…

---

## [Upstream timeout](https://www.ruby-forum.com/t/upstream-timeout/228722)

<div class="topic-metadata">

**Author:** [@thmarx](https://www.ruby-forum.com/u/thmarx)\
**Replies:** 1\
**Last updated:** [May 5, 2013, 5:45pm UTC](https://www.ruby-forum.com/t/upstream-timeout/228722 "2013-05-05T17:45:50Z")

</div>

Hi, I’m using nginx 1.4.0 as loadbalancer for 2 jetty servers. At my windows development/test system I have simple added the following to the default config: upstream backend { server 127.0.0.1:10000; server …

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

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