# Server

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

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

---

## [Error 404 when the URL contains special characters (braces, hyphens etc.)](https://www.ruby-forum.com/t/error-404-when-the-url-contains-special-characters-braces-hyphens-etc/236035)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 31, 2013, 11:45pm UTC](https://www.ruby-forum.com/t/error-404-when-the-url-contains-special-characters-braces-hyphens-etc/236035 "2013-07-31T23:45:11Z")

</div>

In my (Zend Framework 2) application I have a catalog of cities with links to sports pages: page “Cities” (/catalog) Madrid link: website.tld/catalog/Madrid Berlin link: website.tld/catalog/Berlin London link: webs…

---

## [Tengine-1.5.0 is released](https://www.ruby-forum.com/t/tengine-1-5-0-is-released/236029)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 31, 2013, 3:36pm UTC](https://www.ruby-forum.com/t/tengine-1-5-0-is-released/236029 "2013-07-31T15:36:11Z")

</div>

Hi folks, We are excited to announce that Tengine-1.5.0 (stable version) has been released! You can either checkout the source code from github: GitHub - alibaba/tengine: A distribution of Nginx with some advanced fe…

---

## [Custom forced 503 page does not work](https://www.ruby-forum.com/t/custom-forced-503-page-does-not-work/235950)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 31, 2013, 10:18am UTC](https://www.ruby-forum.com/t/custom-forced-503-page-does-not-work/235950 "2013-07-31T10:18:25Z")

</div>

