# NGINX

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

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

---

## [Ssl hand shake with upstream url](https://www.ruby-forum.com/t/ssl-hand-shake-with-upstream-url/232100)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 18, 2014, 12:27pm UTC](https://www.ruby-forum.com/t/ssl-hand-shake-with-upstream-url/232100 "2014-09-18T12:27:12Z")

</div>

Hi, I am getting ssl hand shake error. upstream server is running on 443 port. Enabled the debug in nginx. And the configuration is as follows. upstream backends { server xyz.elb.amazonaws.com:443; } server { li…

---

## [Nginx-1.7.5](https://www.ruby-forum.com/t/nginx-1-7-5/232064)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 17, 2014, 8:26pm UTC](https://www.ruby-forum.com/t/nginx-1-7-5/232064 "2014-09-17T20:26:08Z")

</div>

Changes with nginx 1.7.5 16 Sep 2014 \*) Security: it was possible to reuse SSL sessions in unrelated contexts if a shared SSL session cache or the same TLS session ticket key …

---

## [Nginx-1.6.2](https://www.ruby-forum.com/t/nginx-1-6-2/232063)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 17, 2014, 8:19pm UTC](https://www.ruby-forum.com/t/nginx-1-6-2/232063 "2014-09-17T20:19:22Z")

</div>

Changes with nginx 1.6.2 16 Sep 2014 \*) Security: it was possible to reuse SSL sessions in unrelated contexts if a shared SSL session cache or the same TLS session ticket key …

---

## [Response header from fcgi server](https://www.ruby-forum.com/t/response-header-from-fcgi-server/232082)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [September 17, 2014, 4:42pm UTC](https://www.ruby-forum.com/t/response-header-from-fcgi-server/232082 "2014-09-17T16:42:56Z")

</div>

Hi, PHP-application sends response with HTTP header X-Language and I need pass this to nginx. With Firebug I see this header, but variable $http\_x\_language or $sent\_http\_x\_language is empty. What I am doing wrong?

---

## [Extrange behaviour with index.php and a plain link ( windows vs linux )](https://www.ruby-forum.com/t/extrange-behaviour-with-index-php-and-a-plain-link-windows-vs-linux/232002)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 17, 2014, 9:58am UTC](https://www.ruby-forum.com/t/extrange-behaviour-with-index-php-and-a-plain-link-windows-vs-linux/232002 "2014-09-17T09:58:02Z")

</div>

Hi all, This is my first comment here, thanks in advance to all who contribute. I´m starting with nginx + php + fastCGI in windows environment, and I´m having following behaviour: I have two index.php files : /publi…

---

## [Nginx as a forward proxy (kind of)](https://www.ruby-forum.com/t/nginx-as-a-forward-proxy-kind-of/232022)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 17, 2014, 9:23am UTC](https://www.ruby-forum.com/t/nginx-as-a-forward-proxy-kind-of/232022 "2014-09-17T09:23:29Z")

</div>

Hi I am very new to nginx and have a quick question. I am using nginx to basically redirect certain websites through another proxy. I am using DNS to resolve \*.domain.com to the IP address of nginx server. I am abl…

---

## [Password protect site except for one page](https://www.ruby-forum.com/t/password-protect-site-except-for-one-page/232078)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 17, 2014, 9:10am UTC](https://www.ruby-forum.com/t/password-protect-site-except-for-one-page/232078 "2014-09-17T09:10:32Z")

</div>

Hi folks, Does anyone have a nifty solution for this? The problem is that it’s a wordpress site, so just location / { auth\_basic “Coming soon…”; auth\_basic\_user\_file /etc/nginx/security/lock; … } location /de…

---

## [Tomcat https server behind nginx and bad gateway](https://www.ruby-forum.com/t/tomcat-https-server-behind-nginx-and-bad-gateway/232081)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 17, 2014, 7:25am UTC](https://www.ruby-forum.com/t/tomcat-https-server-behind-nginx-and-bad-gateway/232081 "2014-09-17T07:25:10Z")

</div>

