# Server

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

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

---

## [404 error with rewriting rule](https://www.ruby-forum.com/t/404-error-with-rewriting-rule/240199)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 2, 2014, 11:12am UTC](https://www.ruby-forum.com/t/404-error-with-rewriting-rule/240199 "2014-04-02T11:12:36Z")

</div>

Hello, With this rule : rewrite ^/(\[^/\])(/.\*) $2?locale=$1&$query\_string last; I get a 404 error when I try go on http://example.org/en/test.php instead of http://example.org/test.php?locale=en Anyone have any idea…

---

## [Cache permissions problem](https://www.ruby-forum.com/t/cache-permissions-problem/240200)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 1, 2014, 9:03pm UTC](https://www.ruby-forum.com/t/cache-permissions-problem/240200 "2014-04-01T21:03:16Z")

</div>

Hello. I’ve a custom build of nginx (1.4.6) with ngx\_cache\_purge module (2.1) In the config file I’ve a cache zone declared like this: proxy\_cache\_path /tmp/nginx\_cache keys\_zone=MYCACHE:10m; I don’t have specified a…

---

## [Binary upgrade from package](https://www.ruby-forum.com/t/binary-upgrade-from-package/240189)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 1, 2014, 1:49pm UTC](https://www.ruby-forum.com/t/binary-upgrade-from-package/240189 "2014-04-01T13:49:19Z")

</div>

Hello, I am wondering what steps the upgrade through official packages of an existing nginx process follow. I am ujsing official Debian packages. More precisely, when the new binary is installed through the package …

---

## [Nginx doesn't seem to register configuration changes](https://www.ruby-forum.com/t/nginx-doesnt-seem-to-register-configuration-changes/240188)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 1, 2014, 1:42pm UTC](https://www.ruby-forum.com/t/nginx-doesnt-seem-to-register-configuration-changes/240188 "2014-04-01T13:42:53Z")

</div>

Hi \*, I’m using nginx as reverse proxy for some puma backends via unix socket. The problem I’m having right now is that even after several reloads nginx doesn’t seem to use the changes I did to the configuration. I h…

---

## [Tunnel TLS similar to Websockets](https://www.ruby-forum.com/t/tunnel-tls-similar-to-websockets/240187)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 1, 2014, 9:19am UTC](https://www.ruby-forum.com/t/tunnel-tls-similar-to-websockets/240187 "2014-04-01T09:19:27Z")

</div>

Hi, Is it possible to tunnel TLS on one host without terminating it like Websockets are tunneled? http://nginx.org/en/docs/http/websocket.html location / { proxy\_pass http://backend; proxy\_http\_version 1.1; proxy\_…

---

## [Defining a default server for when vhost does not exist for requested hostname (including blank host](https://www.ruby-forum.com/t/defining-a-default-server-for-when-vhost-does-not-exist-for-requested-hostname-including-blank-host/240121)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [April 1, 2014, 3:38am UTC](https://www.ruby-forum.com/t/defining-a-default-server-for-when-vhost-does-not-exist-for-requested-hostname-including-blank-host/240121 "2014-04-01T03:38:59Z")

</div>

Hello, We run multiple vhosts in nginx. Occasionally, a vhost will be mis-configured or disabled (via the website management software that we use), and public requests for the domain will fall-back to nginx’s default…

---

## [Handling large POST data in nginx module](https://www.ruby-forum.com/t/handling-large-post-data-in-nginx-module/240141)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 31, 2014, 2:59pm UTC](https://www.ruby-forum.com/t/handling-large-post-data-in-nginx-module/240141 "2014-03-31T14:59:50Z")

</div>

Hi, I wrote an nginx module that handles POST data and returns back the same (something similar to echo\_read\_request\_body in echo module) however, in echo module the input buffer is passed as is to output buffer. Ho…

---

## [Custom error page on SSL negotiation failure](https://www.ruby-forum.com/t/custom-error-page-on-ssl-negotiation-failure/239855)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 31, 2014, 12:58pm UTC](https://www.ruby-forum.com/t/custom-error-page-on-ssl-negotiation-failure/239855 "2014-03-31T12:58:51Z")

