# Server

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

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

---

## [Nginx VPS based?](https://www.ruby-forum.com/t/nginx-vps-based/241223)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [May 19, 2014, 2:53pm UTC](https://www.ruby-forum.com/t/nginx-vps-based/241223 "2014-05-19T14:53:55Z")

</div>

Hello For internal purpose ( students projects ) I need to create several VPS LAMP like but running under nginx It needs PHP, MYSQL + LDAP auth I need to have one VPS per project but running on the same nginx instan…

---

## [Help как получить список кук](https://www.ruby-forum.com/t/help/241212)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 19, 2014, 1:20pm UTC](https://www.ruby-forum.com/t/help/241212 "2014-05-19T13:20:49Z")

</div>

Что делаю не так? Дайте пример конфигурации nginx с проксированием кук в заголовках. Необходимо проксировать все куки. Не могу получить список кук в nginx(не статика). По возможности включите в конфиг кеширование. Пут…

---

## [Help нужно передать куки (need to transfer cookies)](https://www.ruby-forum.com/t/help-need-to-transfer-cookies/241209)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 19, 2014, 5:40am UTC](https://www.ruby-forum.com/t/help-need-to-transfer-cookies/241209 "2014-05-19T05:40:54Z")

</div>

Что делаю не так? Дайте пример конфигурации nginx с проксированием кук в заголовках. Необходимо проксировать все куки. Не могу получить список кук в nginx(не статика). По возможности включите в конфиг кеширование. Пут…

---

## [Problem with php script](https://www.ruby-forum.com/t/problem-with-php-script/241203)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 18, 2014, 4:54pm UTC](https://www.ruby-forum.com/t/problem-with-php-script/241203 "2014-05-18T16:54:04Z")

</div>

hi i’ using a script on apache and now i want to use it on nginx, but it does not work. hears my codes and config.(i use windows) please help me. sorry for my long topic nginx.conf: #user nobody; worker\_processes…

---

## [Serving wordpress from subdomain](https://www.ruby-forum.com/t/serving-wordpress-from-subdomain/241173)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 18, 2014, 10:51am UTC](https://www.ruby-forum.com/t/serving-wordpress-from-subdomain/241173 "2014-05-18T10:51:42Z")

</div>

My setup is nginx + php-fpm. I am running a web application on and I am serving a wordpress configuration from Domain Blog | Domain, Website, and Ecommerce Tips for Small Businesses. The problem is that the web app is…

---

## [Windows nginx 1.7.1.3 RedKnight](https://www.ruby-forum.com/t/windows-nginx-1-7-1-3-redknight/241192)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 17, 2014, 9:00pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-7-1-3-redknight/241192 "2014-05-17T21:00:28Z")

</div>

17:21 17-5-2014 nginx 1.7.1.3 RedKnight Go ask Alice, I think she’ll know, When logic and proportion have fallen dead And the white knight is talking backwards And the red queen’s lost her head Remember what the dormo…

---

## [Memcached](https://www.ruby-forum.com/t/memcached/241181)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [May 17, 2014, 9:26am UTC](https://www.ruby-forum.com/t/memcached/241181 "2014-05-17T09:26:34Z")

</div>

Hi: Have anyone used the thirdparty “memc-nginx-module” module for the memcached operation. I am interested for a memcached module. So, I am evaluating which one to use and their differences and the stability. I al…

---

## [Directly redirecting prefix location to named one](https://www.ruby-forum.com/t/directly-redirecting-prefix-location-to-named-one/241147)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 16, 2014, 10:27pm UTC](https://www.ruby-forum.com/t/directly-redirecting-prefix-location-to-named-one/241147 "2014-05-16T22:27:58Z")

</div>

