# NGINX

**URL:** https://www.ruby-forum.com/c/server/nginx/21.md?page=14

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

---

## [SF Bay Area OpenResty Meetup](https://www.ruby-forum.com/t/sf-bay-area-openresty-meetup/244000)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [February 4, 2016, 4:11am UTC](https://www.ruby-forum.com/t/sf-bay-area-openresty-meetup/244000 "2016-02-04T04:11:47Z")

</div>

Hi folks, I’ve recently created the Bay Area OpenResty Meeup group on meetup.com: http://www.meetup.com/Bay-Area-OpenResty-Meetup/ You’re welcome to join us in this group. We’re currently planning a face-to-face meet…

---

## [Restart Nginx than root user?](https://www.ruby-forum.com/t/restart-nginx-than-root-user/243907)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 3, 2016, 11:32pm UTC](https://www.ruby-forum.com/t/restart-nginx-than-root-user/243907 "2016-02-03T23:32:34Z")

</div>

Hi Team, root user is must for NGinx restart? Everytime of restart, prompts for root user than other users. PID’s are not getting killed…for the running process with project users. I tried solution of adding entry t…

---

## [Question about client certs](https://www.ruby-forum.com/t/question-about-client-certs/243984)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [February 3, 2016, 10:22pm UTC](https://www.ruby-forum.com/t/question-about-client-certs/243984 "2016-02-03T22:22:28Z")

</div>

Hi Is it possible with nginx to do this / /noclientcert/ /clientcert/ so you can get to / with no client cert, but /clientcert/ you need a cert, but for /noclientcert/ you don’t need a cert. Looks like from the …

---

## ["upstream sent too big header while reading response header from upstream"?](https://www.ruby-forum.com/t/upstream-sent-too-big-header-while-reading-response-header-from-upstream/243999)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [February 3, 2016, 3:10pm UTC](https://www.ruby-forum.com/t/upstream-sent-too-big-header-while-reading-response-header-from-upstream/243999 "2016-02-03T15:10:46Z")

</div>

Hi All. I am currently trying to find the source of “upstream sent too big header while reading response header from upstream” in my logfiles because nginx as a consequence returns “502 Bad Gateway”. Basically I us…

---

## [Configure complex dynamic urls](https://www.ruby-forum.com/t/configure-complex-dynamic-urls/243997)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [February 3, 2016, 8:23am UTC](https://www.ruby-forum.com/t/configure-complex-dynamic-urls/243997 "2016-02-03T08:23:01Z")

</div>