Hi, I have a tomcat server running behind nginx proxy. When I access the nginx from browser it is throwing bad gateway error. According to the tomcat application developer nginx is unable to import the ssl certs. …

---

## [How to sort parameters in nginx cache key](https://www.ruby-forum.com/t/how-to-sort-parameters-in-nginx-cache-key/232072)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 17, 2014, 3:34am UTC](https://www.ruby-forum.com/t/how-to-sort-parameters-in-nginx-cache-key/232072 "2014-09-17T03:34:48Z")

</div>

Hi: We are experiencing low cache hit ratio in Nginx server. It turned out that one reason is client may be sending the same requests with parameters in different orders. e.g. foo?p1=a&p2=b&p3=c foo?p2=b&p1=a&p3=c …

---

## [Client IP address](https://www.ruby-forum.com/t/client-ip-address/232071)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 17, 2014, 1:03am UTC](https://www.ruby-forum.com/t/client-ip-address/232071 "2014-09-17T01:03:29Z")

</div>

We have a cluster of 4 nginx proxies behind a piranha load balancer setup. This morning we suffered a DOS attack, however the “client” address appears to have only gotten logged correctly the first time, the rest hav…

---

## [502 errors with nginx and php5-fpm](https://www.ruby-forum.com/t/502-errors-with-nginx-and-php5-fpm/231933)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 16, 2014, 9:19pm UTC](https://www.ruby-forum.com/t/502-errors-with-nginx-and-php5-fpm/231933 "2014-09-16T21:19:48Z")

</div>

Hi, I’m getting lots of 502 errors but my nginx logs and php logs don’t give me information that can help me identify the problem. I only have the 502 errors in the access logs. I don’t see any errors in the error.…

---

## [Authentication webserver behind nginx rps](https://www.ruby-forum.com/t/authentication-webserver-behind-nginx-rps/232067)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 16, 2014, 6:11pm UTC](https://www.ruby-forum.com/t/authentication-webserver-behind-nginx-rps/232067 "2014-09-16T18:11:02Z")

</div>

Hi, My reverse proxy setup is like this http://nginx\_rps —\> https://authwebser:443 ( I dont have access to authserver ) The reverse proxy is correctly redirecting when I access the http://nginx\_rps through browser…

---

## [Bugfix: requests might hang if resolver was used](https://www.ruby-forum.com/t/bugfix-requests-might-hang-if-resolver-was-used/231717)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 16, 2014, 4:49pm UTC](https://www.ruby-forum.com/t/bugfix-requests-might-hang-if-resolver-was-used/231717 "2014-09-16T16:49:42Z")

</div>

Hi, Where do I need to ask if a bug fix will be treated as major and ported to the 1.6 feature stable branch? Specifically, the following is having a significant impact for us, and makes using resolver extremely unst…

---

## [Nginx security advisory (CVE-2014-3616)](https://www.ruby-forum.com/t/nginx-security-advisory-cve-2014-3616/232065)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 16, 2014, 4:48pm UTC](https://www.ruby-forum.com/t/nginx-security-advisory-cve-2014-3616/232065 "2014-09-16T16:48:28Z")

</div>

Hello! A problem with SSL session cache in nginx was identified by Antoine Delignat-Lavaud. It was possible to reuse cached SSL sessions in unrelated contexts, allowing virtual host confusion attacks in some configu…

---

## [Is symmetric routing required for a nginx deployment?](https://www.ruby-forum.com/t/is-symmetric-routing-required-for-a-nginx-deployment/232045)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 15, 2014, 9:50pm UTC](https://www.ruby-forum.com/t/is-symmetric-routing-required-for-a-nginx-deployment/232045 "2014-09-15T21:50:54Z")

</div>

Hi, I’m investigating reverse proxy and content caching servers for a deployment at work but our infrastructure is currently asymmetric where the server would only see the inbound half of the conversation. Does ngin…

---

## [Windows nginx 1.7.5.3 WhiteRabbit](https://www.ruby-forum.com/t/windows-nginx-1-7-5-3-whiterabbit/232050)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 15, 2014, 9:18pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-7-5-3-whiterabbit/232050 "2014-09-15T21:18:05Z")