I am considering the following locations: location / { proxy\_pass http://upstream; } location /documents/ { try\_files $uri @upstream; } location @upstream { proxy\_pass http://upstream; } I would like to have a …

---

## [Issue with nginx\_http\_push\_module](https://www.ruby-forum.com/t/issue-with-nginx-http-push-module/241186)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 16, 2014, 5:15pm UTC](https://www.ruby-forum.com/t/issue-with-nginx-http-push-module/241186 "2014-05-16T17:15:07Z")

</div>

We are using nginx as a web/comet server to provide push notification to our web-app. We have been running fine on nginx 1.0.11 and nginx\_http\_push\_module verson 0.692, on ubuntu 10.04 servers, for years without iss…

---

## [Unexpected SSL Behavior with Virtual Hosts](https://www.ruby-forum.com/t/unexpected-ssl-behavior-with-virtual-hosts/241148)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 16, 2014, 3:37pm UTC](https://www.ruby-forum.com/t/unexpected-ssl-behavior-with-virtual-hosts/241148 "2014-05-16T15:37:58Z")

</div>

Sorry for posting this twice. I posted it in the “How to” forum last week, there haven’t been any replies, so I thought I’d try again. I’m using nginx for multiple virtual hosts on the same physical server. The issu…

---

## [SSL Authentication: $ssl\_client\_verify](https://www.ruby-forum.com/t/ssl-authentication-ssl-client-verify/241172)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 16, 2014, 1:05pm UTC](https://www.ruby-forum.com/t/ssl-authentication-ssl-client-verify/241172 "2014-05-16T13:05:23Z")

</div>

I have the following server configuration for client-authentication: ssl on; ssl\_certificate /.../certificate.pem; ssl\_certificate\_key /.../private.pem; ssl\_client\_certificate /.../ca\_cert.pem; ssl\_verify\_client on…

---

## [Perl module for nginx](https://www.ruby-forum.com/t/perl-module-for-nginx/241145)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 16, 2014, 2:36am UTC](https://www.ruby-forum.com/t/perl-module-for-nginx/241145 "2014-05-16T02:36:58Z")

</div>

Hello, I am trying to build a perl access handler module into nginx, thanks to this API : http://nginx.org/en/docs/http/ngx\_http\_perl\_module.html but I have some difficulties to do so. Indeed, I would need some tool…

---

## [The patch of Nginx SSL: PEM pass phrase problem](https://www.ruby-forum.com/t/the-patch-of-nginx-ssl-pem-pass-phrase-problem/211364)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 16, 2014, 12:02am UTC](https://www.ruby-forum.com/t/the-patch-of-nginx-ssl-pem-pass-phrase-problem/211364 "2014-05-16T00:02:23Z")

</div>

Hi, If we configured SSL in Nginx and the Private Key files are encrypted, then the following dialog occurs at Nginx startup time: Enter PEM pass phrase: It maybe difficulty for management. Sometimes it’s needed to a…

---

## [Invalid URL prefix errors - auth\_request with proxy pass to https](https://www.ruby-forum.com/t/invalid-url-prefix-errors-auth-request-with-proxy-pass-to-https/241165)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 15, 2014, 11:57pm UTC](https://www.ruby-forum.com/t/invalid-url-prefix-errors-auth-request-with-proxy-pass-to-https/241165 "2014-05-15T23:57:28Z")

</div>

I want to authorize requests using a remote server that is using ssl. When I make requests with https I get nginx errors but when I use http it works. Now that I am writing this I’m thinking the issue is that the sit…

---

## [Embedded perl for nginx official release?](https://www.ruby-forum.com/t/embedded-perl-for-nginx-official-release/241138)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 15, 2014, 10:15pm UTC](https://www.ruby-forum.com/t/embedded-perl-for-nginx-official-release/241138 "2014-05-15T22:15:22Z")

</div>

Hi all, I am searching for information about the embedded perl Nginx roadmap… Is it planned to replace standard nginx by this one ? Or to integrate embedded perl into nginx official release ? Or maybe the two projects …

---

## [How does the Proxy Cache Key Lookup actually happen?](https://www.ruby-forum.com/t/how-does-the-proxy-cache-key-lookup-actually-happen/240900)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 15, 2014, 6:05pm UTC](https://www.ruby-forum.com/t/how-does-the-proxy-cache-key-lookup-actually-happen/240900 "2014-05-15T18:05:38Z")

</div>

I am using part of the request\_body as the Cache\_key in setting up the Proxy\_cache\_key and I was wondering how the actual lookup / matching of the Cache would occur? From the documentation, it looks like it’s a MD5 e…

---

## [Return JSON for 404 error instead of html](https://www.ruby-forum.com/t/return-json-for-404-error-instead-of-html/241093)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 14\
**Last updated:** [May 15, 2014, 9:18am UTC](https://www.ruby-forum.com/t/return-json-for-404-error-instead-of-html/241093 "2014-05-15T09:18:28Z")

</div>

How can I return a custom JSON body on 404, instead of the default html of: \<head\> \<title\>404 Not Found\</title\> \</head\> \<body bgcolor="white"\> \<center\> \<h1\>404 Not Found\</h1\> \</center\> \<hr\> …

---

## [Compile nginx 1.4.7 --with-http\_rewrite\_module Error](https://www.ruby-forum.com/t/compile-nginx-1-4-7-with-http-rewrite-module-error/241099)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 14, 2014, 2:19am UTC](https://www.ruby-forum.com/t/compile-nginx-1-4-7-with-http-rewrite-module-error/241099 "2014-05-14T02:19:20Z")

</div>

hi: I compiled nginx1.4.7,add to --with-pcre=/root/nginx/pcre-8.34 –with-http\_rewrite\_module parameter;An error occurred :./configure: error: invalid option “–with-http\_rewrite\_module” ,Trouble who can talk about wha…

---

## [Subs filter error](https://www.ruby-forum.com/t/subs-filter-error/241019)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [May 13, 2014, 11:08pm UTC](https://www.ruby-forum.com/t/subs-filter-error/241019 "2014-05-13T23:08:22Z")

</div>

I’m running a TPB proxy on nginx using subs\_filter to monetize the proxy with ads, and I keep getting this error every time someone loads a page. subs filter header ignored, this may be a compressed response. while r…

---

## [Fastcgi cache path keys zone=name:size](https://www.ruby-forum.com/t/fastcgi-cache-path-keys-zone-name-size/241009)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [May 13, 2014, 2:17pm UTC](https://www.ruby-forum.com/t/fastcgi-cache-path-keys-zone-name-size/241009 "2014-05-13T14:17:54Z")

</div>

Hi all I’ve simple question but unfortunately i cant’ find any information. How many entries can handle 1MB of memory configured by size in keys\_zone=name:size ? Thanks in advance for your reply Posted at Nginx Foru…

---

## [Http error on upload!](https://www.ruby-forum.com/t/http-error-on-upload/241078)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 13, 2014, 1:41am UTC](https://www.ruby-forum.com/t/http-error-on-upload/241078 "2014-05-13T01:41:57Z")

</div>

We’re receiving http error most of the time when uploading files with 500MB. We’re using nginx+php-fpm. nginx client\_max\_body\_size is set to 3000M. php.ini settings are upload\_max\_size 3000M post\_max\_sive 3000M …

---

## [CGI support - Sorry to bring it up](https://www.ruby-forum.com/t/cgi-support-sorry-to-bring-it-up/240986)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 13, 2014, 1:35am UTC](https://www.ruby-forum.com/t/cgi-support-sorry-to-bring-it-up/240986 "2014-05-13T01:35:12Z")

</div>

Hi All, We’ve built a new EC2 server based on Virtualmin + Nginx. I’ve seen Nginx recommended a lot over the years so thought if we are moving to the cloud, and want things to be optimal, then it’s time to give it a …

---

## [Nginx cache and default error pages](https://www.ruby-forum.com/t/nginx-cache-and-default-error-pages/241063)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 12, 2014, 8:36pm UTC](https://www.ruby-forum.com/t/nginx-cache-and-default-error-pages/241063 "2014-05-12T20:36:40Z")

</div>

Quick question: Are hardcoded default error pages being cached when \*\_cache directives specify their HTTP error code? Or does it only apply to pages specified with the error\_page directive? ​​ B. R.

---

## [SSL Client Authentication](https://www.ruby-forum.com/t/ssl-client-authentication/241076)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 12, 2014, 7:30pm UTC](https://www.ruby-forum.com/t/ssl-client-authentication/241076 "2014-05-12T19:30:11Z")

</div>

I have the following server configuration for client-authentication: ssl on; ssl\_certificate /.../deploy\_api\_certificate.pem; ssl\_certificate\_key /.../deploy\_api\_private.pem; ssl\_client\_certificate /.../ca\_cert.pem…

---

## [SCGI and uwsgi modules docs](https://www.ruby-forum.com/t/scgi-and-uwsgi-modules-docs/241064)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 12, 2014, 6:59pm UTC](https://www.ruby-forum.com/t/scgi-and-uwsgi-modules-docs/241064 "2014-05-12T18:59:25Z")

</div>

Those modules seem to be part of nginx since 0.8http://forum.nginx.org/read.php?27,134561,134561#msg-134561but I could not find any docs on the uwsgi module on the official website. Why that? B. R.

---

## [Proxying POST requests for the given conditions](https://www.ruby-forum.com/t/proxying-post-requests-for-the-given-conditions/241071)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 12, 2014, 9:30am UTC](https://www.ruby-forum.com/t/proxying-post-requests-for-the-given-conditions/241071 "2014-05-12T09:30:05Z")

</div>

Hi, For all POST requests to nginx. We want to proxy\_pass to http://192.168.1.1:8000 if test=1 or to http://192.168.1.2:8080 if test=0 How to configure the above. Thanks, M. G.

---

## [Strange advisory](https://www.ruby-forum.com/t/strange-advisory/241051)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [May 11, 2014, 11:13am UTC](https://www.ruby-forum.com/t/strange-advisory/241051 "2014-05-11T11:13:22Z")

</div>

I just saw something strange on http://nginx.org/en/security\_advisories.html : “An error log data are not sanitized Severity: none CVE-2009-4487 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4487 Not vuln…

---

## [WSS Proxy to a Jetty AppServer](https://www.ruby-forum.com/t/wss-proxy-to-a-jetty-appserver/241052)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 11, 2014, 12:12am UTC](https://www.ruby-forum.com/t/wss-proxy-to-a-jetty-appserver/241052 "2014-05-11T00:12:10Z")

</div>

Hi, Im trying to proxy the wss (websockets) to a jetty server I have jetty server listening on 8085 http I’ve made the ssl proxy to the 8085 fine I’ve made the ws proxy to jetty ok getting web sockets connecting and …

---

## [Multiple reverse proxies that read from /static/?](https://www.ruby-forum.com/t/multiple-reverse-proxies-that-read-from-static/241000)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 9, 2014, 3:20pm UTC](https://www.ruby-forum.com/t/multiple-reverse-proxies-that-read-from-static/241000 "2014-05-09T15:20:43Z")

</div>

Hello, Sorry for the beginner question, but I can’t seem to find an example anywhere that shows how to handle nginx hosting more than one reverse proxy (such as a Django app and an Ipython notebook) where both system…

---

## [$arg\_name as an array](https://www.ruby-forum.com/t/arg-name-as-an-array/241018)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [May 9, 2014, 12:19pm UTC](https://www.ruby-forum.com/t/arg-name-as-an-array/241018 "2014-05-09T12:19:07Z")

</div>

Hello, Does it possible to use $arg\_name as an array? For example I’ve query string : ?opt\[test\]=1 I’d like to get value od opt\[test\] but $arg\_opt\[test\] doesn’t work. Is there special syntax for that case? Posted a…

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

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