# NGINX

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

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

---

## [TLS/SSL Cache Automatic Purge](https://www.ruby-forum.com/t/tls-ssl-cache-automatic-purge/244437)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 9\
**Last updated:** [April 12, 2016, 11:18am UTC](https://www.ruby-forum.com/t/tls-ssl-cache-automatic-purge/244437 "2016-04-12T11:18:16Z")

</div>

Hi, My name is Arnaud and I am new to the list. I would like to know if NGINX is using any automatic purge mechanism for its TLS/SSL Cache configured using the following directives: ssl\_session\_timeout 10m; ssl\_ses…

---

## [Reading cookie](https://www.ruby-forum.com/t/reading-cookie/244444)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [April 12, 2016, 8:34am UTC](https://www.ruby-forum.com/t/reading-cookie/244444 "2016-04-12T08:34:42Z")

</div>

Hi, My name is Pankaj and i am new to this list. I would like to know how i can set cookie value and get cookie value. Please let me know is any module already written to do this. Regards, Pankaj

---

## [Nginx hack day project](https://www.ruby-forum.com/t/nginx-hack-day-project/244443)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 11:43pm UTC](https://www.ruby-forum.com/t/nginx-hack-day-project/244443 "2016-04-11T23:43:08Z")

</div>

I was trying to think of a hack day project, and one idea was to implement a blob server similar to Facebook’s haystack. Facebook did their server with the evhttpd library, I was thinking of making it an nginx module. …

---

## [Bug in 1.9.14 or something else?](https://www.ruby-forum.com/t/bug-in-1-9-14-or-something-else/244416)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [April 11, 2016, 6:52pm UTC](https://www.ruby-forum.com/t/bug-in-1-9-14-or-something-else/244416 "2016-04-11T18:52:47Z")

</div>

I’m running a WordPress 4.4.2-based membership site on Ubuntu 12.04 LTS with PHP 5.6.20. After upgrading to 1.9.14 (compiling from source with no errors or warnings), I could no longer log in to my site, using Firefo…

---

## [Disable caching for single virtual host](https://www.ruby-forum.com/t/disable-caching-for-single-virtual-host/244442)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 1:12pm UTC](https://www.ruby-forum.com/t/disable-caching-for-single-virtual-host/244442 "2016-04-11T13:12:45Z")

</div>

Hi,I am using nginx as reverse proxy cache with Apache. Basically I use this configuration: https://www.djm.org.uk/wordpress-nginx-reverse-proxy-caching-setup/ I need to exclude a specific virtual from nginx’s cache. …

---

## [1.9.14 - Issues with disabled request buffering and HTTP/2](https://www.ruby-forum.com/t/1-9-14-issues-with-disabled-request-buffering-and-http-2/244439)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [April 11, 2016, 12:33pm UTC](https://www.ruby-forum.com/t/1-9-14-issues-with-disabled-request-buffering-and-http-2/244439 "2016-04-11T12:33:35Z")

</div>

Hello, we have an issue with the newest nginx version 1.9.14. I am not sure if this is a possible bug or a configuration problem. We use nginx with disabled request buffering (proxy\_request\_buffering off) We are cu…

---

## [Error 404 if url contains "star"](https://www.ruby-forum.com/t/error-404-if-url-contains-star/244435)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [April 11, 2016, 11:24am UTC](https://www.ruby-forum.com/t/error-404-if-url-contains-star/244435 "2016-04-11T11:24:04Z")

</div>

Hello, i have a very strange problem with my nginx configuration. If the URL contains the word “star”, i get the standard 404 Error not found page. I defined a rule that should redirect all requests to index.php. htt…

---

## [Cookie issue](https://www.ruby-forum.com/t/cookie-issue/244436)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 8:46am UTC](https://www.ruby-forum.com/t/cookie-issue/244436 "2016-04-11T08:46:20Z")

</div>

Hi , This is Pankaj,I am trying to write a module which is capable to access header value and set header and reading cookie and setting cookie. if i refer apache module then found apr\_table\_get() and apr\_table\_set() …

---

## [Cookie issue](https://www.ruby-forum.com/t/cookie-issue/244434)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 8:44am UTC](https://www.ruby-forum.com/t/cookie-issue/244434 "2016-04-11T08:44:34Z")

</div>

Hi, This is Pankaj,I am trying to write a module which is capable to access header value and set header and reading cookie and setting cookie. if i refer apache module then found apr\_table\_get() and apr\_table\_set() …

---

## [Hide/strip set cookies on static files and howto use alias](https://www.ruby-forum.com/t/hide-strip-set-cookies-on-static-files-and-howto-use-alias/244400)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [April 8, 2016, 11:14pm UTC](https://www.ruby-forum.com/t/hide-strip-set-cookies-on-static-files-and-howto-use-alias/244400 "2016-04-08T23:14:32Z")

</div>

Hi I have a few questions about how do I configure it. First question: How do I strip the “Set-Cookie” header from all static files like css and jpg? I know i can setup a reverse proxy and use “proxy\_hide\_header Se…

---

## [Proxying to ip-camera](https://www.ruby-forum.com/t/proxying-to-ip-camera/244421)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [April 8, 2016, 7:46am UTC](https://www.ruby-forum.com/t/proxying-to-ip-camera/244421 "2016-04-08T07:46:16Z")

</div>

Hi, I have the web site and would like to proxying all requests to /ipcam location to internal ip-camera. website http://site.com ip-cam http://site.com/ipcam Below config: location /ipcam { proxy\_pass http://192.…

---

## [Performance of NGINX on 16 instances vs 1 instance](https://www.ruby-forum.com/t/performance-of-nginx-on-16-instances-vs-1-instance/244422)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [April 7, 2016, 10:51pm UTC](https://www.ruby-forum.com/t/performance-of-nginx-on-16-instances-vs-1-instance/244422 "2016-04-07T22:51:47Z")

</div>

Hello, I would like to know how NGINX works on a server with 16 cores. Is it is better to run one instance of NGINX in a bare metal or run 16 virtual servers with NGINX instance on each? Sincerely, Alexandr

---

## [Nginx proxy cache/temp folders empty when located inside /tmp on CentOS 7](https://www.ruby-forum.com/t/nginx-proxy-cache-temp-folders-empty-when-located-inside-tmp-on-centos-7/244411)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [April 7, 2016, 3:37pm UTC](https://www.ruby-forum.com/t/nginx-proxy-cache-temp-folders-empty-when-located-inside-tmp-on-centos-7/244411 "2016-04-07T15:37:08Z")

</div>

(First post in the Nginx forum, so please bear with me if it seems slightly long…) I’m the maker of Engintron, a popular cPanel plugin which integrates Nginx as a reverse caching proxy in front of Apache. The projec…

---

## [Default server with custom 404](https://www.ruby-forum.com/t/default-server-with-custom-404/244414)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [April 7, 2016, 3:05pm UTC](https://www.ruby-forum.com/t/default-server-with-custom-404/244414 "2016-04-07T15:05:00Z")

</div>

I see this question has been asked and answered many times, but I am unable to make it work. On a server with multiple virtual hosts I wish to make a catchall which responds to everything with a 404 that reveals no …

---

## [Regarding development nginx module](https://www.ruby-forum.com/t/regarding-development-nginx-module/244420)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [April 7, 2016, 1:49pm UTC](https://www.ruby-forum.com/t/regarding-development-nginx-module/244420 "2016-04-07T13:49:03Z")

</div>

Hi, This is Pankaj,I am trying to write a module which is capable to access header value and set header and reading cookie and setting cookie. if i refer apache module then found apr\_table\_get() and apr\_table\_set() …

---

## [Nginx-1.9.14](https://www.ruby-forum.com/t/nginx-1-9-14/244404)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [April 7, 2016, 8:20am UTC](https://www.ruby-forum.com/t/nginx-1-9-14/244404 "2016-04-07T08:20:10Z")

</div>

Changes with nginx 1.9.14 05 Apr 2016 \*) Feature: OpenSSL 1.1.0 compatibility. \*) Feature: the "proxy\_request\_buffering", “fastcgi\_request\_buffering”, “scgi\_request\_buffering”…

