# Server

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

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

---

## [Server\_group { } directive?](https://www.ruby-forum.com/t/server-group-directive/229644)

<div class="topic-metadata">

**Author:** [@Jaap\_Taal](https://www.ruby-forum.com/u/Jaap_Taal)\
**Replies:** 0\
**Last updated:** [January 16, 2013, 11:59am UTC](https://www.ruby-forum.com/t/server-group-directive/229644 "2013-01-16T11:59:56Z")

</div>

Hey there, I was reading about global if’s / locations and why it isn’t possible. I would like to suggest the following, maybe it’s been suggested before, who knows: server\_group { this if will be duplicated to eac…

---

## [Why does the unauthenticated SMTP proxy include auth\_http statement?](https://www.ruby-forum.com/t/why-does-the-unauthenticated-smtp-proxy-include-auth-http-statement/229655)

<div class="topic-metadata">

**Author:** [@Andy\_DSArcy\_Jewell](https://www.ruby-forum.com/u/Andy_DSArcy_Jewell)\
**Replies:** 1\
**Last updated:** [January 16, 2013, 11:25am UTC](https://www.ruby-forum.com/t/why-does-the-unauthenticated-smtp-proxy-include-auth-http-statement/229655 "2013-01-16T11:25:28Z")

</div>

Hi all, Can anyone throw some light on this for me please? Looking at: It says “The example is for unauthenticated e-mail as you can see”, but the example clearly shows authentication: mail { server\_name mail.som…

---

## [Does anyone know of an Interface that can provide/manage text configuration snippets for nginx](https://www.ruby-forum.com/t/does-anyone-know-of-an-interface-that-can-provide-manage-text-configuration-snippets-for-nginx/229560)

<div class="topic-metadata">

**Author:** [@buzibuzi](https://www.ruby-forum.com/u/buzibuzi)\
**Replies:** 2\
**Last updated:** [January 16, 2013, 10:28am UTC](https://www.ruby-forum.com/t/does-anyone-know-of-an-interface-that-can-provide-manage-text-configuration-snippets-for-nginx/229560 "2013-01-16T10:28:33Z")

</div>

Hi,im a newbie to Nginx. I’m in search of an Interface that can provide/manage “text configuration-snippets” for Nginx. As my server is intended to serve as a reverse proxy for multiple sites with dynamic fast-chang…

---

## [Difficulties with LD\_PRELOAD and Intercepting Sendfile](https://www.ruby-forum.com/t/difficulties-with-ld-preload-and-intercepting-sendfile/229392)

<div class="topic-metadata">

**Author:** [@Ben\_Cassell](https://www.ruby-forum.com/u/Ben_Cassell)\
**Replies:** 0\
**Last updated:** [January 15, 2013, 11:04pm UTC](https://www.ruby-forum.com/t/difficulties-with-ld-preload-and-intercepting-sendfile/229392 "2013-01-15T23:04:14Z")

</div>

We have a custom library shim that we are using to intercept libc calls from applications. We are loading this shim beneath nginx 1.2.3 using the LD\_PRELOAD flag on both Linux and FreeBSD environments. After setting e…

---

## [Nginx 1.3.11 and spdy v58 - thank you](https://www.ruby-forum.com/t/nginx-1-3-11-and-spdy-v58-thank-you/225570)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 15, 2013, 8:32pm UTC](https://www.ruby-forum.com/t/nginx-1-3-11-and-spdy-v58-thank-you/225570 "2013-01-15T20:32:54Z")

</div>

I just wanted to thank the developers for releasing Nginx v1.3.11 and the optimized SPDY patch v58. I run a non-profit https site serving static content (10KB-1MB) averaging 500 connections per second on FreeBSD 9.1…

---

## [Socket address relative to prefix](https://www.ruby-forum.com/t/socket-address-relative-to-prefix/198401)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [January 15, 2013, 7:31pm UTC](https://www.ruby-forum.com/t/socket-address-relative-to-prefix/198401 "2013-01-15T19:31:32Z")

</div>

Hi there. I’m using nginx (v0.8.53 on Arch Linux) for web application development and testing, and I’ve encountered a problem. I’ll specify the problem first and then explain why I ran into it. Problem: Is there a w…

---

## [1st Post](https://www.ruby-forum.com/t/1st-post/229517)

<div class="topic-metadata">

**Author:** [@Edward\_Songy](https://www.ruby-forum.com/u/Edward_Songy)\
**Replies:** 0\
**Last updated:** [January 15, 2013, 5:34am UTC](https://www.ruby-forum.com/t/1st-post/229517 "2013-01-15T05:34:22Z")

</div>

Hi All, I have embarked on the path to get nginx to work with MS Windows. I am going to follow the instructions provided in the sites of Eksith Rodrigo explicitely, and ask that any who have succeded in getting ‘php…

---

## [Cookie and first load balancing](https://www.ruby-forum.com/t/cookie-and-first-load-balancing/229332)

<div class="topic-metadata">

**Author:** [@KT\_Walrus](https://www.ruby-forum.com/u/KT_Walrus)\
**Replies:** 0\
**Last updated:** [January 15, 2013, 12:26am UTC](https://www.ruby-forum.com/t/cookie-and-first-load-balancing/229332 "2013-01-15T00:26:15Z")

</div>

The only reason I need haproxy in my software stack is for “cookie persistence” and “first” load balancing. I’d like to use nginx instead. Can I do the equivalent of haproxy “cookie persistence” in nginx by testing if…

---

## [I have a problem with my virtual block](https://www.ruby-forum.com/t/i-have-a-problem-with-my-virtual-block/225547)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 14, 2013, 9:33pm UTC](https://www.ruby-forum.com/t/i-have-a-problem-with-my-virtual-block/225547 "2013-01-14T21:33:54Z")

</div>

hy when i try to go to my website in local like http://mediawiki.dedibox.fr/, i get the message It works! This is the default web page for this server. etc… but normally i must have my index.php and not that , i don…

---

## [The quesion will be kill me](https://www.ruby-forum.com/t/the-quesion-will-be-kill-me/225543)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 14, 2013, 4:02pm UTC](https://www.ruby-forum.com/t/the-quesion-will-be-kill-me/225543 "2013-01-14T16:02:40Z")

</div>

Using nginx make proxy server, the backend server are nginx,apache Sometimes,the web is not ok ! An error occurred. Sorry, the page you are looking for is currently unavailable. Please try again later. If you are t…

---

## [Htaccess to nginx](https://www.ruby-forum.com/t/htaccess-to-nginx/229457)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 14, 2013, 1:06pm UTC](https://www.ruby-forum.com/t/htaccess-to-nginx/229457 "2013-01-14T13:06:47Z")

</div>

Hi guys! I have this rewrite rule in apache: RewriteCond %{REQUEST\_FILENAME} !-f RewriteCond %{REQUEST\_FILENAME} !-d RewriteCond %{REQUEST\_FILENAME}.php -f RewriteRule ^(\[\\w.-\])(?:/(.))?$ $1.php?q=$2 \[QSA,L\] I need…

---

## [Re: Re: Multiple site with PHP-FPM home directory permission](https://www.ruby-forum.com/t/re-re-multiple-site-with-php-fpm-home-directory-permission/225541)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 14, 2013, 1:05pm UTC](https://www.ruby-forum.com/t/re-re-multiple-site-with-php-fpm-home-directory-permission/225541 "2013-01-14T13:05:02Z")

</div>

Thx! Its working like this. On 11/01/13 21:07, removed\_email\_address@domain.invalid wrote: in the /var/www directory i have all site webroot like: domain.tld domain1.tld etc… every folder have the connected php-f…

---

## [Variables and includes](https://www.ruby-forum.com/t/variables-and-includes/225523)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [January 14, 2013, 12:10pm UTC](https://www.ruby-forum.com/t/variables-and-includes/225523 "2013-01-14T12:10:08Z")

</div>

Is it possible to use a variable from one configuration in a included config file? Example: set $a = “hello”; include test.conf; \[test.conf\] if ($a = “hello”) { set $a = “world”; } something that works with $a W…

---

## [Perceived poor performance](https://www.ruby-forum.com/t/perceived-poor-performance/225525)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 14, 2013, 1:20am UTC](https://www.ruby-forum.com/t/perceived-poor-performance/225525 "2013-01-14T01:20:36Z")

</div>

I don’t know if this actually IS poor performance - it just feels like it. I’m running nginx and php-fpm on a VirtualBox virtual server. No other services are running (other than the standard Ubuntu Precise minor ite…

---

## [Otrs on nginx with fcgiwrap](https://www.ruby-forum.com/t/otrs-on-nginx-with-fcgiwrap/225530)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 13, 2013, 10:52pm UTC](https://www.ruby-forum.com/t/otrs-on-nginx-with-fcgiwrap/225530 "2013-01-13T22:52:08Z")

</div>

Hi There, I’m trying to run OTRS on Debian with nginx and fcgiwrap. But all I get is this error: FastCGI sent in stderr: “Cannot get script name, is DOCUMENT\_ROOT and SCRIPT\_NAME set and is the script executable?” …

---

## [Fastcgi wrapper for windows](https://www.ruby-forum.com/t/fastcgi-wrapper-for-windows/225517)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 13, 2013, 12:03pm UTC](https://www.ruby-forum.com/t/fastcgi-wrapper-for-windows/225517 "2013-01-13T12:03:44Z")

</div>

is there any?

---

## [Request time of 60s when denying SSL requests?](https://www.ruby-forum.com/t/request-time-of-60s-when-denying-ssl-requests/229628)

<div class="topic-metadata">

**Author:** [@JB\_Hobbs](https://www.ruby-forum.com/u/JB_Hobbs)\
**Replies:** 7\
**Last updated:** [January 13, 2013, 2:58am UTC](https://www.ruby-forum.com/t/request-time-of-60s-when-denying-ssl-requests/229628 "2013-01-13T02:58:08Z")

</div>

I purposely use the following rule to deny both http and https requests made to the root or our nginx server: location = / { access\_log /logs/nginx/forbidden.log main; deny all; } If you enter http://whatever.domaina…

---

## [More mongrel questions](https://www.ruby-forum.com/t/more-mongrel-questions/229270)

<div class="topic-metadata">

**Author:** [@James\_Bendowsky](https://www.ruby-forum.com/u/James_Bendowsky)\
**Replies:** 0\
**Last updated:** [January 11, 2013, 8:01pm UTC](https://www.ruby-forum.com/t/more-mongrel-questions/229270 "2013-01-11T20:01:14Z")

</div>

I would like to confirm my understanding of something and then ask a question. Mongrel runs behind an HTTP server. It interacts between the http server and the ruby interpreter. Question: Where does the mongrel serve…

---

## [Nginx, PHP, Wordpress, VirtualBox](https://www.ruby-forum.com/t/nginx-php-wordpress-virtualbox/229553)

<div class="topic-metadata">

**Author:** [@Daniel\_LSMiller](https://www.ruby-forum.com/u/Daniel_LSMiller)\
**Replies:** 6\
**Last updated:** [January 11, 2013, 7:44pm UTC](https://www.ruby-forum.com/t/nginx-php-wordpress-virtualbox/229553 "2013-01-11T19:44:18Z")

</div>

Dunno if anyone’s running anything similar. I recently shifted to Nginx from Cherokee - and in so doing I setup a virtual server using VirtualBox to run it in. My primary use is for serving a pair of Wordpress sites…

---

## [Nginx-1.3.11](https://www.ruby-forum.com/t/nginx-1-3-11/225484)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 11, 2013, 5:43pm UTC](https://www.ruby-forum.com/t/nginx-1-3-11/225484 "2013-01-11T17:43:21Z")

</div>

Changes with nginx 1.3.11 10 Jan 2013 \*) Bugfix: a segmentation fault might occur if logging was used; the bug had appeared in 1.3.10. \*) Bugfix: the "proxy\_pass" directive di…

---

## [OCSP\_basic\_verify() failed](https://www.ruby-forum.com/t/ocsp-basic-verify-failed/225453)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 11, 2013, 3:48pm UTC](https://www.ruby-forum.com/t/ocsp-basic-verify-failed/225453 "2013-01-11T15:48:47Z")

</div>

I tried nginx 1.3.10 with ocsp stapling… but I get this error: 2013/01/09 09:14:52 \[error\] 27663#0: OCSP\_basic\_verify() failed (SSL: error:27069065:OCSP routines:OCSP\_basic\_verify:certificate verify error:Verify error…

---

## [Who can help me?](https://www.ruby-forum.com/t/who-can-help-me/229255)

<div class="topic-metadata">

**Author:** [@refercon](https://www.ruby-forum.com/u/refercon)\
**Replies:** 1\
**Last updated:** [January 11, 2013, 2:24pm UTC](https://www.ruby-forum.com/t/who-can-help-me/229255 "2013-01-11T14:24:03Z")

</div>

The nginx make proxy server… Some time was ok,some time : \[error\] 18528#0: \*50881 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 222.178.73.129, server: oa.owensch…

---

## [Zero day security hole in Java plugin](https://www.ruby-forum.com/t/zero-day-security-hole-in-java-plugin/225501)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 11, 2013, 12:35pm UTC](https://www.ruby-forum.com/t/zero-day-security-hole-in-java-plugin/225501 "2013-01-11T12:35:21Z")

</div>

Hello, a friend of mine called my attention to the following link: I’m new to the server’s world, so I’m not sure, wether this is “just” a Java problem, but also a nginx one, since the server in question is nginx 1.…

---

## [Multiple site with PHP-FPM home directory permission](https://www.ruby-forum.com/t/multiple-site-with-php-fpm-home-directory-permission/225496)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 11, 2013, 10:28am UTC](https://www.ruby-forum.com/t/multiple-site-with-php-fpm-home-directory-permission/225496 "2013-01-11T10:28:32Z")

</div>

Hi Guys! I have an nginx server with multiple virtual hosted site. Every site running with unique user permission using PHP-FPM. Its all fine, i see the user variable in the phpinfo page and i see the right username. …

---

## [Wordpress Multisite Subdomain](https://www.ruby-forum.com/t/wordpress-multisite-subdomain/225492)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 11, 2013, 1:46am UTC](https://www.ruby-forum.com/t/wordpress-multisite-subdomain/225492 "2013-01-11T01:46:55Z")

</div>

I have Wordpress currently setup with subdomain multisite. I have multiple domains that are aliases for a primary domain. With the rules I have in place, going to one of the secondary domains results in a hard redir…

---

## [Remove URI string?](https://www.ruby-forum.com/t/remove-uri-string/229354)

<div class="topic-metadata">

**Author:** [@daveyfx](https://www.ruby-forum.com/u/daveyfx)\
**Replies:** 7\
**Last updated:** [January 11, 2013, 12:26am UTC](https://www.ruby-forum.com/t/remove-uri-string/229354 "2013-01-11T00:26:08Z")

</div>

Hello all - I would like to strip all request\_uri strings for a group of server names and serve up an index page. Example: Client requests http://host1.domain.com/blah, nginx will direct client to http://host1.dom…

---

## [Ngx\_slab\_alloc() failed: no memory (not push, not key space)](https://www.ruby-forum.com/t/ngx-slab-alloc-failed-no-memory-not-push-not-key-space/229603)

<div class="topic-metadata">

**Author:** [@Maxwell\_Lamb](https://www.ruby-forum.com/u/Maxwell_Lamb)\
**Replies:** 0\
**Last updated:** [January 10, 2013, 5:02pm UTC](https://www.ruby-forum.com/t/ngx-slab-alloc-failed-no-memory-not-push-not-key-space/229603 "2013-01-10T17:02:12Z")

</div>

Hi Folks, As ever, thanks for the mindblowingly great webserver. Unfortunately, we’ve run into an odd little issue. We’ve recently started auto-scaling at AWS, and we add and remove upstream hosts from the config via…

---

## [Weird SSL Issue](https://www.ruby-forum.com/t/weird-ssl-issue/225482)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 10, 2013, 1:12pm UTC](https://www.ruby-forum.com/t/weird-ssl-issue/225482 "2013-01-10T13:12:38Z")

</div>

I use nginx to host multiple websites, and one of them has a valid SSL certificate. I’ve noticed recently (from early November 2012 according to Google Webmaster Tools), that if I make an SSL connection to one of the …

---

## [Log module](https://www.ruby-forum.com/t/log-module/225477)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 10, 2013, 9:49am UTC](https://www.ruby-forum.com/t/log-module/225477 "2013-01-10T09:49:52Z")

</div>

hello: when i using the log module to write the acess\_log.there are three set-cookie line in reponse hearders, But the log module only writes the first set-cookie of response headers into log. here is my log\_format…

---

## [Two questions/feature requests based on first-time setup experience](https://www.ruby-forum.com/t/two-questions-feature-requests-based-on-first-time-setup-experience/225475)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 10, 2013, 7:17am UTC](https://www.ruby-forum.com/t/two-questions-feature-requests-based-on-first-time-setup-experience/225475 "2013-01-10T07:17:21Z")

</div>

Hi all, I just got nginx/uwsgi up and running on Ubuntu Server 12.04. It works great without a great deal of configuration (which is awesome), but and I did have two questions/comments: AFAIK, /etc/init.d/nginx star…

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

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