# Server

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

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

---

## [Nginx not logging to socket](https://www.ruby-forum.com/t/nginx-not-logging-to-socket/242393)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [June 24, 2015, 4:45pm UTC](https://www.ruby-forum.com/t/nginx-not-logging-to-socket/242393 "2015-06-24T16:45:47Z")

</div>

Hallo! Using rsyslog I have set up a logging socket and confirmed that its working by piping in some stuff to “logger -u /dev/log” nginx/1.8.0 does not seem to be dumping in logs however. The nginx config is below… …

---

## [502 Error Issue](https://www.ruby-forum.com/t/502-error-issue/242443)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 24, 2015, 2:19pm UTC](https://www.ruby-forum.com/t/502-error-issue/242443 "2015-06-24T14:19:43Z")

</div>

Hi All, We recently migrated from apache to nginx. OS - CetnOS 6 Nginx - 1.62 (4 CPU 8 GB RAM) PHP-FPM (php 5.4.37) (4 CPU 8 GB RAM) APC (Code Cache APC 3.1.13 beta) Memcache (data cache) I have upstream of 4 php…

---

## [Caching fastcgi url](https://www.ruby-forum.com/t/caching-fastcgi-url/242433)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [June 24, 2015, 12:40am UTC](https://www.ruby-forum.com/t/caching-fastcgi-url/242433 "2015-06-24T00:40:02Z")

</div>

Hello, I am looking for advice. I am using nginx to terminate SSL and forward the request to php via fastcgi. Of all of requests I am forwarding to fastcgi there is one particular URL that I want to cache, hopefully…

---

## [NTLM or HTTP Digest authentication to Parent proxy](https://www.ruby-forum.com/t/ntlm-or-http-digest-authentication-to-parent-proxy/242411)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 23, 2015, 11:37pm UTC](https://www.ruby-forum.com/t/ntlm-or-http-digest-authentication-to-parent-proxy/242411 "2015-06-23T23:37:31Z")

</div>

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

---

## [Nginx and Apach2](https://www.ruby-forum.com/t/nginx-and-apach2/242426)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 23, 2015, 5:25pm UTC](https://www.ruby-forum.com/t/nginx-and-apach2/242426 "2015-06-23T17:25:56Z")

</div>

I have nginx and apache2 in the same Ubuntu Server 14.04 and i want to use nginx as proxy server. My idea is when people write www.mysite.com, nginx redirect to apache and i can do that, but the problem is that apach…

---

## [When work processor will auto restart?](https://www.ruby-forum.com/t/when-work-processor-will-auto-restart/242421)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 23, 2015, 3:15pm UTC](https://www.ruby-forum.com/t/when-work-processor-will-auto-restart/242421 "2015-06-23T15:15:04Z")

</div>

Hi, I found that sometimes the nginx work processor will auto restart with no reload/restart command executed. When the nginx run some days, found that the pid of work processor changed but maser pid not changed. I…

---

## [Solaris use eventport proxy upstream bug](https://www.ruby-forum.com/t/solaris-use-eventport-proxy-upstream-bug/242416)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [June 23, 2015, 8:07am UTC](https://www.ruby-forum.com/t/solaris-use-eventport-proxy-upstream-bug/242416 "2015-06-23T08:07:26Z")

</div>

environment: solaris11 + http proxy + upstream + keepalive + method get first request ok second request will hangup,after eventport del event there is no event add NGX\_READ\_EVENT or NGX\_WRITE\_EVENT here is my patch …

---

## [Pcre](https://www.ruby-forum.com/t/pcre/242403)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [June 23, 2015, 1:01am UTC](https://www.ruby-forum.com/t/pcre/242403 "2015-06-23T01:01:35Z")

</div>

Hi Experts, I am working on NGINX-1.6.3 version. Installation is successful using latest pcre, pcre-devel packages too… While accessing the service, static contents were not loaded. As suggested in google, I tried c…

---

