# Server

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

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

---

## [Configuration for generic $user.domain.tld to $homedir mapping](https://www.ruby-forum.com/t/configuration-for-generic-user-domain-tld-to-homedir-mapping/222137)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 14, 2012, 10:22am UTC](https://www.ruby-forum.com/t/configuration-for-generic-user-domain-tld-to-homedir-mapping/222137 "2012-08-14T10:22:25Z")

</div>

Hi, I’ve looked trough the web to find a solution, yet couldn’t find anything suitable. Currently I’m using Apache, with a UserHostMacro directive that maps $user.domain.tld to /home/$user/public\_html Is it possible…

---

## [NGINX crash](https://www.ruby-forum.com/t/nginx-crash/221965)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [August 14, 2012, 1:47am UTC](https://www.ruby-forum.com/t/nginx-crash/221965 "2012-08-14T01:47:40Z")

</div>

Hello, “nginx” crashes in “ngx\_http\_limit\_req\_handler”. This does not happen, if “limit\_req” is not nested. We couldn’t reproduce this issue in a testing environment. Thanks a lot Request GET / HTTP/1.1 Host: host…

---

## [Nginx won't start after adding scgi to config](https://www.ruby-forum.com/t/nginx-wont-start-after-adding-scgi-to-config/222122)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 13, 2012, 5:32pm UTC](https://www.ruby-forum.com/t/nginx-wont-start-after-adding-scgi-to-config/222122 "2012-08-13T17:32:34Z")

</div>

I’m trying to set up rutorrent, and their wiki tells me to add this to my server block: location /RPC2 { include scgi\_params; scgi\_pass unix:/tmp/rpc.sock; } After I do that and restart nginx, I get this error: $…

---

## [About resolver and 502 error](https://www.ruby-forum.com/t/about-resolver-and-502-error/222115)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 13, 2012, 4:30pm UTC](https://www.ruby-forum.com/t/about-resolver-and-502-error/222115 "2012-08-13T16:30:02Z")

</div>

hi Guys: When I run NGINX as a proxy and set a resolver(such as 8.8.8.8), I found out if DNS fail to resolve, 502 is popped up. We can not set two or more DNS entry, so how to handle such situation? post my configu…

---

## [Gallery 3.0.4 on nginx](https://www.ruby-forum.com/t/gallery-3-0-4-on-nginx/222123)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 13, 2012, 3:52pm UTC](https://www.ruby-forum.com/t/gallery-3-0-4-on-nginx/222123 "2012-08-13T15:52:01Z")

</div>