</div>

Hi, I am trying to stop my customers that are trying to connect from an insecure web browser (my goal is to use only TLS1.2). I have read the documentation and I am able to set correct ssl ciphers and protocols on th…

---

## [OpenResty 1.5.11.1 released](https://www.ruby-forum.com/t/openresty-1-5-11-1-released/240157)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [March 31, 2014, 7:26am UTC](https://www.ruby-forum.com/t/openresty-1-5-11-1-released/240157 "2014-03-31T07:26:32Z")

</div>

Hello! I am happy to announce the new 1.5.11.1 release of the OpenResty bundle: http://openresty.org/#Download Special thanks go to all our contributors for making this happen! Below is the complete change log for th…

---

## [Debug logs not getting generated](https://www.ruby-forum.com/t/debug-logs-not-getting-generated/240126)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [March 30, 2014, 7:36pm UTC](https://www.ruby-forum.com/t/debug-logs-not-getting-generated/240126 "2014-03-30T19:36:22Z")

</div>

Hello, I followed this A debugging log. Have nginx built with --with-debug and set the the error\_log in the following 2 files (nginx.conf.main & inside http { } in nginx.conf.web). But still i don’t see debug level …

---

## [Change document and problems with permission](https://www.ruby-forum.com/t/change-document-and-problems-with-permission/240134)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [March 30, 2014, 5:45am UTC](https://www.ruby-forum.com/t/change-document-and-problems-with-permission/240134 "2014-03-30T05:45:54Z")

</div>

Hi, I’m trying use nginx in my home folder. What I have to do? Look at my files, please: /etc/nginx/nginx.conf http://p.ngx.cc/94 /etc/php/php-fpm.conf http://p.ngx.cc/1e3b I type: "code setfacl -m u:http:x /ho…

---

## [Re: Don't understand why this directive causes a 404 in mp3 only](https://www.ruby-forum.com/t/re-dont-understand-why-this-directive-causes-a-404-in-mp3-only/240136)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [March 29, 2014, 7:24pm UTC](https://www.ruby-forum.com/t/re-dont-understand-why-this-directive-causes-a-404-in-mp3-only/240136 "2014-03-29T19:24:09Z")

</div>

On Sat, Mar 29, 2014 at 12:12 PM, Adie N. wrote: On Sat, Mar 29, 2014 at 11:50 PM, Doc \< removed\_email\_address@domain.invalid \<javascript:parent.wgMail.openComposeWindow(‘removed\_email\_address@domain.invalid’)\> wrot…

---

## [Don't understand why this directive causes a 404 in mp3 only](https://www.ruby-forum.com/t/dont-understand-why-this-directive-causes-a-404-in-mp3-only/240131)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 29, 2014, 6:12pm UTC](https://www.ruby-forum.com/t/dont-understand-why-this-directive-causes-a-404-in-mp3-only/240131 "2014-03-29T18:12:53Z")

</div>

On my site, music can be played by going to http://mysite.com/music/billyjoel/song.mp3 (for example). You can download the same song by going to http://mysite.com/music/billyjoel/download/song.mp3. The path including…

---

## [Accessing HTTP request headers in nginx module](https://www.ruby-forum.com/t/accessing-http-request-headers-in-nginx-module/240109)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [March 28, 2014, 9:07pm UTC](https://www.ruby-forum.com/t/accessing-http-request-headers-in-nginx-module/240109 "2014-03-28T21:07:38Z")

</div>

Hi, I am writing a small nginx module that needs to get/parse HTTP request header and depending on it’s value, needs to be do something. ex. curl -X POST -H “OPERATION: add” http://localhost:80/calc to add 2 number…

---

## [One webdav per user to their home directories?](https://www.ruby-forum.com/t/one-webdav-per-user-to-their-home-directories/240118)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 28, 2014, 5:04pm UTC](https://www.ruby-forum.com/t/one-webdav-per-user-to-their-home-directories/240118 "2014-03-28T17:04:44Z")

</div>

hello I would like to setup the following configuration , run one nginx instance per user to let them access to their home directories thru the webdav protocol + LDAP AUTH like the following https://myserver.domai…

