# NGINX

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

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

---

## [Reminder: The 1st Bay Area OpenResty Meetup Tomorrow Evening](https://www.ruby-forum.com/t/reminder-the-1st-bay-area-openresty-meetup-tomorrow-evening/244231)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [March 8, 2016, 9:54pm UTC](https://www.ruby-forum.com/t/reminder-the-1st-bay-area-openresty-meetup-tomorrow-evening/244231 "2016-03-08T21:54:21Z")

</div>

Hi folks We’re going to have the first Bay Area OpenResty meetup tomorrow evening, in CloudFlare’s office, as originally planned about one month ago. When: 5:30pm ~ 6:30pm, 9 March 2016 Where: 101 Townsend St San …

---

## [NGINX reload memory leak](https://www.ruby-forum.com/t/nginx-reload-memory-leak/244225)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [March 8, 2016, 6:04pm UTC](https://www.ruby-forum.com/t/nginx-reload-memory-leak/244225 "2016-03-08T18:04:11Z")

</div>

Hi, I am working on a module for NGINX and am having a problem with memory leaking when using “./nginx -s reload”. Everything that is allocated is done so through ngx\_palloc or ngx\_pcalloc so NGINX should know to cle…

---

## [Proxy\_cache\_path max\_size doesn't work](https://www.ruby-forum.com/t/proxy-cache-path-max-size-doesnt-work/244224)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [March 8, 2016, 1:23pm UTC](https://www.ruby-forum.com/t/proxy-cache-path-max-size-doesnt-work/244224 "2016-03-08T13:23:11Z")

</div>

Hi, I’m using nginx as a reverse proxy with caching on a ramdisk /var/cache/nginx is a tmpfs of the size 1800m. And this is my proxy\_cache\_path line in nginx: proxy\_cache\_path /var/cache/nginx levels=1:2 use\_temp\_pat…

---

