# Server

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

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

---

## [Disable Reverse Proxy for Failover](https://www.ruby-forum.com/t/disable-reverse-proxy-for-failover/240659)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 24, 2014, 4:45pm UTC](https://www.ruby-forum.com/t/disable-reverse-proxy-for-failover/240659 "2014-04-24T16:45:28Z")

</div>

I turned on all the logging error\_log logs/error.log; error\_log logs/error.log notice; error\_log logs/error.log info; Nothing shows up when I try this. I just get a 502 Bad Gate…

---

## [Disable Reverse Proxy for Failover](https://www.ruby-forum.com/t/disable-reverse-proxy-for-failover/240638)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 24, 2014, 1:22pm UTC](https://www.ruby-forum.com/t/disable-reverse-proxy-for-failover/240638 "2014-04-24T13:22:32Z")

</div>

I have NGINX set up as a reverse proxy, which works fine. In the event my web server goes down, I would like NGINX to act as the failover, and serve a local page with just some basic company information and a “check …

---

## [Help sendmsg() failed in error log](https://www.ruby-forum.com/t/help-sendmsg-failed-in-error-log/240641)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 24, 2014, 10:36am UTC](https://www.ruby-forum.com/t/help-sendmsg-failed-in-error-log/240641 "2014-04-24T10:36:12Z")

</div>

hello when test my reverse proxy server, I found "sendmsg() failed (9: Bad file descriptor) while reading response header from upstream" in error.log. Is there any clue about it? Confidentiality Notice: The infor…

---

## [Pass filename and type to backend server](https://www.ruby-forum.com/t/pass-filename-and-type-to-backend-server/240652)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 24, 2014, 8:50am UTC](https://www.ruby-forum.com/t/pass-filename-and-type-to-backend-server/240652 "2014-04-24T08:50:01Z")

</div>

Hi, I am trying to upload a file to an nginx server and then have it passed on to the backend server after upload completes. I am able to set it up as described here (Nginx direct file upload (Example)) and see that …

---

## [Naxsi Rules Bug](https://www.ruby-forum.com/t/naxsi-rules-bug/240637)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 23, 2014, 10:29pm UTC](https://www.ruby-forum.com/t/naxsi-rules-bug/240637 "2014-04-23T22:29:17Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [Old topic ssl private key with passphrase](https://www.ruby-forum.com/t/old-topic-ssl-private-key-with-passphrase/240624)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [April 23, 2014, 8:26pm UTC](https://www.ruby-forum.com/t/old-topic-ssl-private-key-with-passphrase/240624 "2014-04-23T20:26:32Z")

</div>

Dear nginx developers. What is necessary that you take hands on the topic ‘private key passphrase’? e.g.: #433 (Systemd PasswordAgent Support for SSL Passphrases (http\_ssl\_module)) – nginx \[ \] donation \[ \] time \[ \]…

---

## [Hashing utility?](https://www.ruby-forum.com/t/hashing-utility/240626)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 23, 2014, 5:43pm UTC](https://www.ruby-forum.com/t/hashing-utility/240626 "2014-04-23T17:43:44Z")

</div>

Does anyone have a command line utility to hash a URL to an nginx object name? Id like to know what file should be the cached version of a page. TIA, David

---

## [Problems with large object sets?](https://www.ruby-forum.com/t/problems-with-large-object-sets/240628)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 23, 2014, 5:39pm UTC](https://www.ruby-forum.com/t/problems-with-large-object-sets/240628 "2014-04-23T17:39:35Z")

</div>

Im having trouble with an nginx setup built to serve search engines. Based on the user agent, all bots are served only from cache. We populate the cache with our own set of spiders so we can control the overall load. …

---

## [Map module - mass hosting](https://www.ruby-forum.com/t/map-module-mass-hosting/240614)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 23, 2014, 4:35pm UTC](https://www.ruby-forum.com/t/map-module-mass-hosting/240614 "2014-04-23T16:35:16Z")

</div>