## [DNS configuration to invoke complete URL](https://www.ruby-forum.com/t/dns-configuration-to-invoke-complete-url/241995)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 10\
**Last updated:** [June 22, 2015, 12:25pm UTC](https://www.ruby-forum.com/t/dns-configuration-to-invoke-complete-url/241995 "2015-06-22T12:25:02Z")

</div>

Hi Talents, Need your support immediately on the below requirement: I have configure DNS “worsktream.com” to proxy pass the complete URL “http://worsktream.com/workstream/agentLogin” while invoking the dns name follo…

---

## [Request limit calculation](https://www.ruby-forum.com/t/request-limit-calculation/242388)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 21, 2015, 2:59pm UTC](https://www.ruby-forum.com/t/request-limit-calculation/242388 "2015-06-21T14:59:16Z")

</div>

Hello, I’m John and I’m a nginx noob. I was wondering how the request limit reach is calculated when using limit\_req\_zone and limit\_req.My problem is that, in development, I’m not concatenating static files such as .j…

---

## [Nginx-http-stub-requests](https://www.ruby-forum.com/t/nginx-http-stub-requests/242387)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [June 20, 2015, 8:30am UTC](https://www.ruby-forum.com/t/nginx-http-stub-requests/242387 "2015-06-20T08:30:43Z")

</div>

Hi all, I’m pleased to announce a new module called stub-requests. It allows you to see a table of all the currently running requests including duration, ip, uri and more. The source, install instructions and an exa…

---

## [Nginx URL Fallback setup with internal redirection in reverse-proxy settings](https://www.ruby-forum.com/t/nginx-url-fallback-setup-with-internal-redirection-in-reverse-proxy-settings/242384)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 19, 2015, 9:53pm UTC](https://www.ruby-forum.com/t/nginx-url-fallback-setup-with-internal-redirection-in-reverse-proxy-settings/242384 "2015-06-19T21:53:44Z")

</div>

Hi List Members Gurus I have installed and configured a virtual host using NGINX in Ubuntu 14.04 Now I want to add couple of functionalities like– Set up Nginx config so that any URL address wh…

---

## [Set\_encrypt\_session after access phase?](https://www.ruby-forum.com/t/set-encrypt-session-after-access-phase/242379)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [June 19, 2015, 4:21pm UTC](https://www.ruby-forum.com/t/set-encrypt-session-after-access-phase/242379 "2015-06-19T16:21:20Z")

</div>

On Thu, Jun 18, 2015 at 11:29 AM, Vader M. removed\_email\_address@domain.invalid wrote: I’m having trouble setting a cookie conditionally based upon an upstream variable The hope is to cache an auth token in an encry…

---

## [Server info in SSL handshake?](https://www.ruby-forum.com/t/server-info-in-ssl-handshake/242375)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 19, 2015, 3:11pm UTC](https://www.ruby-forum.com/t/server-info-in-ssl-handshake/242375 "2015-06-19T15:11:12Z")

</div>

Hi, today I was watching traffic on port 443 for other reasons and I saw a line go by that had unusual information, looking a little bit like server info headers (I saw “nginx” and the version number and a couple othe…

---

## [Do not fail when ssl cert not present](https://www.ruby-forum.com/t/do-not-fail-when-ssl-cert-not-present/242358)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [June 18, 2015, 11:23pm UTC](https://www.ruby-forum.com/t/do-not-fail-when-ssl-cert-not-present/242358 "2015-06-18T23:23:04Z")

</div>

I tried to not fail the nginx server if ssl cert is not available. However the directive is not even allowed inside a statement. if (-f /var/www/x/etc/ssl.crt) { ssl\_certificate /var/www/x/etc/ssl.cr…

---

## [Trying to mirror nginx repository for centos6/7](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [June 18, 2015, 11:03pm UTC](https://www.ruby-forum.com/t/trying-to-mirror-nginx-repository-for-centos6-7/242357 "2015-06-18T23:03:12Z")

</div>

Hi, I’m trying to sync nginx repositories to my local mirror but all the old package are no longer available. See this log from reposync command below. Would it be possible to either update the package list from the…

---

## [Fwd: How can i have multiple nginx plus servers route to the same app servers with sticky sessions o](https://www.ruby-forum.com/t/fwd-how-can-i-have-multiple-nginx-plus-servers-route-to-the-same-app-servers-with-sticky-sessions-o/242361)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 18, 2015, 8:12pm UTC](https://www.ruby-forum.com/t/fwd-how-can-i-have-multiple-nginx-plus-servers-route-to-the-same-app-servers-with-sticky-sessions-o/242361 "2015-06-18T20:12:02Z")

</div>

I have multiple nginx instances behind an AWS elastic load balancer. In the nginx config files, I am using ip\_hash to force sticky sessions when connecting upstream. Is there a way to sync the route tables between the …

---

## [Nginx is killing my threads](https://www.ruby-forum.com/t/nginx-is-killing-my-threads/242363)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [June 18, 2015, 7:26pm UTC](https://www.ruby-forum.com/t/nginx-is-killing-my-threads/242363 "2015-06-18T19:26:27Z")

</div>

I have an application in C++ we originally made for Windows using Microsoft’s http lib, that I have ported to be cross-platform using nginx. To keep it working mostly the same (rewriting as little as possible), I mad…

---

## [Conditionally setting a cookie help](https://www.ruby-forum.com/t/conditionally-setting-a-cookie-help/242359)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [June 18, 2015, 5:30pm UTC](https://www.ruby-forum.com/t/conditionally-setting-a-cookie-help/242359 "2015-06-18T17:30:10Z")

</div>

Hi All, I’m having trouble setting a cookie conditionally based upon an upstream variable The hope is to cache an auth token in an encrypted session and only go to the backend auth token generator once. I have someth…

---

## [Long wait configtest](https://www.ruby-forum.com/t/long-wait-configtest/241876)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [June 18, 2015, 4:26pm UTC](https://www.ruby-forum.com/t/long-wait-configtest/241876 "2015-06-18T16:26:29Z")

</div>

Hi all after several modification (implemented ocsp stapling) the command “service nginx configtest” I wait the return of configtest for circa one minute i don’t understand the problem, before the command run in on s…

---

## [Writing a new auth module - request for comments](https://www.ruby-forum.com/t/writing-a-new-auth-module-request-for-comments/242348)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [June 18, 2015, 12:33pm UTC](https://www.ruby-forum.com/t/writing-a-new-auth-module-request-for-comments/242348 "2015-06-18T12:33:56Z")

</div>

Hi, I’m writing a new module (out-of-tree) for supporting authentication using Stormpath’s user management API (https://stormpath.com/). Basically, the module makes one or more HTTP requests to the Stormpath API to d…

---

## [Move old apache project](https://www.ruby-forum.com/t/move-old-apache-project/242347)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 17, 2015, 12:43pm UTC](https://www.ruby-forum.com/t/move-old-apache-project/242347 "2015-06-17T12:43:52Z")

</div>

HI again, guys. I have another trouble with own old projects basec on large htaccess rewriet rules. That’s my configuration server { root /home/www/projects/dechko; index index.html index.htm index.ph - Pastebin.com i…

---

## [Dynamic configuration](https://www.ruby-forum.com/t/dynamic-configuration/242307)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [June 17, 2015, 11:15am UTC](https://www.ruby-forum.com/t/dynamic-configuration/242307 "2015-06-17T11:15:03Z")

</div>

HI there, these days i reinstall my windows and … i found hot water, with vagrant. I very like it those stuff, i installed ubuntu, with nginx, php5-fpm and many other stuff, but still missing basic configuration. In …

---

## [Error\_page at http context](https://www.ruby-forum.com/t/error-page-at-http-context/242302)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 16, 2015, 10:48pm UTC](https://www.ruby-forum.com/t/error-page-at-http-context/242302 "2015-06-16T22:48:21Z")

</div>

I can’t get error\_page override default error pages when using it in HTTP context (rather than server {} / location {}). Can someone share a real-world working example? Posted at Nginx Forum:

---

## [Nginx-1.9.2](https://www.ruby-forum.com/t/nginx-1-9-2/242336)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 16, 2015, 8:27pm UTC](https://www.ruby-forum.com/t/nginx-1-9-2/242336 "2015-06-16T20:27:32Z")

</div>

Changes with nginx 1.9.2 16 Jun 2015 \*) Feature: the "backlog" parameter of the "listen" directives of the mail proxy and stream modules. \*) Feature: the "allow" and "deny" d…

---

## [Deploying newly compiled nginx from test server to production](https://www.ruby-forum.com/t/deploying-newly-compiled-nginx-from-test-server-to-production/242317)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [June 16, 2015, 5:55pm UTC](https://www.ruby-forum.com/t/deploying-newly-compiled-nginx-from-test-server-to-production/242317 "2015-06-16T17:55:02Z")

</div>

Hello What is a good method for deploying a newly compiled nginx binary with an extra module? (mod\_security) I can get all to compile ok. However, I do not want to compile on my production server. There are two many…

---

## [Page with ssl doesn't open from safari](https://www.ruby-forum.com/t/page-with-ssl-doesnt-open-from-safari/242329)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [June 16, 2015, 9:36am UTC](https://www.ruby-forum.com/t/page-with-ssl-doesnt-open-from-safari/242329 "2015-06-16T09:36:06Z")

</div>

Good afternoon UCC ssl the certificate is bought from godaddy for 5 domain names. One of the sites (settles down on the separate server) doesn’t open from safari “Safari can’t open the page https://sendy .mysite.com b…

---

## [Config parsing (fastouter)](https://www.ruby-forum.com/t/config-parsing-fastouter/242300)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 15, 2015, 4:32pm UTC](https://www.ruby-forum.com/t/config-parsing-fastouter/242300 "2015-06-15T16:32:33Z")

</div>

I am trying to configure fastrouter through environment variable and running into trouble. A blank loop still seems to run… expect that no subscription would take place? \[uwsgi\] … fastrouter\_keys= fastrouter\_ip= …

---

## [Sendfile\_max\_chunk breaking unbufferred php-fcgi](https://www.ruby-forum.com/t/sendfile-max-chunk-breaking-unbufferred-php-fcgi/242309)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 15, 2015, 12:40pm UTC](https://www.ruby-forum.com/t/sendfile-max-chunk-breaking-unbufferred-php-fcgi/242309 "2015-06-15T12:40:03Z")

</div>

Hi, I was having the problem that if a single client on the local LAN is downloading a large static file, the download is effectively monopolizing nginx, and no other requests are handled simultaneously. Reading the…

---

## [答复: nginx plus with ssl on TCP load balance not work](https://www.ruby-forum.com/t/nginx-plus-with-ssl-on-tcp-load-balance-not-work/242282)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 9\
**Last updated:** [June 15, 2015, 11:50am UTC](https://www.ruby-forum.com/t/nginx-plus-with-ssl-on-tcp-load-balance-not-work/242282 "2015-06-15T11:50:58Z")

</div>

With info level log enabled. Found these: 80’s log: 2015/06/11 08:48:18 \[info\] 12719#0: \*449 client 10.0.0.1:1494 connected to 0.0.0.0:80 2015/06/11 08:48:18 \[info\] 12719#0: \*449 proxy 172.31.5.228:17019 connected …

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

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