# Server

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

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

---

## [Limit\_conn is not limiting the number of connections in my use case](https://www.ruby-forum.com/t/limit-conn-is-not-limiting-the-number-of-connections-in-my-use-case/244811)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 23, 2016, 9:33am UTC](https://www.ruby-forum.com/t/limit-conn-is-not-limiting-the-number-of-connections-in-my-use-case/244811 "2016-06-23T09:33:49Z")

</div>

Hello, I have a hard time understanding limit\_conn My NGINX has the configuration below. I would expect to see 16 connections on the backend server 192.168.10.131 defined in the “dynamic” directive. Yet I see ~50-60…

---

## [SSL handshake failed with mutual TLS](https://www.ruby-forum.com/t/ssl-handshake-failed-with-mutual-tls/244807)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [June 22, 2016, 9:31pm UTC](https://www.ruby-forum.com/t/ssl-handshake-failed-with-mutual-tls/244807 "2016-06-22T21:31:48Z")

</div>

Hello everyone. I’m setting up an internal web server that will accept requests from another systems (mostly enterprise-ish something) authenticated with client certificates. We’ve successfully configured interaction…

---

## [HTTP2 site does not loads on firefox](https://www.ruby-forum.com/t/http2-site-does-not-loads-on-firefox/244827)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 22, 2016, 9:00pm UTC](https://www.ruby-forum.com/t/http2-site-does-not-loads-on-firefox/244827 "2016-06-22T21:00:15Z")

</div>

Hi, We have recently deployed a site on http2 (with ALPN support) using nginx. The site does not open in Firefox 47. The site supports following ciphers : Protocols TLS 1.2 Yes TLS 1.1 Yes TLS 1.0 Yes SSL 3 No SSL 2…

---

## [Send Strict-Transport-Security header in 401 response](https://www.ruby-forum.com/t/send-strict-transport-security-header-in-401-response/244815)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 22, 2016, 2:55pm UTC](https://www.ruby-forum.com/t/send-strict-transport-security-header-in-401-response/244815 "2016-06-22T14:55:44Z")

</div>

Hello, I would like to send the header: add\_header Strict-Transport-Security “max-age=31536000; includeSubDomains”; Despite the 401 Unauthorized request. Is that possible? Currently the header is only added after a …

---

## [Segmentation fault with default init.d](https://www.ruby-forum.com/t/segmentation-fault-with-default-init-d/244824)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [June 22, 2016, 10:10am UTC](https://www.ruby-forum.com/t/segmentation-fault-with-default-init-d/244824 "2016-06-22T10:10:04Z")

</div>

I installed nginx-extras and passenger from Phusion PPA and received the following error. /etc/init.d/nginx: line 46: 32069 Segmentation fault (core dumped) start-stop-daemon --start --quiet --pidfile $PID --exec…

---

## [Add limit\_upstream to nginx](https://www.ruby-forum.com/t/add-limit-upstream-to-nginx/244797)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [June 20, 2016, 2:56pm UTC](https://www.ruby-forum.com/t/add-limit-upstream-to-nginx/244797 "2016-06-20T14:56:02Z")

</div>

I wrote a module for nginx 4 years ago which limited the number of connections to upstream in order that the upstream servers would not be too busy to work efficiently. Now I think this module is stable, and expect i…

---

## [TCP hostname routing using SNI](https://www.ruby-forum.com/t/tcp-hostname-routing-using-sni/244804)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 20, 2016, 8:44am UTC](https://www.ruby-forum.com/t/tcp-hostname-routing-using-sni/244804 "2016-06-20T08:44:31Z")

</div>

We need TCP (not http) hostname routing for an environment we are creating using k8s and ingress with the nginx ingress controller. We are trying to figure out if there is a way to create an nginx server with a confi…

---

## [How to forbidden other site stealing my forum attachment?](https://www.ruby-forum.com/t/how-to-forbidden-other-site-stealing-my-forum-attachment/244816)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [June 20, 2016, 8:10am UTC](https://www.ruby-forum.com/t/how-to-forbidden-other-site-stealing-my-forum-attachment/244816 "2016-06-20T08:10:38Z")

