# Server

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

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

---

## [OpenResty 1.7.2.1 released](https://www.ruby-forum.com/t/openresty-1-7-2-1-released/230927)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 13, 2014, 5:29am UTC](https://www.ruby-forum.com/t/openresty-1-7-2-1-released/230927 "2014-07-13T05:29:30Z")

</div>

Hi folks! I am happy to announce the new formal release, 1.7.2.1, of the OpenResty bundle: http://openresty.org/#Download Special thanks go to all our contributors for making this happen! Below is the complete chang…

---

## [Nginx for ARM](https://www.ruby-forum.com/t/nginx-for-arm/230919)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 12, 2014, 4:09pm UTC](https://www.ruby-forum.com/t/nginx-for-arm/230919 "2014-07-12T16:09:15Z")

</div>

I want to use nginx web server for arm based developement board. It’s end application is board will work as IOTG for home automation. For this purpose, I want to cross compile nginx for ARM and port it on linux runnig…

---

## [Centos7/Rhel7 Nginx Repo](https://www.ruby-forum.com/t/centos7-rhel7-nginx-repo/230900)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 11, 2014, 6:12pm UTC](https://www.ruby-forum.com/t/centos7-rhel7-nginx-repo/230900 "2014-07-11T18:12:49Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [Reason for storing duplicate copies of response header value e.g. content\_encoding in headers\_out](https://www.ruby-forum.com/t/reason-for-storing-duplicate-copies-of-response-header-value-e-g-content-encoding-in-headers-out/230902)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 11, 2014, 2:21pm UTC](https://www.ruby-forum.com/t/reason-for-storing-duplicate-copies-of-response-header-value-e-g-content-encoding-in-headers-out/230902 "2014-07-11T14:21:06Z")

</div>

Nginx stores the response headers in the headers ngx\_http\_headers\_out\_t ngx\_list\_t headers and also for certain headers , in a corresponding variable in headers\_out e.g. ngx\_table\_elt\_t \*content\_encoding; The body …

---