## [Secure and httponly cookies](https://www.ruby-forum.com/t/secure-and-httponly-cookies/244218)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 14\
**Last updated:** [March 8, 2016, 8:59am UTC](https://www.ruby-forum.com/t/secure-and-httponly-cookies/244218 "2016-03-08T08:59:43Z")

</div>

Hi, How to mark all the cookies from the backend servers as secure and httponly? Is there some config in NGINX available for this? Thanks, Krishna Posted at Nginx Forum:

---

## [This webpage has a redirect loop (ERR\_TOO\_MANY\_REDIRECTS)](https://www.ruby-forum.com/t/this-webpage-has-a-redirect-loop-err-too-many-redirects/244219)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [March 7, 2016, 8:24pm UTC](https://www.ruby-forum.com/t/this-webpage-has-a-redirect-loop-err-too-many-redirects/244219 "2016-03-07T20:24:21Z")

</div>

Hi, My set up is as below: NGINX (reverse proxy) IBM WebSeal (redirects to a common login page, after authentication forwards to internal proxy along with the redirected url)  Internal Proxy (IBM http Server)  W…

---

## [This webpage has a redirect loop (ERR\_TOO\_MANY\_REDIRECTS)](https://www.ruby-forum.com/t/this-webpage-has-a-redirect-loop-err-too-many-redirects/244217)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [March 7, 2016, 8:09pm UTC](https://www.ruby-forum.com/t/this-webpage-has-a-redirect-loop-err-too-many-redirects/244217 "2016-03-07T20:09:10Z")

</div>

Hi, My set up is as below: NGINX (reverse proxy) --\>IBM WebSeal (redirects to a common login page, after authentication forwards to internal proxy along with the redirected url) --\> Internal Proxy (IBM http Server) -…

---

## [TCP Load Balancing with Proxy Protocol](https://www.ruby-forum.com/t/tcp-load-balancing-with-proxy-protocol/244214)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [March 7, 2016, 3:58pm UTC](https://www.ruby-forum.com/t/tcp-load-balancing-with-proxy-protocol/244214 "2016-03-07T15:58:33Z")

</div>

Hi, Newbie here. Would like to ask if NGINX supports Proxy Protocol. This to expose client IP addresses to the backend nodes. Regards, Chino

---

## [XSLT and autoindex XML output: conditionally transform XML only when it's autoindex output?](https://www.ruby-forum.com/t/xslt-and-autoindex-xml-output-conditionally-transform-xml-only-when-its-autoindex-output/244148)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [March 5, 2016, 7:02pm UTC](https://www.ruby-forum.com/t/xslt-and-autoindex-xml-output-conditionally-transform-xml-only-when-its-autoindex-output/244148 "2016-03-05T19:02:37Z")

</div>

Hi, The documentation said it’s possible to transform XML dirlistings into XHTML in order to customize what they look like, so I did one that makes them look like lighttpd’s: This works fine, but does anybody know h…

---

## [TCP Connection](https://www.ruby-forum.com/t/tcp-connection/244203)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 10\
**Last updated:** [March 5, 2016, 7:02am UTC](https://www.ruby-forum.com/t/tcp-connection/244203 "2016-03-05T07:02:22Z")

</div>

Hi All, If I’m sending this email to wrong list, apologies and give me the good one. I have one embedded application which needs to connect via TCP and send an HTTP request. We run Nginx on Ubuntu 14.04. I can conn…

---

## [Upstream prematurely closes cnx =\> 502 Bad Gateway to client](https://www.ruby-forum.com/t/upstream-prematurely-closes-cnx-502-bad-gateway-to-client/244190)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [March 4, 2016, 2:38pm UTC](https://www.ruby-forum.com/t/upstream-prematurely-closes-cnx-502-bad-gateway-to-client/244190 "2016-03-04T14:38:38Z")

</div>

Nginx’ers, I trying to figure out why I’m randomly are seeing requests having issues with a nginx 1.7.4 when proxying to an upstream pool like: 2016/03/03 10:24:21 \[error\] 15905#0: \*3252814 upstream prematurely close…

---

## [TLS session resumption (identifier)](https://www.ruby-forum.com/t/tls-session-resumption-identifier/244191)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 9\
**Last updated:** [March 4, 2016, 11:39am UTC](https://www.ruby-forum.com/t/tls-session-resumption-identifier/244191 "2016-03-04T11:39:17Z")

</div>

Hello, Based on the default value of ssl\_session\_cache http://nginx.org/en/docs/http/ngx\_http\_ssl\_module.html#ssl\_session\_cache, nginx does not store any session parameter, but allows client with the right Master Key…

---

## [Nginx 1.9.11 and OpenSSL 1.0.2G - HTTP2, but no ALPN negotiated](https://www.ruby-forum.com/t/nginx-1-9-11-and-openssl-1-0-2g-http2-but-no-alpn-negotiated/244192)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [March 3, 2016, 7:59pm UTC](https://www.ruby-forum.com/t/nginx-1-9-11-and-openssl-1-0-2g-http2-but-no-alpn-negotiated/244192 "2016-03-03T19:59:23Z")

</div>

I have Ubuntu 14.04 with OpenSSL 1.0.2G, Upgraded to Nginx 1.9.11 mainline (PPA) from 1.8.1 stable, because Chrome will drop SPDY in a few months. Better be prepared. Everything went fine, but when I test HTTP2 I not…

---

## [Entire content is cached but when client pulls a byte range the entire file is sent](https://www.ruby-forum.com/t/entire-content-is-cached-but-when-client-pulls-a-byte-range-the-entire-file-is-sent/244196)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [March 3, 2016, 7:55pm UTC](https://www.ruby-forum.com/t/entire-content-is-cached-but-when-client-pulls-a-byte-range-the-entire-file-is-sent/244196 "2016-03-03T19:55:52Z")

</div>

Can the client pull a subset of the content from the cached content? If it can pull a subset of the content via byte range requests can you point me to how to configure nginx to allow this…? This is what is stored in …

---

## [Nginx ssl performance](https://www.ruby-forum.com/t/nginx-ssl-performance/244195)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [March 3, 2016, 5:02pm UTC](https://www.ruby-forum.com/t/nginx-ssl-performance/244195 "2016-03-03T17:02:57Z")

</div>

Hi, I want to test the nginx server performance with different server configuration (CPU and RAM etc) I first use apache ab as testing tool, nginx server with 2 CPU and 4G RAM, http test could handle 7000 requests/s…

---

## [How can nginx login and access swift storage node automatically?](https://www.ruby-forum.com/t/how-can-nginx-login-and-access-swift-storage-node-automatically/244193)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [March 3, 2016, 12:05pm UTC](https://www.ruby-forum.com/t/how-can-nginx-login-and-access-swift-storage-node-automatically/244193 "2016-03-03T12:05:01Z")

</div>

Hi, everybody. I am looking for a way to make my nginx server to login swift proxy server automatically, nginx is a web server ,and swift is a cache proxy for nginx ,which can store static file. What operation I ho…

---

## [Request processing rate and reverse proxy](https://www.ruby-forum.com/t/request-processing-rate-and-reverse-proxy/244166)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [March 3, 2016, 10:12am UTC](https://www.ruby-forum.com/t/request-processing-rate-and-reverse-proxy/244166 "2016-03-03T10:12:16Z")

</div>

Hello, I have setup nginx 1.9.3 as a reverse proxy \[1\] with a rate limitation per server \[2\]. The rate limitation does not work on this scenario. The rate request limitation works well if I use nginx as a normal webs…

---

## [Proxy\_next\_upstream](https://www.ruby-forum.com/t/proxy-next-upstream/244188)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [March 3, 2016, 4:56am UTC](https://www.ruby-forum.com/t/proxy-next-upstream/244188 "2016-03-03T04:56:14Z")

</div>

Does the proxy\_next\_upstream “timeout” apply to both connect timeout and read timeout? Is it possible to configure proxy\_next\_upstream to use connect timeout only, not the read timeout? In case a connection is made an…

---

## [Nginx caching no header content-length](https://www.ruby-forum.com/t/nginx-caching-no-header-content-length/244182)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [March 2, 2016, 6:53pm UTC](https://www.ruby-forum.com/t/nginx-caching-no-header-content-length/244182 "2016-03-02T18:53:57Z")

</div>

Hi, I am using nginx(caching server) in front my tomcat. My tomcat is serving header(content-length). But my nginx is not serving header content-length. However, i can put that header in my config with some static v…

---

## [Openstack swift as a cache proxy for nginx, swift proxy report 401 error when authenticate](https://www.ruby-forum.com/t/openstack-swift-as-a-cache-proxy-for-nginx-swift-proxy-report-401-error-when-authenticate/244180)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [March 2, 2016, 10:44am UTC](https://www.ruby-forum.com/t/openstack-swift-as-a-cache-proxy-for-nginx-swift-proxy-report-401-error-when-authenticate/244180 "2016-03-02T10:44:26Z")

</div>

hello, everybody. I am trying to find a way to use Openstack swift to cache static file for a web server such as nginx, the below are request step: nginx is configured as a load balance proxy server and web server. T…

---

## [Enable reuseport then only one worker is working?](https://www.ruby-forum.com/t/enable-reuseport-then-only-one-worker-is-working/244154)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 19\
**Last updated:** [March 2, 2016, 9:40am UTC](https://www.ruby-forum.com/t/enable-reuseport-then-only-one-worker-is-working/244154 "2016-03-02T09:40:10Z")

</div>

Hi All, I just upgrade Nginx from 1.8 o 1.9 on my FreeBSD box. After I enabled reuseport on my server, it seems now there is one worker always takes up 100% CPU and all the rest workers are use less than 1% CPU. In …

---

## [HTTP/2 Reverse Proxy](https://www.ruby-forum.com/t/http-2-reverse-proxy/244173)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [March 1, 2016, 11:40pm UTC](https://www.ruby-forum.com/t/http-2-reverse-proxy/244173 "2016-03-01T23:40:13Z")

</div>

I have Nginx (1.9.12) setup and working fine with HTTP/2 on host-a. I can establish HTTP/2 connections to host-a with any web browser. I also have HTTP/2 and proxypass setup on host-b. I can proxy HTTP/1.1 requests fr…

---

## [How to check nginx OCSP verification](https://www.ruby-forum.com/t/how-to-check-nginx-ocsp-verification/244177)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [March 1, 2016, 6:14pm UTC](https://www.ruby-forum.com/t/how-to-check-nginx-ocsp-verification/244177 "2016-03-01T18:14:15Z")

</div>

Hello, I want to configure a server with: ssl\_stapling on; ssl\_stapling\_verify on; What should happen if the ssl\_trusted\_certificate is (not|mis)configured? How to check nginx is properly configured and server-side…

---

## [Solution - Re: Problem with proxy cache misses](https://www.ruby-forum.com/t/solution-re-problem-with-proxy-cache-misses/244170)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [March 1, 2016, 12:30am UTC](https://www.ruby-forum.com/t/solution-re-problem-with-proxy-cache-misses/244170 "2016-03-01T00:30:56Z")

</div>

Found it! The solution was in a a mailing list item from 2012. You have to turn proxy buffering on in order for the proxy cache to work. I’m caching like a champ now. There probably ought to be a warning about that …

---

## [Problem with proxy cache misses](https://www.ruby-forum.com/t/problem-with-proxy-cache-misses/244169)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [February 29, 2016, 10:49pm UTC](https://www.ruby-forum.com/t/problem-with-proxy-cache-misses/244169 "2016-02-29T22:49:53Z")

</div>

Hello! I’m testing out a new configuration and there are two issues with the proxy cacheing feature I’m getting stuck on. Everything is a cache miss, and I’m not sure why: My cache config (anonymized): … proxy\_cach…

---

## [Nginx client authentication with 2 intermediate CAs](https://www.ruby-forum.com/t/nginx-client-authentication-with-2-intermediate-cas/244168)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [February 29, 2016, 7:19pm UTC](https://www.ruby-forum.com/t/nginx-client-authentication-with-2-intermediate-cas/244168 "2016-02-29T19:19:35Z")

</div>

I’m trying to get nginx to verify client certificate issued through the following chain, with self-signed root: Root CA =\> Signing CA =\> Subordinate CA =\> Client cert. I installed root\_CA.crt on the server, and on th…

---

## [Problems with nginx accepting tls connections](https://www.ruby-forum.com/t/problems-with-nginx-accepting-tls-connections/244167)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [February 29, 2016, 7:07pm UTC](https://www.ruby-forum.com/t/problems-with-nginx-accepting-tls-connections/244167 "2016-02-29T19:07:19Z")

</div>

Apologies if this is not solely connected to nginx, but I think I’ve narrowed it down to the connection with nginx, and how it is handling TLS connections. I’m attempting to setup nginx to receive connections from an …

---

## [Problem with error file](https://www.ruby-forum.com/t/problem-with-error-file/244161)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 7\
**Last updated:** [February 29, 2016, 4:35pm UTC](https://www.ruby-forum.com/t/problem-with-error-file/244161 "2016-02-29T16:35:26Z")

</div>

Hi all! I have installed NGINX v1.8.0 with PHP v 5.2.6 in Windows 7 (64 bits). In the root directory of nginx (c:\\nginx), a file called “error” is generated. The size of this file grows too, causing the hard drive ru…

---

## [PUT/POST files to akamai CDN](https://www.ruby-forum.com/t/put-post-files-to-akamai-cdn/244068)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 29, 2016, 4:20pm UTC](https://www.ruby-forum.com/t/put-post-files-to-akamai-cdn/244068 "2016-02-29T16:20:49Z")

</div>

Hello everyone, i want to use nginx as a simple and effective way to generate mpeg-dash streams and push them to the akamai CDN network. There for i need to push the generated files with the POST Request method to t…

---

## [Image filter module](https://www.ruby-forum.com/t/image-filter-module/244163)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [February 29, 2016, 4:03pm UTC](https://www.ruby-forum.com/t/image-filter-module/244163 "2016-02-29T16:03:53Z")

</div>

Hello, I just installed image filter module for resizing images. It worked as expected but we faced an issue that this module doesn’t respect EXIF so some images are being rotated to the original state then nginx res…

---

## [SNI host with non SSL wrong cert](https://www.ruby-forum.com/t/sni-host-with-non-ssl-wrong-cert/244160)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [February 29, 2016, 11:42am UTC](https://www.ruby-forum.com/t/sni-host-with-non-ssl-wrong-cert/244160 "2016-02-29T11:42:08Z")

</div>

Hello, I have nginx installed with multiple domainnames and multiple ssl-hosts use SNI. Now I add an other vhost with non-ssl server entry like example.com. when I try to use https://example.com/ I get a cert from an…

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

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