</div>

Hello everyone, My forum posts and attachments have been stolen much more by other site. and I write a nginx rule to prevent, without success, please guide. example this forum: http://dysmyh.com/thread-41217-1-1.html …

---

## [Why set keepalive\_timeout to a short period when Nginx is great at handling them?](https://www.ruby-forum.com/t/why-set-keepalive-timeout-to-a-short-period-when-nginx-is-great-at-handling-them/244810)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 6\
**Last updated:** [June 19, 2016, 4:46pm UTC](https://www.ruby-forum.com/t/why-set-keepalive-timeout-to-a-short-period-when-nginx-is-great-at-handling-them/244810 "2016-06-19T16:46:28Z")

</div>

I read something interesting today: https://blog.martinfjordvald.com/2011/04/optimizing-nginx-for-high-traffic-loads/ “Keep alive is a HTTP feature which allows user agents to keep the connection to your server open f…

---

## [Send\_header with NGX\_HTTP\_INTERNAL\_SERVER\_ERROR code](https://www.ruby-forum.com/t/send-header-with-ngx-http-internal-server-error-code/244799)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 19, 2016, 10:12am UTC](https://www.ruby-forum.com/t/send-header-with-ngx-http-internal-server-error-code/244799 "2016-06-19T10:12:45Z")

</div>

Hello, I have created my own NGINX module, which get rest request and return a response. When I send a response with status 500 (NGX\_HTTP\_INTERNAL\_SERVER\_ERROR) or 404 (NGX\_HTTP\_BAD\_REQUEST) I see on the memory uses…

---

## [What exactly does keepalive\_timeout work?](https://www.ruby-forum.com/t/what-exactly-does-keepalive-timeout-work/244801)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [June 18, 2016, 1:04pm UTC](https://www.ruby-forum.com/t/what-exactly-does-keepalive-timeout-work/244801 "2016-06-18T13:04:30Z")

</div>

Hi, I’d like to understand how keepalive\_timeout works. The description in the documentation isn’t very clear and I couldn’t get an answer to my satisfaction on nginx IRC. People seem to have their own understanding …

---

## [Nginx.org packages GPG key expiration & update](https://www.ruby-forum.com/t/nginx-org-packages-gpg-key-expiration-update/244800)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [June 16, 2016, 7:22pm UTC](https://www.ruby-forum.com/t/nginx-org-packages-gpg-key-expiration-update/244800 "2016-06-16T19:22:00Z")

</div>

Hello, As some might have noticed, the expiration date of the GPG key we use to sign repos and packages for Linux distributions 1 was getting close (2016-08-17), so I’ve prolonged the key validity until 2024-06-14. Th…

---

## [Nginx custom module multi process help](https://www.ruby-forum.com/t/nginx-custom-module-multi-process-help/244796)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [June 16, 2016, 7:20pm UTC](https://www.ruby-forum.com/t/nginx-custom-module-multi-process-help/244796 "2016-06-16T19:20:14Z")

</div>

Hi, I’m new to nginx development and I have to work on a custom nginx module. The module is designed to provide a list of variables for the user to use in the nginx.conf file. Whenever those variables are used, the …

---

## [Pcre2](https://www.ruby-forum.com/t/pcre2/244378)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [June 16, 2016, 6:00pm UTC](https://www.ruby-forum.com/t/pcre2/244378 "2016-06-16T18:00:12Z")

</div>

Are there any plans to move from pcre (8.x) to pcre2 (10.x)? I realize that the API changed quite a bit but it would be awesome if there was a migration plan for it. Posted at Nginx Forum:

---

## [REST URLs and NGINX (config help needed)](https://www.ruby-forum.com/t/rest-urls-and-nginx-config-help-needed/244788)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [June 16, 2016, 3:35pm UTC](https://www.ruby-forum.com/t/rest-urls-and-nginx-config-help-needed/244788 "2016-06-16T15:35:20Z")

</div>

Hi, Based on scraps found in the NGINX docs, I have a semi-working config that looks as follows : location /demo { allow 10.0.0.0/8; deny all; try\_files $uri @pdemo; } location @pdemo { fastcgi\_param SCRIPT\_FIL…

---

## [Mapping non-empty $query\_string](https://www.ruby-forum.com/t/mapping-non-empty-query-string/244789)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [June 15, 2016, 7:17pm UTC](https://www.ruby-forum.com/t/mapping-non-empty-query-string/244789 "2016-06-15T19:17:52Z")

</div>

Hi! I’m running a Wordpress based website on my server, I’ve set up fastcgi cache recently. Now I want to get rid of evil-ifs, that are used to detect cache skipping cases, and replace them with map. I managed to co…

---

## [Error log truncates important infos](https://www.ruby-forum.com/t/error-log-truncates-important-infos/244786)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [June 15, 2016, 5:54pm UTC](https://www.ruby-forum.com/t/error-log-truncates-important-infos/244786 "2016-06-15T17:54:20Z")

</div>

We have error logs like this: 2016/06/14 12:47:45 \[error\] 21036#21036: \*378143 FastCGI sent in stderr: “PHP message: PHP Notice: Undefined index: model\_name in /data/example.com/module/SalesFloor/view/partial/flyout/…

---

## [Cant load perl module](https://www.ruby-forum.com/t/cant-load-perl-module/244782)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [June 15, 2016, 6:26am UTC](https://www.ruby-forum.com/t/cant-load-perl-module/244782 "2016-06-15T06:26:48Z")

</div>

Hi, I just upgraded nginx to 1.10.1 but I am getting below error. nginx: \[emerg\] unknown directive “perl\_modules” in /etc/nginx/nginx.conf:90 My package is already compiled with perl (nginx -V), I am on Wheezy and u…

---

## [Response from proxy server buffered in memory?](https://www.ruby-forum.com/t/response-from-proxy-server-buffered-in-memory/244790)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [June 15, 2016, 1:20am UTC](https://www.ruby-forum.com/t/response-from-proxy-server-buffered-in-memory/244790 "2016-06-15T01:20:41Z")

</div>

I configured nginx as reverse proxy to an application server java disabling the proxy buffering: proxy\_buffering off; proxy\_request\_buffering off; I noticed that when a client makes a request to the java server (e.g…

---

## [Drupal 7 and Coldfusion Proxy](https://www.ruby-forum.com/t/drupal-7-and-coldfusion-proxy/244787)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 15, 2016, 12:11am UTC](https://www.ruby-forum.com/t/drupal-7-and-coldfusion-proxy/244787 "2016-06-15T00:11:45Z")

</div>

Good morning everyone! I have an issue that I am hoping is just a simple error on my part and the collective wisdom of the gurus here might solve it. My setup : RHEL 7, Nginx 1.10, PHP 7 and Drupal 7 My issue : try…

---

## [10054: An existing connection was forcibly closed by the remote host](https://www.ruby-forum.com/t/10054-an-existing-connection-was-forcibly-closed-by-the-remote-host/244785)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 15, 2016, 12:05am UTC](https://www.ruby-forum.com/t/10054-an-existing-connection-was-forcibly-closed-by-the-remote-host/244785 "2016-06-15T00:05:19Z")

</div>

8712#14268: \*2060 WSARecv() failed (10054: An existing connection was forcibly closed by the remote host) while reading response header from upstream, client:0.xx.xx.0 Can any one help me on this please. I have site …

---

## [Ssl session id and spdy/http2 traffic](https://www.ruby-forum.com/t/ssl-session-id-and-spdy-http2-traffic/244778)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 14, 2016, 4:29pm UTC](https://www.ruby-forum.com/t/ssl-session-id-and-spdy-http2-traffic/244778 "2016-06-14T16:29:06Z")

</div>

I have noticed that the variables ssl\_session\_id and ssl\_session\_reused are always empty for http2 traffic (and for spdy before that). Under http 1.1 they are set as expected and documented. What’s the reason for th…

---

## [Trying to Understand Upstream Keepalive](https://www.ruby-forum.com/t/trying-to-understand-upstream-keepalive/240966)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 9\
**Last updated:** [June 14, 2016, 2:13pm UTC](https://www.ruby-forum.com/t/trying-to-understand-upstream-keepalive/240966 "2016-06-14T14:13:33Z")

</div>

I’m trying to better wrap my head around the keepalive functionality in the upstream module as when enabling keepalive, I’m seeing little to no performance benefits using the FOSS version of nginx. My upstream block …

---

## [Worker\_connections are not enough](https://www.ruby-forum.com/t/worker-connections-are-not-enough/219908)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [June 14, 2016, 9:56am UTC](https://www.ruby-forum.com/t/worker-connections-are-not-enough/219908 "2016-06-14T09:56:31Z")

</div>

Hi I am working with nginx and everything works fine! But when i set the worker\_connections down on (for example 11) the page can’t load completely (some pictures are missing). In the error-log is following error: wo…

---

## [Reverse proxy tuning](https://www.ruby-forum.com/t/reverse-proxy-tuning/244766)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 10, 2016, 7:36pm UTC](https://www.ruby-forum.com/t/reverse-proxy-tuning/244766 "2016-06-10T19:36:08Z")

</div>

Hello ! I have a nginx reverse proxy http/https for a node.js application with websockets (an extract of the nginx config follows). I would like to know if there is a way to : force nginx to retry connection to the…

---

## [Passive health check in stream\_proxy module](https://www.ruby-forum.com/t/passive-health-check-in-stream-proxy-module/244751)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [June 8, 2016, 11:46pm UTC](https://www.ruby-forum.com/t/passive-health-check-in-stream-proxy-module/244751 "2016-06-08T23:46:52Z")

</div>

How does passive health check work in stream\_proxy module? especially for UDP which is connectionless. How does nginx detect if it is a failed connection and retry next? Thanks! Frank

---

## [Configuring Nginx OS to perform advanced web proxy function](https://www.ruby-forum.com/t/configuring-nginx-os-to-perform-advanced-web-proxy-function/244738)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 6, 2016, 4:07pm UTC](https://www.ruby-forum.com/t/configuring-nginx-os-to-perform-advanced-web-proxy-function/244738 "2016-06-06T16:07:30Z")

</div>

Hello, I am certainly a newbie at Nginx. We have a need to implement a web proxy which performs the following functions: Receive HTTPS SOAP transactions from 40 other source servers and receive those on ports i…

---

## [Allow/deny by name?](https://www.ruby-forum.com/t/allow-deny-by-name/244740)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [June 6, 2016, 3:35pm UTC](https://www.ruby-forum.com/t/allow-deny-by-name/244740 "2016-06-06T15:35:57Z")

</div>

Hi all, Is there a way to allow or deny based on name? For instance, I currently have my site restricted to intranet traffic only, but I need to allow a remote SMTP server access. Can I do something like allow smtp.m…

---

## [I think we can add a new section called 'ssl'](https://www.ruby-forum.com/t/i-think-we-can-add-a-new-section-called-ssl/244734)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 6, 2016, 3:20pm UTC](https://www.ruby-forum.com/t/i-think-we-can-add-a-new-section-called-ssl/244734 "2016-06-06T15:20:45Z")

</div>

Hello, When the nginx-1.11.0 released,‘ssl\_certficate’ and ‘ssl\_certificate\_key’ options can be use several times to load different kinds of certificates.But,if you use the module ‘nginx-ct’ to enable ‘Certificate T…

---

## [Module: Configuring upstream params (eg fastcgi\_param) per request](https://www.ruby-forum.com/t/module-configuring-upstream-params-eg-fastcgi-param-per-request/244635)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 6, 2016, 3:13pm UTC](https://www.ruby-forum.com/t/module-configuring-upstream-params-eg-fastcgi-param-per-request/244635 "2016-06-06T15:13:45Z")

</div>

I’m working on an authentication module for nginx, namely the Shibboleth auth module (GitHub - nginx-shib/nginx-http-shibboleth: Shibboleth auth request module for nginx). This module is based off the core nginx auth\_…

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

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