---

## [Help for nginx proxy pass rule](https://www.ruby-forum.com/t/help-for-nginx-proxy-pass-rule/244412)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [April 7, 2016, 6:20am UTC](https://www.ruby-forum.com/t/help-for-nginx-proxy-pass-rule/244412 "2016-04-07T06:20:25Z")

</div>

HI, We have a WordPress site named it as https://www.abc.com; We are using Nginx as the web server for this site. I wanted to create a proxy pass rule like this https://www.abc.com/static/js/widget.js will be load …

---

## [Re: Rewrite](https://www.ruby-forum.com/t/re-rewrite/244418)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [April 7, 2016, 3:42am UTC](https://www.ruby-forum.com/t/re-rewrite/244418 "2016-04-07T03:42:41Z")

</div>

Thank you Francis. It is working now. Sent from my Samsung device -------- Original message -------- From: Francis D. removed\_email\_address@domain.invalid Date: 06/04/2016 07:48 (GMT+08:00) To: removed\_email\_addre…

---

## [Bug in processing passwords with backslash in mail/imap proxy code](https://www.ruby-forum.com/t/bug-in-processing-passwords-with-backslash-in-mail-imap-proxy-code/244413)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [April 6, 2016, 7:09pm UTC](https://www.ruby-forum.com/t/bug-in-processing-passwords-with-backslash-in-mail-imap-proxy-code/244413 "2016-04-06T19:09:47Z")