Hi I’ve been trying to configure an nginx to accept a complex dynamic url, so far I got this. (http://pastebin.com/aSmW5GPn), this what I got so far. Here is the deal, the url should be working like these: mydomain.…

---

## [How to configure a one page site](https://www.ruby-forum.com/t/how-to-configure-a-one-page-site/243912)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 2, 2016, 5:01pm UTC](https://www.ruby-forum.com/t/how-to-configure-a-one-page-site/243912 "2016-02-02T17:01:08Z")

</div>

I would like to know how to configure a one page site in which I delete the welcome to nginx and add my site details. I know how to edit the site etc… as I have configured the site to work this way before but I have …

---

## [Error occurs when both padding and continuation are enabled](https://www.ruby-forum.com/t/error-occurs-when-both-padding-and-continuation-are-enabled/243925)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 2, 2016, 3:03pm UTC](https://www.ruby-forum.com/t/error-occurs-when-both-padding-and-continuation-are-enabled/243925 "2016-02-02T15:03:43Z")

</div>

Hi, Another error I met recently. It occurred when both padding and continuation are enabled. A normal HEADERS frame was divided as follows: HEADERS ===\> HEADERS(PADDED\_FLAG) + CONTINUATION + CONTINUATION After send…

---

## [Nginx HTTP/2 server push support?](https://www.ruby-forum.com/t/nginx-http-2-server-push-support/243986)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [February 2, 2016, 9:19am UTC](https://www.ruby-forum.com/t/nginx-http-2-server-push-support/243986 "2016-02-02T09:19:39Z")

</div>

Curious if anyone has heard or knows if or when Nginx HTTP/2 support will add server push https://http2.github.io/faq/#how-can-i-use-http2-server-push ? Posted at Nginx Forum:

---

## [Upstream max\_fails/fail\_timeout logic?](https://www.ruby-forum.com/t/upstream-max-fails-fail-timeout-logic/243974)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 1, 2016, 3:00pm UTC](https://www.ruby-forum.com/t/upstream-max-fails-fail-timeout-logic/243974 "2016-02-01T15:00:09Z")

</div>

Hello I’ve set up an http proxy to a couple of other servers and am using max\_fails and fail\_time in addition to having a proxy\_read\_timeout to force failover in case of a read timeout. It seems to work fine, but I ha…

---

## [Absolute rather than relative times in expires directives](https://www.ruby-forum.com/t/absolute-rather-than-relative-times-in-expires-directives/192527)

<div class="topic-metadata">

**Author:** [@elucify](https://www.ruby-forum.com/u/elucify)\
**Replies:** 13\
**Last updated:** [February 1, 2016, 1:45pm UTC](https://www.ruby-forum.com/t/absolute-rather-than-relative-times-in-expires-directives/192527 "2016-02-01T13:45:23Z")

</div>

Hi, I have a static HTML page that is updated at midnight each day. So I’d like to set its expires directive to an absolute rather than a relative time. I was thinking of something like expires at \<crontab-line\> e.…

---

## ["Connection Refused" with nginx as reverse proxy](https://www.ruby-forum.com/t/connection-refused-with-nginx-as-reverse-proxy/243979)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [February 1, 2016, 9:32am UTC](https://www.ruby-forum.com/t/connection-refused-with-nginx-as-reverse-proxy/243979 "2016-02-01T09:32:27Z")

</div>

I have set up nginx as a reverse proxy with this configuration worker\_processes 1; pid /run/nginx.pid; events { worker\_connections 4096; } http { include /etc/nginx/default.d/proxy.conf; default\_type a…

---

## [File download results in "110: Connection timed out" on nginx; Download continues until Linux Kernel](https://www.ruby-forum.com/t/file-download-results-in-110-connection-timed-out-on-nginx-download-continues-until-linux-kernel/243970)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [January 30, 2016, 2:29pm UTC](https://www.ruby-forum.com/t/file-download-results-in-110-connection-timed-out-on-nginx-download-continues-until-linux-kernel/243970 "2016-01-30T14:29:54Z")

</div>

Hello everyone, when trying to download a static file using curl with a limit rate of 4000 (to simulate slow consumers) the download aborts after a certain time. A workaround to make that work is to increase the send\_…

---

## [How to check which directive actually delivers the files?](https://www.ruby-forum.com/t/how-to-check-which-directive-actually-delivers-the-files/243928)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [January 29, 2016, 12:40pm UTC](https://www.ruby-forum.com/t/how-to-check-which-directive-actually-delivers-the-files/243928 "2016-01-29T12:40:41Z")

</div>

Hi, I’ve setup nginx + php-fpm for a typo3. It looks like this: server { listen 80; server\_name the\_server; access\_log /home/the\_server/logs/nginx\_access\_log mycustom; error\_log /home/the\_server/logs/nginx\_error\_l…

---

## [Load balancer on nginx : how to monitoring backend?](https://www.ruby-forum.com/t/load-balancer-on-nginx-how-to-monitoring-backend/243950)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 9\
**Last updated:** [January 29, 2016, 3:28am UTC](https://www.ruby-forum.com/t/load-balancer-on-nginx-how-to-monitoring-backend/243950 "2016-01-29T03:28:37Z")

</div>

Hello everyone, I use nginx 1.8.0 on debian (official nginx package with nginx repo) I created a reverse proxy SSL cluster with load balancing. Everything works fine. upstream myapp { server srv1; server srv2; } …

---

## [Question about rewrite directive](https://www.ruby-forum.com/t/question-about-rewrite-directive/243960)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [January 29, 2016, 12:07am UTC](https://www.ruby-forum.com/t/question-about-rewrite-directive/243960 "2016-01-29T00:07:05Z")

</div>

Hi, a customer has this in his .htaccess file (among other things): RewriteCond %{REQUEST\_FILENAME} !-f RewriteCond %{REQUEST\_FILENAME} !-d RewriteRule ^(.+).(\\d+).(php|js|css|png|jpg|gif|gzip)$ $1.$3 \[L\] This is to…

---

## [PHP path\_info problem](https://www.ruby-forum.com/t/php-path-info-problem/243917)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [January 28, 2016, 11:58pm UTC](https://www.ruby-forum.com/t/php-path-info-problem/243917 "2016-01-28T23:58:19Z")

</div>

I have a web app in php that relays on path\_info to processs a request but i always get a 404 when do http://localhost/folder/app/app.php/controller/method nginx always respond 404 any ideas how to solve this and gai…

---

## [OpenResty 1.9.7.3 released](https://www.ruby-forum.com/t/openresty-1-9-7-3-released/243959)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [January 28, 2016, 9:53pm UTC](https://www.ruby-forum.com/t/openresty-1-9-7-3-released/243959 "2016-01-28T21:53:53Z")

</div>

Hi folks OpenResty 1.9.7.3 is now released with the latest security fixes from the mainline NGINX core (CVE-2016-0742, CVE-2016-0746, CVE-2016-0747). https://openresty.org/#Download Both the (portable) source code di…

---

## [Nginx-1.8.1](https://www.ruby-forum.com/t/nginx-1-8-1/243932)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [January 28, 2016, 8:24am UTC](https://www.ruby-forum.com/t/nginx-1-8-1/243932 "2016-01-28T08:24:47Z")

</div>

Changes with nginx 1.8.1 26 Jan 2016 \*) Security: invalid pointer dereference might occur during DNS server response processing if the “resolver” directive was used, allowing…

---

## [Nginx-1.9.10](https://www.ruby-forum.com/t/nginx-1-9-10/243931)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [January 28, 2016, 8:21am UTC](https://www.ruby-forum.com/t/nginx-1-9-10/243931 "2016-01-28T08:21:17Z")

</div>

Changes with nginx 1.9.10 26 Jan 2016 \*) Security: invalid pointer dereference might occur during DNS server response processing if the “resolver” directive was used, allowing…

---

## [Dropped https client connection doesn't drop backend proxy\_pass connection](https://www.ruby-forum.com/t/dropped-https-client-connection-doesnt-drop-backend-proxy-pass-connection/227429)

<div class="topic-metadata">

**Author:** [@Robert\_Mueller](https://www.ruby-forum.com/u/Robert_Mueller)\
**Replies:** 30\
**Last updated:** [January 28, 2016, 7:59am UTC](https://www.ruby-forum.com/t/dropped-https-client-connection-doesnt-drop-backend-proxy-pass-connection/227429 "2016-01-28T07:59:40Z")

</div>

Hi I’m trying to setup nginx to proxy a server sent events connection (http://dev.w3.org/html5/eventsource/) to a backend server. The approach is the browser connects to a particular path, which then checks the cooki…

---

## [Best performance test tool](https://www.ruby-forum.com/t/best-performance-test-tool/243949)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [January 27, 2016, 5:30pm UTC](https://www.ruby-forum.com/t/best-performance-test-tool/243949 "2016-01-27T17:30:23Z")

</div>

Hello, I created a NGINX module, I am trying to do a benchmark on my module. I would like to check the performance on a post requests (different files…). I tried to use ab, wrk and locust. I tried running each one of…

---

## [Pages rewrite](https://www.ruby-forum.com/t/pages-rewrite/243892)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [January 26, 2016, 11:40pm UTC](https://www.ruby-forum.com/t/pages-rewrite/243892 "2016-01-26T23:40:44Z")

</div>

Hi Guys, I need a help on below topic and I wanted to achieve URL Rewrite like this We want to redirect our domain pages from source to destination one Source : Original Page www.xxxx.com/index.php?id=news Destinat…

---

## [Pcre\_exec() failed: -10](https://www.ruby-forum.com/t/pcre-exec-failed-10/243935)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [January 26, 2016, 5:55pm UTC](https://www.ruby-forum.com/t/pcre-exec-failed-10/243935 "2016-01-26T17:55:29Z")

</div>

Hello, I’ve a rule below in nginx config to 404 if the argument of search query is a non printable ascii character. Nginx is compiled with pcre and pcre seem\*\* (refer 4.d below) to have utf8 support and unicode suppo…

---

## [Nginx security advisory (CVE-2016-0742, CVE-2016-0746, CVE-2016-0747)](https://www.ruby-forum.com/t/nginx-security-advisory-cve-2016-0742-cve-2016-0746-cve-2016-0747/243934)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [January 26, 2016, 5:33pm UTC](https://www.ruby-forum.com/t/nginx-security-advisory-cve-2016-0742-cve-2016-0746-cve-2016-0747/243934 "2016-01-26T17:33:52Z")

</div>

Hello! Several problems in nginx resolver were identified, which might allow an attacker to cause worker process crash, or might have potential other impact: Invalid pointer dereference might occur during DNS serve…

---

## [Multiple ssl\_engine instances](https://www.ruby-forum.com/t/multiple-ssl-engine-instances/243930)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [January 26, 2016, 4:16pm UTC](https://www.ruby-forum.com/t/multiple-ssl-engine-instances/243930 "2016-01-26T16:16:10Z")

</div>

Does nginx support multiple ssl engines? I would like to use the cryptodev engine for encryption and the engine forIntel RNG. Cata

---

## [HTTP/2 max header size](https://www.ruby-forum.com/t/http-2-max-header-size/243923)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [January 26, 2016, 12:48pm UTC](https://www.ruby-forum.com/t/http-2-max-header-size/243923 "2016-01-26T12:48:12Z")

</div>

Hi, I was using “nghttp” command line tool to test NGINX. I enabled “continuation” option in “nghttp” command line tool, which filled the HEADERS frame with a very large header field/value. Then I got an GOAWAY frame…

---

## [The sa\_family of accept socket is equal 0](https://www.ruby-forum.com/t/the-sa-family-of-accept-socket-is-equal-0/243910)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [January 25, 2016, 4:44pm UTC](https://www.ruby-forum.com/t/the-sa-family-of-accept-socket-is-equal-0/243910 "2016-01-25T16:44:43Z")

</div>

nginx version: 1.63 OS version: hp-ux B.11.23 Client connect server with telnet, by GDB, I find: ngx\_event\_accept.c, function ngx\_event\_accept, line 279, the value of ‘c-\>addr\_text.len’ is zero, but the server sock…

---

## [Https don't works with nginx on debian 8](https://www.ruby-forum.com/t/https-dont-works-with-nginx-on-debian-8/243914)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [January 25, 2016, 11:56am UTC](https://www.ruby-forum.com/t/https-dont-works-with-nginx-on-debian-8/243914 "2016-01-25T11:56:42Z")

</div>

Hello every body, first sorry for my poor english. Second i’m newby with nginx I wrote you to give some help about https and nginx. I have a site web works fine in http, but when i try to acces to this website throw…

---

## [Cache some API requests in Nginx](https://www.ruby-forum.com/t/cache-some-api-requests-in-nginx/243911)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [January 25, 2016, 7:53am UTC](https://www.ruby-forum.com/t/cache-some-api-requests-in-nginx/243911 "2016-01-25T07:53:06Z")

</div>

I’m seeking advise from experts here. We have the following scenario. We have a java application. Java app is running on tomcat7. tomcat7 acting as API server. User interface files ( Static html and css ) are served b…

---

## [The sa\_family of accept socket is equal 0](https://www.ruby-forum.com/t/the-sa-family-of-accept-socket-is-equal-0/243908)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [January 25, 2016, 5:03am UTC](https://www.ruby-forum.com/t/the-sa-family-of-accept-socket-is-equal-0/243908 "2016-01-25T05:03:42Z")

</div>

nginx version: 1.63 OS version: hp-ux B.11.23 Client connect server with telnet, by GDB, I find: ngx\_event\_accept.c, function ngx\_event\_accept, line 279, the value of ‘c-\>addr\_text.len’ is zero, but the server sock…

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

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