</div>

18:42 15-9-2014 nginx 1.7.5.3 WhiteRabbit Based on nginx 1.7.5 (15-9-2014, last changeset 5834:ca63fc5ed9b1) with; lua-upstream-nginx-module v0.2 (upgraded 14-9-2014) echo-nginx-module v0.56 (upgraded 14-9-2014) nginx…

---

## [Why Nginx Doesn't Implement FastCGI Multiplexing?](https://www.ruby-forum.com/t/why-nginx-doesnt-implement-fastcgi-multiplexing/227266)

<div class="topic-metadata">

**Author:** [@Ji\_Zhang](https://www.ruby-forum.com/u/Ji_Zhang)\
**Replies:** 36\
**Last updated:** [September 15, 2014, 6:16pm UTC](https://www.ruby-forum.com/t/why-nginx-doesnt-implement-fastcgi-multiplexing/227266 "2014-09-15T18:16:58Z")

</div>

Hi, I’m doing some research on FastCGI recently. As I see from the FastCGI specification, it does support multiplexing through a single connection. But apparently none of the current web servers, like Nginx, Apache, …

---

## [Nginx real\_ip\_recursive](https://www.ruby-forum.com/t/nginx-real-ip-recursive/232041)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [September 15, 2014, 5:13pm UTC](https://www.ruby-forum.com/t/nginx-real-ip-recursive/232041 "2014-09-15T17:13:06Z")

</div>

Hello, I am using nginx to proxy connections to a server I have written in Java, which serves connections on port 8080. I am trying to use the X-Forwarded-For header to identify the real IP address of a connection, …

---

## [How to measure time spent on response compression for Nginx?](https://www.ruby-forum.com/t/how-to-measure-time-spent-on-response-compression-for-nginx/232025)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 14, 2014, 6:09pm UTC](https://www.ruby-forum.com/t/how-to-measure-time-spent-on-response-compression-for-nginx/232025 "2014-09-14T18:09:17Z")

</div>

Hi folks: We want to measure how long Nginx takes to compress certain response with Gzip format. Is there any way/tool to get accurate timing? Thanks, -Wei

---

## [Multiple limit\_req\_zone](https://www.ruby-forum.com/t/multiple-limit-req-zone/232019)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [September 14, 2014, 1:13am UTC](https://www.ruby-forum.com/t/multiple-limit-req-zone/232019 "2014-09-14T01:13:50Z")

</div>

Hello Please may I ask a question with respect to limit\_req\_zone to better understand how it works Can I have multiple limit\_re\_zone statements? limit\_req\_zone $binary\_remote\_addr zone=one:10m rate=10r/s; li…

---

## ["No space left on device" for temp cache - v1.7.4](https://www.ruby-forum.com/t/no-space-left-on-device-for-temp-cache-v1-7-4/231993)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 13, 2014, 10:43pm UTC](https://www.ruby-forum.com/t/no-space-left-on-device-for-temp-cache-v1-7-4/231993 "2014-09-13T22:43:34Z")

</div>

Hi, recently we noticed that the version 1.7.3 added a feature important to our infrastructure: “cache revalidation now uses If-None-Match header if possible.”. So we changed part of our cache to the 1.7.4 version, b…

---

## [Could Nginx redirected proxied traffic?](https://www.ruby-forum.com/t/could-nginx-redirected-proxied-traffic/232018)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 13, 2014, 12:46pm UTC](https://www.ruby-forum.com/t/could-nginx-redirected-proxied-traffic/232018 "2014-09-13T12:46:06Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have configuration like this : … snip … location /monitor { proxy\_pass http://backend:6800/; proxy\_redirect default; } … snip … Trying to access /monitor, it’…

---

## [Query\_String not matching](https://www.ruby-forum.com/t/query-string-not-matching/231992)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 11, 2014, 5:34pm UTC](https://www.ruby-forum.com/t/query-string-not-matching/231992 "2014-09-11T17:34:09Z")

</div>

Hello, I am obviously a new nginx user, so please bear with me. I have setup nginx as a content caching service, running on port 80 and directing traffic to backend servers. all works okay, though one specific scenar…

---

## [Using default CA path from openssl](https://www.ruby-forum.com/t/using-default-ca-path-from-openssl/231983)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 11, 2014, 5:00pm UTC](https://www.ruby-forum.com/t/using-default-ca-path-from-openssl/231983 "2014-09-11T17:00:53Z")

</div>

Hi, first I would like to thank for the proxy ssl verification that landed in nginx 1.7. Regarding that, there is one slight problem Ive found, when creating a proxy, that dynamically accesses different hosts. The c…

---

## [Fastcgi\_cache\_bypass. Need some explain](https://www.ruby-forum.com/t/fastcgi-cache-bypass-need-some-explain/231989)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 11, 2014, 4:30pm UTC](https://www.ruby-forum.com/t/fastcgi-cache-bypass-need-some-explain/231989 "2014-09-11T16:30:40Z")

</div>

Hi, I am attempting to configure nginx to avoid caching some data. map $http\_x\_requested\_with $no\_cache { default 0; "XMLHttpRequest" 1; } fastcgi\_cache\_bypass $no\_cache; fastcgi\_no\_cac…

---

## [Windows 2008 - logging off kills nignx](https://www.ruby-forum.com/t/windows-2008-logging-off-kills-nignx/231972)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 11, 2014, 4:13pm UTC](https://www.ruby-forum.com/t/windows-2008-logging-off-kills-nignx/231972 "2014-09-11T16:13:24Z")

</div>

Nginx serves pages until I log off the web server. I need to log in again and start nginx (sometimes needing to kill IIS). Thanks for any thoughts, Ron Posted at Nginx Forum:

---

## [Fastcgi cache use stale "updating" — improvement suggestion](https://www.ruby-forum.com/t/fastcgi-cache-use-stale-updating-improvement-suggestion/231971)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 11, 2014, 3:43pm UTC](https://www.ruby-forum.com/t/fastcgi-cache-use-stale-updating-improvement-suggestion/231971 "2014-09-11T15:43:09Z")

</div>

Hello All, fastcgi\_cache\_use\_stale is awesome, especially with “updating” parameter. But I have a feeling that it lacks a complementary parameter (or a separate setting to tune “updating” behaviour) that would instr…

---

## [Help for tcpinfo](https://www.ruby-forum.com/t/help-for-tcpinfo/231987)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 11, 2014, 12:55pm UTC](https://www.ruby-forum.com/t/help-for-tcpinfo/231987 "2014-09-11T12:55:59Z")

</div>

hi everyone, now I am trying to use $tcpinfo\_rtt in the nginx.conf, but it can not be recognized. below is my envioroment. and when I built nginx 1.6.1, it said "checking for TCP\_INFO … not found " \[lichuanhui@yptes…

---

## [Change blank uwsgi\_cache\_key default, or log warning](https://www.ruby-forum.com/t/change-blank-uwsgi-cache-key-default-or-log-warning/231957)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 10, 2014, 7:49pm UTC](https://www.ruby-forum.com/t/change-blank-uwsgi-cache-key-default-or-log-warning/231957 "2014-09-10T19:49:31Z")

</div>

Hello, Because uwsgi\_cache\_key has no default value (or rather, has the empty string as its default value), a configuration with uwsgi\_cache set but uwsgi\_cache\_key not set behaves in a way that is very unlikely to be …

---

## [Wrong data in $upstream\_status and $upstream\_response\_time](https://www.ruby-forum.com/t/wrong-data-in-upstream-status-and-upstream-response-time/231973)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 10, 2014, 7:04pm UTC](https://www.ruby-forum.com/t/wrong-data-in-upstream-status-and-upstream-response-time/231973 "2014-09-10T19:04:29Z")

</div>

Hey Guys, We have been using the latest stable Nginx version 1.6.1, and I’ve could notice that we might be facing a bug that was supposed to be fixed in version 1.5.11. Bugfix: the $upstream\_status variable might con…

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

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