Hello, i cant run gallery3 on ongix. Now i use this configure: server { listen (…); server\_name \*.wmp.(…) wmp.(…); access\_log /home/wmp/www/wmp.(...)/logs/access.log; error\_log /home/wmp/www/wmp.(...)/logs…

---

## [New logging modules](https://www.ruby-forum.com/t/new-logging-modules/222113)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 13, 2012, 9:28am UTC](https://www.ruby-forum.com/t/new-logging-modules/222113 "2012-08-13T09:28:01Z")

</div>

Hi! I created 2 new cool logging modules. The fitst one, nginx socketlog module, is a connection-oriented alternative of udplog module that uses BSD syslog remote logging protocol. It can be used with ng-syslogd to c…

---

## [HttpUpstreamModule: Need more detailed Information](https://www.ruby-forum.com/t/httpupstreammodule-need-more-detailed-information/222066)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 13, 2012, 8:24am UTC](https://www.ruby-forum.com/t/httpupstreammodule-need-more-detailed-information/222066 "2012-08-13T08:24:56Z")

</div>

Hello all, i’m new to nginx and first of all i have to say it’s a great piece of software. I need some more detailed Information about nginx behaviour regarding HttpUpstreamModule and I hope you can give me some hint…

---

## [New server, Same config, New error](https://www.ruby-forum.com/t/new-server-same-config-new-error/222106)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 13, 2012, 2:58am UTC](https://www.ruby-forum.com/t/new-server-same-config-new-error/222106 "2012-08-13T02:58:13Z")

</div>

Centos 6 with nginx and php using php-fpm. Exactly like my other server only, that one works. No matter what I do, I get this: “File not found.” In the headers it shows it’s a 404. I’ve googled now for hours, followe…

---

## [Ngx\_openresty devel version 1.2.1.13 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-1-13-released/222105)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 13, 2012, 12:58am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-1-13-released/222105 "2012-08-13T00:58:21Z")

</div>

Hi, folks! After one week’s active development, I’m pleased to announce the new development version of ngx\_openresty, 1.2.1.13: OpenResty® - Open source Special thanks go to all our contributors and users for helping…

---

## [Errors on Make](https://www.ruby-forum.com/t/errors-on-make/222088)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 12, 2012, 3:13pm UTC](https://www.ruby-forum.com/t/errors-on-make/222088 "2012-08-12T15:13:27Z")

</div>

I’m trying to compile 1.2.3 with: ./configure --with-http\_ssl\_module --with-http\_gzip\_static\_module –with-http\_mp4\_module --with-http\_secure\_link\_module –with-pcre=~/pcre-8.31 --with-openssl=~/openssl-1.0.1c –with-zl…

---

## [Perl module get an empty body](https://www.ruby-forum.com/t/perl-module-get-an-empty-body/222065)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 9\
**Last updated:** [August 12, 2012, 12:32pm UTC](https://www.ruby-forum.com/t/perl-module-get-an-empty-body/222065 "2012-08-12T12:32:50Z")

</div>

Hi all, I’m using Nginx as a reverse proxy and I use Nginx perl module to inspect my requests and redirect to a different upstream. It works well but some of request\_body are empty and others just make nginx timeout. …

---

## [Nginx rewite novice help](https://www.ruby-forum.com/t/nginx-rewite-novice-help/222087)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 11, 2012, 9:12am UTC](https://www.ruby-forum.com/t/nginx-rewite-novice-help/222087 "2012-08-11T09:12:12Z")

</div>

http://www.example.com/tag.php?q=test to http://www.example.com/t/test thanks note i am begin Posted at Nginx Forum:

---

## [Add "pass\_only" option to ssl\_verify\_client to enable app-only validation](https://www.ruby-forum.com/t/add-pass-only-option-to-ssl-verify-client-to-enable-app-only-validation/226348)

<div class="topic-metadata">

**Author:** [@mk.fg](https://www.ruby-forum.com/u/mk.fg)\
**Replies:** 4\
**Last updated:** [August 11, 2012, 1:54am UTC](https://www.ruby-forum.com/t/add-pass-only-option-to-ssl-verify-client-to-enable-app-only-validation/226348 "2012-08-11T01:54:41Z")

</div>

Hello, Proposed patch enables use-case scenario when Nginx asks Client for TLS certificate but does not make any attempt to validate it, passing it to the application instead. Application itself if then free to decide …

---

## [IP problem in backend of reverse proxy](https://www.ruby-forum.com/t/ip-problem-in-backend-of-reverse-proxy/222086)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 11, 2012, 1:47am UTC](https://www.ruby-forum.com/t/ip-problem-in-backend-of-reverse-proxy/222086 "2012-08-11T01:47:05Z")

</div>

Hi, I’ve installed a reverse proxy with nginx. And I have 2 backends webservers (one nginx and one apache), i’m hosting MediaWiki on it. I want the backends servers to have the IP of the “real” client in their logs. …

---

## [How nginx cache manager delete file cached on disk](https://www.ruby-forum.com/t/how-nginx-cache-manager-delete-file-cached-on-disk/222054)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 10, 2012, 10:03pm UTC](https://www.ruby-forum.com/t/how-nginx-cache-manager-delete-file-cached-on-disk/222054 "2012-08-10T22:03:47Z")

</div>

We used nginx proxy to cache lots of static files. Our monitoring tool showed that the write I/O on the server spike once a day on 4am GMT time and server will slow down significantly because of the high IO. I couldn’…

---

## [Does Nginx allow to specify multiple root certificates for client certificate verification?](https://www.ruby-forum.com/t/does-nginx-allow-to-specify-multiple-root-certificates-for-client-certificate-verification/221794)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [August 10, 2012, 11:29am UTC](https://www.ruby-forum.com/t/does-nginx-allow-to-specify-multiple-root-certificates-for-client-certificate-verification/221794 "2012-08-10T11:29:04Z")

</div>

For a project as part of the European Grid Infrastructure (EGI) we need SSL client certificate verification for a service running on nginx. As there are several root CAs allowed within EGI, we need nginx to check them…

---

## [Weird issue between backend and upstream (0 bytes)](https://www.ruby-forum.com/t/weird-issue-between-backend-and-upstream-0-bytes/221899)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [August 10, 2012, 11:29am UTC](https://www.ruby-forum.com/t/weird-issue-between-backend-and-upstream-0-bytes/221899 "2012-08-10T11:29:04Z")

</div>

Hi list! I’ve a weid issue I’ve been banging my head without been able to understand what’s going on. Setup is as follow: 1 nginx 0.7.67 doing load balance to two backends. backend 1 with Nginx 1.2.2 and php-fpm 5.…

---

## [Trigger a git commit for static site generator](https://www.ruby-forum.com/t/trigger-a-git-commit-for-static-site-generator/222005)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 10, 2012, 12:42am UTC](https://www.ruby-forum.com/t/trigger-a-git-commit-for-static-site-generator/222005 "2012-08-10T00:42:48Z")

</div>

I build a small static site generator: just PUT markdown from a textarea to a git versioned file and post-commit markdown.sh (and little bit templating) to html for nginx. The only thing I miss the commit triggerd by …

---

## [How to give location of WebDAV lock database in nginx.conf?](https://www.ruby-forum.com/t/how-to-give-location-of-webdav-lock-database-in-nginx-conf/222044)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 9, 2012, 9:14pm UTC](https://www.ruby-forum.com/t/how-to-give-location-of-webdav-lock-database-in-nginx-conf/222044 "2012-08-09T21:14:40Z")

</div>

How to write the below code in nginx.conf which is currently in httpd.conf? # Location of the WebDAV lock database. DAVLockDB /var/lib/dav/lockdb I have written below: if (mod\_dav\_fs.c) { # Location of the …

---

## [Wwwhisper project announcement](https://www.ruby-forum.com/t/wwwhisper-project-announcement/222043)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 9, 2012, 9:11pm UTC](https://www.ruby-forum.com/t/wwwhisper-project-announcement/222043 "2012-08-09T21:11:16Z")

</div>

Hello, wwwhisper is a generic access control layer for nginx HTTP server. It utilizes Maxim D.‘s auth\_request module. wwwhisper allows to grant access to HTTP resources based on users’ email addresses. Mozilla Person…

---

## [Permisson Denied 403](https://www.ruby-forum.com/t/permisson-denied-403/222041)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 9, 2012, 8:46pm UTC](https://www.ruby-forum.com/t/permisson-denied-403/222041 "2012-08-09T20:46:42Z")

</div>

Hello People ! I begin a configure DSPAM, and the interface is basead in ngix. When I go to http://10.26.7.249:8080/dspam/cgi-bin/admin.cgi, come 403 Forbbiden. The configuration the DSPAM is abaixo,case any can to r…

---

## [Nginx 1.2.3 Rewrite Issue](https://www.ruby-forum.com/t/nginx-1-2-3-rewrite-issue/222033)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 9, 2012, 4:29pm UTC](https://www.ruby-forum.com/t/nginx-1-2-3-rewrite-issue/222033 "2012-08-09T16:29:28Z")

</div>

Wierd problem with Nginx 1.2.3 rewrites. See http://pastie.org/4433865 and note Line 30. The arg is part of the main url. Results in a 404 not found as the final url becomes “/test/index.php?x2\_SID=41efad7adffaa9d2596…

---

## [Nginx + Thin config on Windows for Rails app](https://www.ruby-forum.com/t/nginx-thin-config-on-windows-for-rails-app/222004)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 9, 2012, 4:07pm UTC](https://www.ruby-forum.com/t/nginx-thin-config-on-windows-for-rails-app/222004 "2012-08-09T16:07:13Z")

</div>

I’m somewhat confused about using Nginx and Thin for serving my Rails 3.2 app. Previously I had Thin serving my Rails app on Windows Server 2008 R2 without any issues. I would start Thin on the production server speci…

---

## [Connection refused](https://www.ruby-forum.com/t/connection-refused/222030)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 9, 2012, 2:54pm UTC](https://www.ruby-forum.com/t/connection-refused/222030 "2012-08-09T14:54:47Z")

</div>

Hello everybody, I have recently some problem with my nginx server and i need some help. My platform is linux 2.6.32 - SLESS 11 SP1 (x86\_64) (64Go RAM & 16 Cpu With Fusion IO Card ) Nginx server has two instances …

---

## [Nginx-sticky & nginx\_http\_upstream\_check modules not working together](https://www.ruby-forum.com/t/nginx-sticky-nginx-http-upstream-check-modules-not-working-together/220962)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 9\
**Last updated:** [August 9, 2012, 2:30pm UTC](https://www.ruby-forum.com/t/nginx-sticky-nginx-http-upstream-check-modules-not-working-together/220962 "2012-08-09T14:30:50Z")

</div>

Hi, We use nginx-sticky-module for session persistence and we planned to use nginx\_http\_upstream\_check\_module for to check the upstream service health. Scenario: We expect nginx\_http\_upstream\_check\_module to check th…

---

## [Nginx + SSL + Thin](https://www.ruby-forum.com/t/nginx-ssl-thin/222012)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 9, 2012, 9:57am UTC](https://www.ruby-forum.com/t/nginx-ssl-thin/222012 "2012-08-09T09:57:20Z")

</div>

Hello, I am trying to configure my web app to receive SSL support. I have nginx with 2 server{} clauses, one for http and another (almost identical) for https. I have a thin upstream server at port 3000, which only ge…

---

## [Multiple replacements with http\_sub\_module?](https://www.ruby-forum.com/t/multiple-replacements-with-http-sub-module/221995)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 9, 2012, 7:03am UTC](https://www.ruby-forum.com/t/multiple-replacements-with-http-sub-module/221995 "2012-08-09T07:03:51Z")

</div>

Hi, is there any way to ship around the limitation that only a single sub\_filter directive is supported per location? In fact I want/need to replace 3 “strings” (/fileadmin/, /typo3conf/ and /typo3temp/) within my ro…

---

## [Issues w/ client certificates from a self-signed CA](https://www.ruby-forum.com/t/issues-w-client-certificates-from-a-self-signed-ca/222014)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 9, 2012, 6:36am UTC](https://www.ruby-forum.com/t/issues-w-client-certificates-from-a-self-signed-ca/222014 "2012-08-09T06:36:22Z")

</div>

Hi, I’m trying to get client certificate authentication going using client certificates signed by a self-signed certificate authority created with openssl. After getting a bunch of ‘400 The SSL certificate error’ err…

---

## [Mark upstream proxy inoperable based on response body or arbitrary http status?](https://www.ruby-forum.com/t/mark-upstream-proxy-inoperable-based-on-response-body-or-arbitrary-http-status/222003)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 9, 2012, 5:40am UTC](https://www.ruby-forum.com/t/mark-upstream-proxy-inoperable-based-on-response-body-or-arbitrary-http-status/222003 "2012-08-09T05:40:52Z")

</div>

Hi, I just started playing with Nginx. My goal is to rate limit requests to a set of backend proxies, and it looks like I want to do this using the modules HttpUpstreamModule, HttpProxyModule, and HttpLimitReqModule …

---

## [Url rewrite for restful url](https://www.ruby-forum.com/t/url-rewrite-for-restful-url/222001)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 9, 2012, 1:58am UTC](https://www.ruby-forum.com/t/url-rewrite-for-restful-url/222001 "2012-08-09T01:58:17Z")

</div>

I have a Rails web app which has static files under dynamic restful urls. For example: /projects/1/attachments/some\_file.xls I want to setup Nginx to redirect to the static file on the server: /public/attachments/1/s…

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

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