---

## [Nginx 1.4.1 - slow transfers / connection resets](https://www.ruby-forum.com/t/nginx-1-4-1-slow-transfers-connection-resets/236260)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 10\
**Last updated:** [March 28, 2014, 11:42am UTC](https://www.ruby-forum.com/t/nginx-1-4-1-slow-transfers-connection-resets/236260 "2014-03-28T11:42:06Z")

</div>

Hi, I have a nginx (stock ubuntu config) as a reverse proxy in front of a haproxy in front of 5 more nginx machines which use fastcgi to talk to php-fpm. My issue is with the frontend proxy and long-running, veeeeer…

---

## [Build nginx on Mac OS X mavericks](https://www.ruby-forum.com/t/build-nginx-on-mac-os-x-mavericks/240092)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [March 27, 2014, 7:26pm UTC](https://www.ruby-forum.com/t/build-nginx-on-mac-os-x-mavericks/240092 "2014-03-27T19:26:23Z")

</div>

Hello, Has anyone tried building nginx code on Mac ? I get the following error while building. Have installed pcre and other needed libraries \*src/mail/ngx\_mail\_handler.c:1152:30: \*\*error: \*use of undeclared identifi…

---

## [Nginx not detecting the root location from config for Rails 3.2 app](https://www.ruby-forum.com/t/nginx-not-detecting-the-root-location-from-config-for-rails-3-2-app/240094)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 27, 2014, 6:31pm UTC](https://www.ruby-forum.com/t/nginx-not-detecting-the-root-location-from-config-for-rails-3-2-app/240094 "2014-03-27T18:31:04Z")

</div>

Here is the error.log of nginx server running on ubuntu 12.04. 2014/03/17 12:47:17 \[error\] 7939#0: \*1 open() “/opt/nginx/html/mkl/authentify/signin” failed (2: No such file or directory), client: xxx.xxx.228.66, serve…

---

## [404 on Prestashop 1.5 under nginx](https://www.ruby-forum.com/t/404-on-prestashop-1-5-under-nginx/235050)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 11\
**Last updated:** [March 27, 2014, 3:08pm UTC](https://www.ruby-forum.com/t/404-on-prestashop-1-5-under-nginx/235050 "2014-03-27T15:08:37Z")

</div>

I have a problem with nginx giving a 404 error on a Prestashop 1.5.4.1 site. This is the URL returning the 404: www.domain.com/es/index.php?controller=order-confirmation The prestashop is under multilanguage envirome…

---

## [Core dump messages in /var/log/messages!](https://www.ruby-forum.com/t/core-dump-messages-in-var-log-messages/240095)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 20\
**Last updated:** [March 27, 2014, 2:58pm UTC](https://www.ruby-forum.com/t/core-dump-messages-in-var-log-messages/240095 "2014-03-27T14:58:01Z")

</div>

Mar 27 08:05:44 DNTX014 abrt\[10150\]: Saved core dump of pid 5803 (/usr/local/sbin/nginx) to /var/spool/abrt/ccpp-2014-03-27-12:05:44-5803 (60538880 bytes) Could someone tell me what is that ? Regards. Shahzaib

---

## [Nginx ssl certificate via variable](https://www.ruby-forum.com/t/nginx-ssl-certificate-via-variable/240077)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 27, 2014, 12:12pm UTC](https://www.ruby-forum.com/t/nginx-ssl-certificate-via-variable/240077 "2014-03-27T12:12:33Z")

</div>

Hello ! When it will be possible to use variables with ssl\_certificate in nginx configuration ? It has been discussed several times already in the passed. For example here: Thanks Yuli Posted at Nginx Forum:

---

## [Install on Amazon EC2](https://www.ruby-forum.com/t/install-on-amazon-ec2/240089)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 27, 2014, 1:46am UTC](https://www.ruby-forum.com/t/install-on-amazon-ec2/240089 "2014-03-27T01:46:03Z")

</div>

Any idea when we can install the standard 1.4.7 package from the nginx repo on Amazon EC2? Error: Package: nginx-1.4.7-1.el6.ngx.x86\_64 (nginx) Requires: libcrypto.so.10(OPENSSL\_1.0.1\_EC)(64bit) Cheers, Steve – St…

---

## [Issue with Upstream servers & GeoIP](https://www.ruby-forum.com/t/issue-with-upstream-servers-geoip/240058)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 26, 2014, 10:56pm UTC](https://www.ruby-forum.com/t/issue-with-upstream-servers-geoip/240058 "2014-03-26T22:56:04Z")

</div>

I am diverting traffic from one specific country (XX) to a specific APP server (Server for country XX) using an upstream definition and geoip. See definition below. Everything works well except when people who live i…

---

## [Location directive not working](https://www.ruby-forum.com/t/location-directive-not-working/240059)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [March 26, 2014, 10:39pm UTC](https://www.ruby-forum.com/t/location-directive-not-working/240059 "2014-03-26T22:39:01Z")

</div>

I set up two upstream servers (server 1 and server 2) where I geotarget people from specific countries: A People from country A go to server 1 and the others go to server 2. There are some uri s that must be served by…

---

## [How can I rewrite an url with GET parameters?](https://www.ruby-forum.com/t/how-can-i-rewrite-an-url-with-get-parameters/240081)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 26, 2014, 6:17pm UTC](https://www.ruby-forum.com/t/how-can-i-rewrite-an-url-with-get-parameters/240081 "2014-03-26T18:17:42Z")

</div>

Hello, How can I have this : http://example.org/en/somepage.php For : http://example.org/somepage.php?locale=en ( locale=en is always present) Thanks. Posted at Nginx Forum:

---

## [Nginx forum returns 502 (2014-03-25T08:13Z)](https://www.ruby-forum.com/t/nginx-forum-returns-502-2014-03-25t08-13z/240036)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 13\
**Last updated:** [March 26, 2014, 3:14pm UTC](https://www.ruby-forum.com/t/nginx-forum-returns-502-2014-03-25t08-13z/240036 "2014-03-26T15:14:37Z")

</div>

http://forum.nginx.org/ fails to return proper content. B. R.

---

## [Setting up nginx as Visual Studio 2010 project](https://www.ruby-forum.com/t/setting-up-nginx-as-visual-studio-2010-project/220293)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [March 26, 2014, 2:15am UTC](https://www.ruby-forum.com/t/setting-up-nginx-as-visual-studio-2010-project/220293 "2014-03-26T02:15:28Z")

</div>

Hi! I’d like to make a Visual Studio project from the nginx source and then build it. Has anyone already done this experience and can tell me how to start? Thanks! Posted at Nginx Forum:

---

## [Moving servers https woes](https://www.ruby-forum.com/t/moving-servers-https-woes/240025)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [March 25, 2014, 4:29pm UTC](https://www.ruby-forum.com/t/moving-servers-https-woes/240025 "2014-03-25T16:29:45Z")

</div>

Is there any way of forwarding https to a new server while people’s DNS and browsers drain down? I know it’s easy enough to terminate it and forward http, but I need both the old and new sites ( ecommerce ) to work in…

---

## [Duplicating post request with nginx proxy](https://www.ruby-forum.com/t/duplicating-post-request-with-nginx-proxy/240042)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [March 25, 2014, 3:22pm UTC](https://www.ruby-forum.com/t/duplicating-post-request-with-nginx-proxy/240042 "2014-03-25T15:22:27Z")

</div>

i have an app that sends a post request to nginx proxy server, can i forward same request to two different upstream servers? (e.g. duplicating the same post request) can it be achieved with nginx? thanks.

---

## [AAAA record for nginx.org?](https://www.ruby-forum.com/t/aaaa-record-for-nginx-org/240011)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 25, 2014, 2:16pm UTC](https://www.ruby-forum.com/t/aaaa-record-for-nginx-org/240011 "2014-03-25T14:16:56Z")

</div>

Hi there, I recently had cause to (try to) install Nginx from the Debian repositories hosted at http://nginx.org (i.e., Index of /packages/mainline/debian/dists/wheezy/ ) on a set of machines which have IPv6-only con…

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

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