## [SSL session cache lifetime vs session ticket lifetime](https://www.ruby-forum.com/t/ssl-session-cache-lifetime-vs-session-ticket-lifetime/239877)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 14\
**Last updated:** [July 11, 2014, 12:09am UTC](https://www.ruby-forum.com/t/ssl-session-cache-lifetime-vs-session-ticket-lifetime/239877 "2014-07-11T00:09:50Z")

</div>

Hi, currently SSL session lifetime and SSL ticket lifetime are equal in nginx. If we use session tickets with big enough lifetime (12hrs), we get a lot of error log messages while allocating new sessions in shared m…

---

## [SSI and proxy\_pass](https://www.ruby-forum.com/t/ssi-and-proxy-pass/230886)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 10, 2014, 8:34pm UTC](https://www.ruby-forum.com/t/ssi-and-proxy-pass/230886 "2014-07-10T20:34:14Z")

</div>

Hi all, I’m trying out nginx. I would like to use it to perform the following: Retrieve a page from a server1 which includes some SSI commands Process the SSI commands, eventually including content from server2 Return…

---

## [Nginx and unix socket set retry time](https://www.ruby-forum.com/t/nginx-and-unix-socket-set-retry-time/230878)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 10, 2014, 7:43am UTC](https://www.ruby-forum.com/t/nginx-and-unix-socket-set-retry-time/230878 "2014-07-10T07:43:46Z")

</div>

Hi , Is there a way to retry connection to an unix socket ( on which my fast cgi app is running ) for some time , instead of immediately responding 502 bad gateway and exiting ? Posted at Nginx Forum:

---

## [Cross-compiling Nginx for SAMA5D3 Xplained board](https://www.ruby-forum.com/t/cross-compiling-nginx-for-sama5d3-xplained-board/230862)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 9, 2014, 2:12pm UTC](https://www.ruby-forum.com/t/cross-compiling-nginx-for-sama5d3-xplained-board/230862 "2014-07-09T14:12:00Z")

</div>

Hello, I would like to run Nginx on my SAMA5D3 Xplained board. I have a newbie questions: I try to cross-compiling Nginx on my PC running Ubuntu with SAMA5D3 Xplained cross-compiling, then I modify the environmental…

---

## [I cant use limit\_conn\_zone](https://www.ruby-forum.com/t/i-cant-use-limit-conn-zone/230857)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 15\
**Last updated:** [July 9, 2014, 1:28pm UTC](https://www.ruby-forum.com/t/i-cant-use-limit-conn-zone/230857 "2014-07-09T13:28:29Z")

</div>

I want to add some code to my nginx.conf , im using portable nginx php mysql dev stack (WT-NMP). Anyway when i add " limit\_req\_zone $binary\_remote\_addr zone=one:10m rate=1r/s; " in http {… , nginx is not working c…

---

## [Nginx-1.7.3](https://www.ruby-forum.com/t/nginx-1-7-3/230848)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 9, 2014, 4:41am UTC](https://www.ruby-forum.com/t/nginx-1-7-3/230848 "2014-07-09T04:41:56Z")

</div>

Changes with nginx 1.7.3 08 Jul 2014 \*) Feature: weak entity tags are now preserved on response modifications, and strong ones are changed to weak. \*) Feature: cache revalida…

---

## [KeepAlive and Connection closed](https://www.ruby-forum.com/t/keepalive-and-connection-closed/230856)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 8, 2014, 11:53pm UTC](https://www.ruby-forum.com/t/keepalive-and-connection-closed/230856 "2014-07-08T23:53:04Z")

</div>

Hello I am new to nginx. I will be taking the nginx training next week. In the meantime I was wondering if i was implementing the following properly. I have an nginx instance that is sitting between my server and a cl…

---

## [X-security-header](https://www.ruby-forum.com/t/x-security-header/230854)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 8, 2014, 11:41pm UTC](https://www.ruby-forum.com/t/x-security-header/230854 "2014-07-08T23:41:45Z")

</div>

Hello I am new to nginx. This is most likely a beginner question. I apologize in advance. I have a client that is sending http request with an x-security-header: a6rb35723926d2c685c2d7ud3034179828blablabla How can …

---

## [Reverse proxy SSL subdomain](https://www.ruby-forum.com/t/reverse-proxy-ssl-subdomain/234798)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 8, 2014, 5:40pm UTC](https://www.ruby-forum.com/t/reverse-proxy-ssl-subdomain/234798 "2014-07-08T17:40:58Z")

</div>

Hi, We have heterogeneous applications e and need centralizing requests on Nginx. I´m trying use reverse proxy on a subdomain and redirect requests to Java Glassfish. The problem occurs by default on listening subdo…

---

## [Weird issue with relative links](https://www.ruby-forum.com/t/weird-issue-with-relative-links/230846)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 8, 2014, 2:03pm UTC](https://www.ruby-forum.com/t/weird-issue-with-relative-links/230846 "2014-07-08T14:03:56Z")

</div>

Hi, I am fairly new to nginx but appear to have it working well… along with php-fpm. Working on a PHP script that uses slash arguments I’m hitting an odd problem. I am able to retrieve the argument correctly and thi…

---

## [Proxy\_cache using a custom Agent](https://www.ruby-forum.com/t/proxy-cache-using-a-custom-agent/230844)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 8, 2014, 1:38pm UTC](https://www.ruby-forum.com/t/proxy-cache-using-a-custom-agent/230844 "2014-07-08T13:38:54Z")

</div>

Can anyone help me find a way to set the Agent header for accessing the upstream server when using a proxy\_cache setup. Posted at Nginx Forum:

---

## [Serve (almost) all index.php request by /index.php](https://www.ruby-forum.com/t/serve-almost-all-index-php-request-by-index-php/230841)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 8, 2014, 10:35am UTC](https://www.ruby-forum.com/t/serve-almost-all-index-php-request-by-index-php/230841 "2014-07-08T10:35:59Z")

</div>

Hi. Is it possible to have all index.php request being processed by /index.php? I have a Joomla+VirtueMart website I recently moved from apache to nginx (can’t compare performances, nginx is ages faster and has far f…

---

## [Send 502 when all php-fpm workers are in use](https://www.ruby-forum.com/t/send-502-when-all-php-fpm-workers-are-in-use/230797)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 8, 2014, 2:56am UTC](https://www.ruby-forum.com/t/send-502-when-all-php-fpm-workers-are-in-use/230797 "2014-07-08T02:56:11Z")

</div>

I have a php-fpm pool of workers which is 6. There are long running requests being sent, so I have the following fastcgi directives set: fastcgi\_connect\_timeout 15; fastcgi\_send\_timeout 1200; fastcgi\_read\_timeout 12…

---

## [Hosting a web application from a subsite](https://www.ruby-forum.com/t/hosting-a-web-application-from-a-subsite/234796)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 7, 2014, 8:04pm UTC](https://www.ruby-forum.com/t/hosting-a-web-application-from-a-subsite/234796 "2014-07-07T20:04:41Z")

</div>

Im not having much luck trying to configure this site the way I want. Im modifying Matomo | NGINX to suit a case in which it is served out of a subsite location, e.g. example.com/stats. Ive created 2 configuration fil…

---

## [Setting Allow / Deny Rules + Keep processing other location rules?](https://www.ruby-forum.com/t/setting-allow-deny-rules-keep-processing-other-location-rules/230793)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 5, 2014, 10:44pm UTC](https://www.ruby-forum.com/t/setting-allow-deny-rules-keep-processing-other-location-rules/230793 "2014-07-05T22:44:27Z")

</div>

I’m having a heck of a time setting allow / deny rules for certain directories and files + getting Nginx to keep handling other location rules. For example, I want to only allow my IP address access to the WordPress …

---

## [Excluding some URIs from SSL traffic](https://www.ruby-forum.com/t/excluding-some-uris-from-ssl-traffic/230783)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 4, 2014, 4:55pm UTC](https://www.ruby-forum.com/t/excluding-some-uris-from-ssl-traffic/230783 "2014-07-04T16:55:52Z")

</div>

hi i would exclude given URLs from my nginx SSL traffic. This is my current nginx.conf http://p.ngx.cc/fa thanks Posted at Nginx Forum:

---

## [Limit\_conn\_zone applied to Proxy\_Pass (outgoing requests)](https://www.ruby-forum.com/t/limit-conn-zone-applied-to-proxy-pass-outgoing-requests/230779)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 4, 2014, 11:20am UTC](https://www.ruby-forum.com/t/limit-conn-zone-applied-to-proxy-pass-outgoing-requests/230779 "2014-07-04T11:20:26Z")

</div>

Hello! I have an nginx reverse proxy it has a series of filters against DDoS attacks. As a last resort I need to make sure that I NEVER send more than x concurrent requests to the backend server (Proxy\_pass) Is it p…

---

## [Alternative to fail2ban as complement to nginx](https://www.ruby-forum.com/t/alternative-to-fail2ban-as-complement-to-nginx/230780)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 4, 2014, 6:10am UTC](https://www.ruby-forum.com/t/alternative-to-fail2ban-as-complement-to-nginx/230780 "2014-07-04T06:10:09Z")

</div>

Hello guys, Iam using several mechanisms to rate limit abusers…but I would like to ban those that do it repeatedly. Anybody use anything better than fail2ban ? Iam worried that it will hog down the server if it gets …

---

## [Forward proxy preserving the domain](https://www.ruby-forum.com/t/forward-proxy-preserving-the-domain/230778)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 4, 2014, 3:31am UTC](https://www.ruby-forum.com/t/forward-proxy-preserving-the-domain/230778 "2014-07-04T03:31:40Z")

</div>

Basically, I want to set up a proxy running on example.mydomain.com that will take any URI, retrieve example.com$request\_uri, and pass it on to the client, preserving my example.mydomain.com domain for the client. So…

---

## [Nginx caching headers](https://www.ruby-forum.com/t/nginx-caching-headers/230764)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 3, 2014, 11:46am UTC](https://www.ruby-forum.com/t/nginx-caching-headers/230764 "2014-07-03T11:46:05Z")

</div>

Hello, Are there any specific reasons why nginx has both ETags and the Last Modified headers being sent? From my understanding, this is a bit redundant for most situations. Thanks Posted at Nginx Forum:

---

## [Peer closed connection in SSL handshake while SSL handshaking](https://www.ruby-forum.com/t/peer-closed-connection-in-ssl-handshake-while-ssl-handshaking/230730)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 2, 2014, 3:03pm UTC](https://www.ruby-forum.com/t/peer-closed-connection-in-ssl-handshake-while-ssl-handshaking/230730 "2014-07-02T15:03:37Z")

</div>

Hello, I am seeing an odd thing occur in the error logs. We are developing an API, and when our mobile devices first hit the nginx server after waking up, the mobile device is rejecting the ssl cert. In the logs, we…

---

## [No CORS Workaround - SSL Proxy](https://www.ruby-forum.com/t/no-cors-workaround-ssl-proxy/230510)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 6\
**Last updated:** [July 2, 2014, 1:27pm UTC](https://www.ruby-forum.com/t/no-cors-workaround-ssl-proxy/230510 "2014-07-02T13:27:08Z")

</div>

We run a API web service and have two web sites that access the web service via AJAX. The web sites are accessed via HTTPS and, for security reasons, we need to have the API web service also accessed by HTTPS. Due to …

---

## [Changes to ngx.argnot getting reflected in final response](https://www.ruby-forum.com/t/changes-to-ngx-argnot-getting-reflected-in-final-response/230648)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [July 2, 2014, 1:46am UTC](https://www.ruby-forum.com/t/changes-to-ngx-argnot-getting-reflected-in-final-response/230648 "2014-07-02T01:46:45Z")

</div>

header\_filter\_by\_lua ’ ngx.header.content\_length = nil ngx.header.set\_cookie = nil if ngx.header.location then local \_location = ngx.header.location \_location = ngx.escape\_u…

---

## [How can the number of parallel/redundant open streams/temp\_files be controlled/limited?](https://www.ruby-forum.com/t/how-can-the-number-of-parallel-redundant-open-streams-temp-files-be-controlled-limited/230575)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 16\
**Last updated:** [July 1, 2014, 11:04pm UTC](https://www.ruby-forum.com/t/how-can-the-number-of-parallel-redundant-open-streams-temp-files-be-controlled-limited/230575 "2014-07-01T23:04:15Z")

</div>

I’ve noticed that multiple (as great as 8 or more) parallel redundant streams and corresponding temp\_files are opened reading the same file from a reverse proxy backend into nginx, upon even a single request by an up-…

---

## [SSL slow on nginx](https://www.ruby-forum.com/t/ssl-slow-on-nginx/230657)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 5\
**Last updated:** [July 1, 2014, 5:00pm UTC](https://www.ruby-forum.com/t/ssl-slow-on-nginx/230657 "2014-07-01T17:00:57Z")

</div>

For my site , ssl seems to be slow even though i got A+ on sslabs (implemented ocsp stapling, Forward Secrecy , spdy) Here is the result from pingdom Notice the high connect time and high ssl negociation time Here …

---

## [Proxy\_pass\_header not working in 1.6.0](https://www.ruby-forum.com/t/proxy-pass-header-not-working-in-1-6-0/230713)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 19\
**Last updated:** [July 1, 2014, 2:51pm UTC](https://www.ruby-forum.com/t/proxy-pass-header-not-working-in-1-6-0/230713 "2014-07-01T14:51:41Z")

</div>

Hi guys, I’m currently running nginx version 1.6.0 (after upgrading from 1.4.4). Sadly I’ve found out, after upgrading proxy\_pass\_header seems to stop working, meaning no headers is passed from the upstream at all, I’…

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

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