</div>

Hello, looks like there is a bug in nginx 1.8.1 in mail proxy code which used for authorization: backslash becomes stripped from password when quoted in imap command: OK IMAP4 ready p LOGIN “testdev” “,\\REz=#tPc” …

---

## [Headers More module is not working in nginx-devel](https://www.ruby-forum.com/t/headers-more-module-is-not-working-in-nginx-devel/244410)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [April 6, 2016, 2:53pm UTC](https://www.ruby-forum.com/t/headers-more-module-is-not-working-in-nginx-devel/244410 "2016-04-06T14:53:54Z")

</div>

Hi All, I’m using FreeBSD with nginx-devel. It seems that this problem is lasting for a long time (at least start from nginx 1.9.10 ). Even though I built the source with this module, this module is still not work…

---

## [Nginx.conf 2016: CFP Now Open – Submit a Proposal!](https://www.ruby-forum.com/t/nginx-conf-2016-cfp-now-open-submit-a-proposal/244409)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [April 6, 2016, 2:16am UTC](https://www.ruby-forum.com/t/nginx-conf-2016-cfp-now-open-submit-a-proposal/244409 "2016-04-06T02:16:15Z")

</div>

Hello all! We’re excited to announce that the call for proposals for the third NGINX conference, nginx.conf 2016 https://www.nginx.com/nginxconf/ is open. Please submit a talk, and share the CFP with those you know w…

---

## [Rewrite](https://www.ruby-forum.com/t/rewrite/244402)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [April 6, 2016, 12:49am UTC](https://www.ruby-forum.com/t/rewrite/244402 "2016-04-06T00:49:13Z")

</div>

Hello, I cannot do following request URL is http://domain.com/x4Zbs5B It should be Domain.com I tried location / { rewrite ^/(\[^/\]\[a-zA-Z0-9\]+)$ /index.php?download=$1 break; try\_files $uri $uri/ /index.php?downl…

---

## [Nginx collect status data](https://www.ruby-forum.com/t/nginx-collect-status-data/244406)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [April 5, 2016, 7:17pm UTC](https://www.ruby-forum.com/t/nginx-collect-status-data/244406 "2016-04-05T19:17:25Z")