Hi, I’m trying to deliver a custom 503 page for all requests the server receives but with the following config it doesn’t work. server { listen 81; server\_name localhost; error\_log /var/log/nginx/error.log d…

---

## [Force range request on proxy server](https://www.ruby-forum.com/t/force-range-request-on-proxy-server/236016)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 31, 2013, 4:31am UTC](https://www.ruby-forum.com/t/force-range-request-on-proxy-server/236016 "2013-07-31T04:31:58Z")

</div>

We used amazon S3 as upstream server. And it does not serve ‘Accept-Ranges: bytes’ as respond header. So the nginx proxy server will not serve range response even if the content has been completely cached on the proxy …

---

## [Incorrect redirect protocol when behind a reverse proxy](https://www.ruby-forum.com/t/incorrect-redirect-protocol-when-behind-a-reverse-proxy/235930)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [July 30, 2013, 11:26pm UTC](https://www.ruby-forum.com/t/incorrect-redirect-protocol-when-behind-a-reverse-proxy/235930 "2013-07-30T23:26:59Z")

</div>

Our nginx server is running on Heroku, which proxies SSL. This mostly works fine, but nginx has one problem with it: since it thinks the protocol is http, any redirects (such as trailing-slash redirects) go to http …

---

## [Nginx internal server errors static files first load only?](https://www.ruby-forum.com/t/nginx-internal-server-errors-static-files-first-load-only/236012)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 30, 2013, 11:26pm UTC](https://www.ruby-forum.com/t/nginx-internal-server-errors-static-files-first-load-only/236012 "2013-07-30T23:26:23Z")

</div>

Hi Guys, Got a strange issue happening, I do my coding on Windows 8 x64 using Sublime Text 2.0.2, my sites run of a Ubuntu 13.04 VirtualBox guest over a bridged adaptor connection. Weird thing happens, if I save a …

---

## [Can't get SPDY working with OpenSSL 1.0.1e](https://www.ruby-forum.com/t/cant-get-spdy-working-with-openssl-1-0-1e/245926)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 30, 2013, 8:54pm UTC](https://www.ruby-forum.com/t/cant-get-spdy-working-with-openssl-1-0-1e/245926 "2013-07-30T20:54:27Z")

</div>

Hi, I simply read every article on the net, followed the docs but simply can’t get SPDY support working. It’s running on Debian Squeeze (that I have to) so I upgraded OpenSSL to the version 1.0.1e from Wheezy repo. …

---

## [Problem with VPN IP address and Nginx](https://www.ruby-forum.com/t/problem-with-vpn-ip-address-and-nginx/245780)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [July 30, 2013, 12:52pm UTC](https://www.ruby-forum.com/t/problem-with-vpn-ip-address-and-nginx/245780 "2013-07-30T12:52:56Z")

</div>

Hi all ! When i use OpenVPN, my remote ip address detected by Nginx (not used on reverse proxy) is different than Apache (standalone, just for test), or http://whatismyipaddress.com, the ip detected by Nginx is my rea…

---

## [Block bot on uri with query\_string](https://www.ruby-forum.com/t/block-bot-on-uri-with-query-string/245872)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 28, 2013, 2:51pm UTC](https://www.ruby-forum.com/t/block-bot-on-uri-with-query-string/245872 "2013-07-28T14:51:13Z")

</div>

Hi All, Been trying to block bots from accessing a URI that has a query\_string “action=get\_it”, i tried below location ~\* \\?(action=get\_it)$ { if ( $http\_user\_agent ~ (crawl|Googlebot|Slurp|spider|bi…

---

## [Nginx changing settings on the fly?](https://www.ruby-forum.com/t/nginx-changing-settings-on-the-fly/235971)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 27, 2013, 2:26am UTC](https://www.ruby-forum.com/t/nginx-changing-settings-on-the-fly/235971 "2013-07-27T02:26:41Z")

</div>

We’re currently using CrossRoads for our load balancing needs and are evaluating a switch to Nginx. We are excited by the existence of a pacemaker/heartbeat ocf script. But one of the needs that we have is that our w…

---

## [Index and location not working together properly?](https://www.ruby-forum.com/t/index-and-location-not-working-together-properly/235966)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 26, 2013, 9:51pm UTC](https://www.ruby-forum.com/t/index-and-location-not-working-together-properly/235966 "2013-07-26T21:51:30Z")

</div>

Hi all, Still fighting with my nginx configuration. What I want to achieve. If static file exists in “reseller” root, serve from “reseller” root else if static file file exists in “central” root, then serve from “…

---

## [Nginx 1.4.x file upload multipart ecoded](https://www.ruby-forum.com/t/nginx-1-4-x-file-upload-multipart-ecoded/235958)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [July 26, 2013, 8:39pm UTC](https://www.ruby-forum.com/t/nginx-1-4-x-file-upload-multipart-ecoded/235958 "2013-07-26T20:39:38Z")

</div>

How I can handle multipart data uploads with the latest nginx release? The good old upload module won^t compile anymore. Posted at Nginx Forum:

---

## [Can't get http authentication to work](https://www.ruby-forum.com/t/cant-get-http-authentication-to-work/245903)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [July 26, 2013, 7:23pm UTC](https://www.ruby-forum.com/t/cant-get-http-authentication-to-work/245903 "2013-07-26T19:23:39Z")

</div>

Hi, I’m trying to implement HTTP authentication as outlined in this article I went through the early steps in the tutorial where it prompts you to create a password. That was fine. I then added the two auth\_basic and …

---

## [Help with Keepalive on NGINX](https://www.ruby-forum.com/t/help-with-keepalive-on-nginx/235964)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 26, 2013, 3:55pm UTC](https://www.ruby-forum.com/t/help-with-keepalive-on-nginx/235964 "2013-07-26T15:55:36Z")

</div>

Hi All, I am struggling to get keepalives to work on Nginx, I believe I have added the necessary configuration. Can you take a look and suggest where I may be going wrong or what I am missing? We have a nginx server …

---

## [Update nginx with Ubuntu PPA](https://www.ruby-forum.com/t/update-nginx-with-ubuntu-ppa/235885)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [July 26, 2013, 11:30am UTC](https://www.ruby-forum.com/t/update-nginx-with-ubuntu-ppa/235885 "2013-07-26T11:30:57Z")

</div>

I am upgrading nginx to latest 1.4.1 using PPA. repository. After install, do I need to restart it manually, or it is restarted automatically? Is reload enough for the nginx upgrade? Or do I need to restart or stop/s…

---

## [Listen directive](https://www.ruby-forum.com/t/listen-directive/235936)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [July 26, 2013, 6:33am UTC](https://www.ruby-forum.com/t/listen-directive/235936 "2013-07-26T06:33:20Z")

</div>

Hi. I’ve noticed that in configuratuion like http { server { server\_name some.domain.tld; listen 1.1.1.1; } server { server\_name another.domain.tld; listen 1.1.1.1; } server { server\_name one\_more.domain.tld …

---

## [.spec file for 1.4.2 RPM](https://www.ruby-forum.com/t/spec-file-for-1-4-2-rpm/235953)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 25, 2013, 11:43pm UTC](https://www.ruby-forum.com/t/spec-file-for-1-4-2-rpm/235953 "2013-07-25T23:43:45Z")

</div>

Hi, can anyone point me to the RPM .spec file for the binary RHEL 6 RPM? I need to create a binary RPM in a certain context and look for a quick starting point. Jan

---

## [Hashes / Arrays für $arg\_PARAMETER](https://www.ruby-forum.com/t/hashes-arrays-fur-arg-parameter/235928)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [July 25, 2013, 2:52pm UTC](https://www.ruby-forum.com/t/hashes-arrays-fur-arg-parameter/235928 "2013-07-25T14:52:03Z")

</div>

Hello @all, Is it possible to define array / hashes in nginx? I have the following idea: nginx should check $arg\_PARAMETER which is defined by an array. If the right element in the array, then die access is permitted…

---

## [404 not found afther reboot](https://www.ruby-forum.com/t/404-not-found-afther-reboot/235937)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 25, 2013, 11:59am UTC](https://www.ruby-forum.com/t/404-not-found-afther-reboot/235937 "2013-07-25T11:59:04Z")

</div>

Hi all, I have a problem Well yesterday everthing was working fine the website etc etc etc but the system behind whmcs needed ioncube loaders so i did install everything right and reboot the server afther that and no…

---

## [How to make the log file printed by access\_log split](https://www.ruby-forum.com/t/how-to-make-the-log-file-printed-by-access-log-split/235940)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 25, 2013, 11:40am UTC](https://www.ruby-forum.com/t/how-to-make-the-log-file-printed-by-access-log-split/235940 "2013-07-25T11:40:23Z")

</div>

what’s the limit of the size of log file, and what will happen when it reaches the limitation? if I want to split the log file by timeline, say start a new file on the beginning of an hour, how can I configure ngnix? …

---

## [Use directive value inside nginx.conf](https://www.ruby-forum.com/t/use-directive-value-inside-nginx-conf/245902)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [July 25, 2013, 10:42am UTC](https://www.ruby-forum.com/t/use-directive-value-inside-nginx-conf/245902 "2013-07-25T10:42:28Z")

</div>

Hi! I need to send to my application through “fastcgi\_param” the value of “client\_max\_body\_size” directive, which is defined in http block in nginx.conf Is there any way to do this without moving the declaration of t…

---

## [Load Balancing and High Availability](https://www.ruby-forum.com/t/load-balancing-and-high-availability/235903)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [July 25, 2013, 12:54am UTC](https://www.ruby-forum.com/t/load-balancing-and-high-availability/235903 "2013-07-25T00:54:12Z")

</div>

Hi, I am a nginx newbie. I have nginx configured as a reverse proxy/load balancer in front of a small cluster of Jboss servers. I have configured as per the tutorials on the web like this one ref: and all works fin…

---

## [Not listing proxy\_pass port 8009](https://www.ruby-forum.com/t/not-listing-proxy-pass-port-8009/235907)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 21\
**Last updated:** [July 24, 2013, 11:59pm UTC](https://www.ruby-forum.com/t/not-listing-proxy-pass-port-8009/235907 "2013-07-24T23:59:16Z")

</div>

Hello, I am using Nginx web server and getting error “502 bad gateway” while accessing some sites. I have observed that, proxy\_pass port is not listing in the server. e.g.:- In above configuration example.com is runn…

---

## [Nginx 1.4.2 Centos Packages](https://www.ruby-forum.com/t/nginx-1-4-2-centos-packages/235889)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [July 24, 2013, 2:38pm UTC](https://www.ruby-forum.com/t/nginx-1-4-2-centos-packages/235889 "2013-07-24T14:38:06Z")

</div>

Hi, I just updated my nginx from 1.4.1 to 1.4.2 from packages provided by nginx for centos and then i realized that many modules available with 1.4.1 are not compiled in premade packages of 1.4.2 for centos, so i’ve …

---

## [Prevent nginx caching empty pages?](https://www.ruby-forum.com/t/prevent-nginx-caching-empty-pages/235921)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 24, 2013, 2:25pm UTC](https://www.ruby-forum.com/t/prevent-nginx-caching-empty-pages/235921 "2013-07-24T14:25:49Z")

</div>

Hi, I’m trying to diagnose a problem we have on a rather complex system with an nginx acting as a remote proxy server, where what appears to be a completely empty response is being returned, seemingly from the nginx …

---

## [Backend responding with 100 Continue results in the actual response being lost](https://www.ruby-forum.com/t/backend-responding-with-100-continue-results-in-the-actual-response-being-lost/245857)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [July 24, 2013, 9:45am UTC](https://www.ruby-forum.com/t/backend-responding-with-100-continue-results-in-the-actual-response-being-lost/245857 "2013-07-24T09:45:59Z")

</div>

I’m using nginx as a reverse proxy, configured to use HTTP 1.1 so as to support range requests. The server responds to some of the requests with a “100 Continue”, even if there was no “Expect: 100-continue” in the re…

---

## [Nginx returns HTTP 200 with Content-Length: 0](https://www.ruby-forum.com/t/nginx-returns-http-200-with-content-length-0/208142)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 12\
**Last updated:** [July 24, 2013, 5:13am UTC](https://www.ruby-forum.com/t/nginx-returns-http-200-with-content-length-0/208142 "2013-07-24T05:13:08Z")

</div>

Hi guys, I configured nginx to be used as HTTP reverse proxy on Amazon EC2, the back end servers are somewhere on the Internet. The problem I’m facing is that nginx sometimes returns HTTP 200 with Content-Length: 0 …

---

## [Access to email body and attachments within mail proxy?](https://www.ruby-forum.com/t/access-to-email-body-and-attachments-within-mail-proxy/235902)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 23, 2013, 3:04pm UTC](https://www.ruby-forum.com/t/access-to-email-body-and-attachments-within-mail-proxy/235902 "2013-07-23T15:04:31Z")

</div>

Hi, I’m wondering whether the MailProxy module allows access to the e-mail content (body and attachments) of a proxied email. I’d like to intercept (encrypt) emails within SMTP, POP3 and IMAP requests. I haven’t been …

---

## [Access to query param with dashes in the name](https://www.ruby-forum.com/t/access-to-query-param-with-dashes-in-the-name/235901)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 23, 2013, 2:56pm UTC](https://www.ruby-forum.com/t/access-to-query-param-with-dashes-in-the-name/235901 "2013-07-23T14:56:20Z")

</div>

Hi, for the http header Nginx Nginx convert the dashes in the header name to underscores. I have a query string with a param with a dash in the name, but i can’t see it with $arg\_PARAMETER variable. There is a way…

---

## [Port redirection issue while using ssh tunnel](https://www.ruby-forum.com/t/port-redirection-issue-while-using-ssh-tunnel/235899)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 23, 2013, 12:50pm UTC](https://www.ruby-forum.com/t/port-redirection-issue-while-using-ssh-tunnel/235899 "2013-07-23T12:50:36Z")

</div>

Hi list, I have a web app proxied by nginx. Everything works fine locally. However the web server is on our private network and I would like to access it though a ssh tunnel from the outside. Most operations works fi…

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

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