Hello all, I’d like to use map module for my vhost configuration to setup user name in root or fastcgi\_pass parameter. At this point i’ve 300 domains configured and my config look like this: http { server { … ro…

---

## [Req help convert apachi2 config to nginx](https://www.ruby-forum.com/t/req-help-convert-apachi2-config-to-nginx/240613)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 23, 2014, 3:36pm UTC](https://www.ruby-forum.com/t/req-help-convert-apachi2-config-to-nginx/240613 "2014-04-23T15:36:15Z")

</div>

Hi, In my organization, we are using Apache2 for serving diff web applications such as mediawiki,moodle,redmine,svn,etc.Now we are decided to use Nginx for the performance.but converting is a big head ache and even s…

---

## [Using ssl\_crl with CRLs (plural)](https://www.ruby-forum.com/t/using-ssl-crl-with-crls-plural/240601)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 22, 2014, 7:03pm UTC](https://www.ruby-forum.com/t/using-ssl-crl-with-crls-plural/240601 "2014-04-22T19:03:32Z")

</div>

Hi there, I am trying to setup a x509 client cert check with Nginx. Everything is running smoothly until I add the ssl\_crl directive. Unfortunately, my CA happens to release its CRLs under several files… for historic…

---

## [High traffic on Nginx-Webservers!](https://www.ruby-forum.com/t/high-traffic-on-nginx-webservers/240594)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 10\
**Last updated:** [April 22, 2014, 5:59pm UTC](https://www.ruby-forum.com/t/high-traffic-on-nginx-webservers/240594 "2014-04-22T17:59:50Z")

</div>

Hello, We're using the cluster of 5 webservers using nginx (reverse proxy) apache to handle php requests. Our web-servers are constantly high with load-avg of 2.0~3.0. I have seen people using varnish between n…

---

## [\_GET parameters with question and ampersand](https://www.ruby-forum.com/t/get-parameters-with-question-and-ampersand/240435)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 22, 2014, 4:02pm UTC](https://www.ruby-forum.com/t/get-parameters-with-question-and-ampersand/240435 "2014-04-22T16:02:25Z")

</div>

Hi, I am wondering how do I solve parameters being passed correctly after switching from apache. http://app.mailerlite2.com/test/test\_get/?labas=testarg NOT passing http://app.mailerlite2.com/test/test\_get/&labas=tes…

---

## [Nginx reports when used with varnish](https://www.ruby-forum.com/t/nginx-reports-when-used-with-varnish/240589)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 10\
**Last updated:** [April 22, 2014, 3:09pm UTC](https://www.ruby-forum.com/t/nginx-reports-when-used-with-varnish/240589 "2014-04-22T15:09:16Z")

</div>

Hello all, My setting works well through nginx-\>apache but not through nginx-\>varnish-\>apache apache is configured to listen to port 8080 . when nginx uses proxy\_pass http://127.0.0.1:8080 the sites are running fin…

---

## [Feature request: smtp auth passthrough](https://www.ruby-forum.com/t/feature-request-smtp-auth-passthrough/238282)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 21, 2014, 4:05pm UTC](https://www.ruby-forum.com/t/feature-request-smtp-auth-passthrough/238282 "2014-04-21T16:05:57Z")

</div>

Hello, sorry for that beforehand, but yes, I’m another newbie using (or at least trying to use) NGINX in a mail proxy setup. I read the wiki entries and docs beforehand… and I thought it just works like that (passing…

---

## [X-Real-Proto?](https://www.ruby-forum.com/t/x-real-proto/240572)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 21, 2014, 1:56pm UTC](https://www.ruby-forum.com/t/x-real-proto/240572 "2014-04-21T13:56:46Z")

</div>

Hi, There is ngx\_http\_realip\_module to have the real ip in nginx when you are behind a load balancer If the load balancer is also terminating the ssl, and connecting to nginx with http, how to set the real proto ? T…

---

## [Problem with http/https interoperation](https://www.ruby-forum.com/t/problem-with-http-https-interoperation/240567)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 21, 2014, 1:00pm UTC](https://www.ruby-forum.com/t/problem-with-http-https-interoperation/240567 "2014-04-21T13:00:07Z")

</div>

Hello, all I have a web application, which use nginx as frontend reverse-proxy sever. It’s configured to use https to interact with user agent. Several tomcats are used as backend application servers. The connection b…

---

## [Nginx ssl handshake vs apache](https://www.ruby-forum.com/t/nginx-ssl-handshake-vs-apache/238323)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 21, 2014, 12:04pm UTC](https://www.ruby-forum.com/t/nginx-ssl-handshake-vs-apache/238323 "2014-04-21T12:04:03Z")

</div>

Hi I was watching this video by fastly ceo he talks about the nginx ssl handshake versus apache and comes to the conclusion that apache was more efficient at mass handshakes due to nginx blocking while i…

---

## [How to allow apache to control SSL traffic?](https://www.ruby-forum.com/t/how-to-allow-apache-to-control-ssl-traffic/240564)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [April 21, 2014, 11:31am UTC](https://www.ruby-forum.com/t/how-to-allow-apache-to-control-ssl-traffic/240564 "2014-04-21T11:31:01Z")

</div>

Hello list, My apache vhosts are configured to take care of SSL connections. I have installed nginix as http accelerator. How can I instruct nginx to pass all SSL request to apache SSL vhost ? Thanks

---

## [How to save into variable proxy header response?](https://www.ruby-forum.com/t/how-to-save-into-variable-proxy-header-response/240543)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [April 20, 2014, 5:38pm UTC](https://www.ruby-forum.com/t/how-to-save-into-variable-proxy-header-response/240543 "2014-04-20T17:38:55Z")

</div>

Hello I’m using nginx as reverse proxy for some domain … my configuration for domain looks like that : server { listen 80; server\_name www.mydomain.com mydomain.com; index index.html index.htm index.php defa…

---

## [Configure multiple subdomains and location blocks for reverse-proxy](https://www.ruby-forum.com/t/configure-multiple-subdomains-and-location-blocks-for-reverse-proxy/240547)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 19, 2014, 10:50pm UTC](https://www.ruby-forum.com/t/configure-multiple-subdomains-and-location-blocks-for-reverse-proxy/240547 "2014-04-19T22:50:54Z")

</div>

I have not been able to successfully locate the information I need to do this since many of the examples online are our of date or use bad practices so I will ask here. First, my setup is as follows: domain\_i\_own.t…

---

## [Commodo SSL](https://www.ruby-forum.com/t/commodo-ssl/240512)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [April 18, 2014, 4:30pm UTC](https://www.ruby-forum.com/t/commodo-ssl/240512 "2014-04-18T16:30:03Z")

</div>

Hello, i try to run HTTPS with a commodo ssl certificate. I use the follow tutorial: I has use cat to write one crt file. The configuration: listen 80; listen 443 ssl spdy; ssl on; ssl\_certificate /etc/nginx/key…

---

## [Intermittent failures with SecureChannelFailure error on client](https://www.ruby-forum.com/t/intermittent-failures-with-securechannelfailure-error-on-client/240517)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 18, 2014, 3:04pm UTC](https://www.ruby-forum.com/t/intermittent-failures-with-securechannelfailure-error-on-client/240517 "2014-04-18T15:04:29Z")

</div>

Hi, We are using NGINX (version 1.4.4) in front of HAProxy for SSl termination. We are seeing intermittent “Could not create SSL/TLS secure channel” failure from our .net client. On enabling debug logging on NGINX …

---

## [NginX reverse proxy with iRedMail Apache2](https://www.ruby-forum.com/t/nginx-reverse-proxy-with-iredmail-apache2/240471)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 18, 2014, 7:07am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-with-iredmail-apache2/240471 "2014-04-18T07:07:55Z")

</div>

On an empty VPS hosting (Ubuntu 13.10 x64), I managed to run the base iRedMail installation with Apache2 and LDAP and my roundcubemail was accessible at: https://www.mydomain.com/mail then I installed NginX, shutdown…

---

## [Ngx + lua Ssl certificate content](https://www.ruby-forum.com/t/ngx-lua-ssl-certificate-content/240511)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 17, 2014, 4:59pm UTC](https://www.ruby-forum.com/t/ngx-lua-ssl-certificate-content/240511 "2014-04-17T16:59:04Z")

</div>

Hi, My nginx\_extras packages works good such as reverse proxy with Ssl certificates. I want to add LUA codes into nginx.conf file for getting Certificates contents. I added this lua codes and I checked certificates …

---

## [Https not working](https://www.ruby-forum.com/t/https-not-working/240509)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 17, 2014, 4:20pm UTC](https://www.ruby-forum.com/t/https-not-working/240509 "2014-04-17T16:20:42Z")

</div>

Hello list, I have place nginx before apache as an accelator, and the http is working fine. But the isue is with https . Even there are some https link based on port like https://mysite.com:45 . None of the https i…

---

## [How to configure nginx with running apache?](https://www.ruby-forum.com/t/how-to-configure-nginx-with-running-apache/240500)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [April 17, 2014, 2:49pm UTC](https://www.ruby-forum.com/t/how-to-configure-nginx-with-running-apache/240500 "2014-04-17T14:49:46Z")

</div>

Greetings !! I am new to nginx and seeking some help from this list. I already have apache running with vhosts and like to install nginx as a frontend accelerator before apache. How can I configure nginx so that it c…

---

## [499 in a proxy environment and short execution php scripts](https://www.ruby-forum.com/t/499-in-a-proxy-environment-and-short-execution-php-scripts/240474)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 17, 2014, 2:12pm UTC](https://www.ruby-forum.com/t/499-in-a-proxy-environment-and-short-execution-php-scripts/240474 "2014-04-17T14:12:34Z")

</div>

Hello Nginx Before writing this I have checked the meaning of the 499 error code as result of that the client closed the connection before the server answered the request. Thats clear as water. PROBLEM: Iam measuring…

---

## [Outbound emails are not sent via nginx smtp proxy](https://www.ruby-forum.com/t/outbound-emails-are-not-sent-via-nginx-smtp-proxy/240498)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 17, 2014, 7:10am UTC](https://www.ruby-forum.com/t/outbound-emails-are-not-sent-via-nginx-smtp-proxy/240498 "2014-04-17T07:10:15Z")

</div>

All emails ending at the destination note the sender as the actual backend and not nginx proxy. How can I force smtp outbound through nginx? I tried smtp\_bind\_address = proxy.ip.addr in main.cf for postfix. And tried …

---

## [Requests being blocked client-side](https://www.ruby-forum.com/t/requests-being-blocked-client-side/240401)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [April 17, 2014, 4:25am UTC](https://www.ruby-forum.com/t/requests-being-blocked-client-side/240401 "2014-04-17T04:25:05Z")

</div>

I am seeing super strange behavior and I am absolutely stumped. If I open up two tabs in Google Chrome (34), and in the first refresh our application (foo.ourapp.com), which makes an ajax requests (via jQuery) that ta…

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

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