</div>

Hello, I’m using the nginx free version and I need to collect status data like number of connections, number of requests per second, failures, latency and sent and received bytes. Is there a way to get these informat…

---

## [Using inline processing instructions with XSLT module?](https://www.ruby-forum.com/t/using-inline-processing-instructions-with-xslt-module/167706)

<div class="topic-metadata">

**Author:** [@digitala](https://www.ruby-forum.com/u/digitala)\
**Replies:** 5\
**Last updated:** [April 5, 2016, 3:55pm UTC](https://www.ruby-forum.com/t/using-inline-processing-instructions-with-xslt-module/167706 "2016-04-05T15:55:17Z")

</div>

Is it possible to return an XML document (for example from FastCGI) which contains a processing instruction, and have the XSLT module locate and apply the XSL file? For example; if the FastCGI app returns: \<?xml vers…

---

## [Error\_page behavior](https://www.ruby-forum.com/t/error-page-behavior/244398)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [April 4, 2016, 10:51pm UTC](https://www.ruby-forum.com/t/error-page-behavior/244398 "2016-04-04T22:51:14Z")

</div>

Hello, I am struggling to understand the error\_page directive behavior: ​server { listen 80; listen \[::\]:80; server\_name example.org; location /proxied { return 418 "Host: $host, Connection: $http\_con…

---

## [Nginx TCP stream access log](https://www.ruby-forum.com/t/nginx-tcp-stream-access-log/244401)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [April 4, 2016, 10:31pm UTC](https://www.ruby-forum.com/t/nginx-tcp-stream-access-log/244401 "2016-04-04T22:31:57Z")

</div>

Howdy folks, We are using nginx with stream TCP support but we are wondering if there is a way to have access logs for TCP for at least to know a few things such as: timestamp (of request) source address. destinatio…

---

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

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [April 4, 2016, 4:01pm UTC](https://www.ruby-forum.com/t/proxy-next-upstream-timeout-behavior/244393 "2016-04-04T16:01:10Z")

</div>

Hi, If I set proxy\_next\_upstream\_timeout to 50 second, will nginx break the current upstream connection at 50 second and fail the request? Or will it wait until current one finishes (or read timeout) then decide whet…

---

## [1.9.13 and non\_idempotent](https://www.ruby-forum.com/t/1-9-13-and-non-idempotent/244377)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 8\
**Last updated:** [April 4, 2016, 3:43pm UTC](https://www.ruby-forum.com/t/1-9-13-and-non-idempotent/244377 "2016-04-04T15:43:03Z")

</div>

If I explicitly configured to retry next upstream based on a certain http\_xxx, will that stop working if a request is a POST with 1.9.13? For other http code, I like the idea of not retry if it is non idempotent but f…

---

## [Convert $msec to sec](https://www.ruby-forum.com/t/convert-msec-to-sec/244395)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [April 3, 2016, 5:12pm UTC](https://www.ruby-forum.com/t/convert-msec-to-sec/244395 "2016-04-03T17:12:28Z")

</div>

I need to log the seconds since epoch (without the millisecond resolution) in the access\_log file is there is a way to convert the $msec to seconds or drop the exponential part of the time . Probably using the map f…

---

## [Nginx with Varnish as a proxy. Phantom Port 80](https://www.ruby-forum.com/t/nginx-with-varnish-as-a-proxy-phantom-port-80/244389)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [April 1, 2016, 12:34pm UTC](https://www.ruby-forum.com/t/nginx-with-varnish-as-a-proxy-phantom-port-80/244389 "2016-04-01T12:34:31Z")

</div>

Hi, I’m having an odd problem here. I’m trying to set up nginx with a varnish proxy in front of it. The box is Ubuntu 15.10, nginx 1.9.3, varnish 4.0.3. For testing I set up varnish on port 8080, and nginx was runni…

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

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