# NGINX

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

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

---

## [Limit\_conn module exclude also on Maxim Dunin recommended code](https://www.ruby-forum.com/t/limit-conn-module-exclude-also-on-maxim-dunin-recommended-code/233688)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [January 10, 2015, 4:03pm UTC](https://www.ruby-forum.com/t/limit-conn-module-exclude-also-on-maxim-dunin-recommended-code/233688 "2015-01-10T16:03:49Z")

</div>

Hi I am using this code to limit requests and exclude some ip’s" http { limit\_req\_zone $limit zone=delta:8m rate=60r/s; geo $limited { default 1; 192.168.45.56/32 0; 199.27.128.0/21 0; 173.245.48.0/20 0; } map …

---

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

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 10, 2015, 6:51am UTC](https://www.ruby-forum.com/t/multiple-matching-limit-req/233760 "2015-01-10T06:51:44Z")

</div>

I would like to apply rate limiting based on 3 different criteria. CDN should have rate limit of 100 r/s (identified by $http\_host) Whitelisted bots should have a rate limit of 15 r/s (identified by $http\_user\_agent) A…

---

## [How to deny access to a folder, but allow access to every subfolders (wildcard)](https://www.ruby-forum.com/t/how-to-deny-access-to-a-folder-but-allow-access-to-every-subfolders-wildcard/233752)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 9, 2015, 8:05pm UTC](https://www.ruby-forum.com/t/how-to-deny-access-to-a-folder-but-allow-access-to-every-subfolders-wildcard/233752 "2015-01-09T20:05:15Z")

</div>

Hi, I need to deny access to /members but allow access to every folders below. There may be a lot of folders, maybe a thousan, and each of those folders contain 5 other folders. So i need a wildcard. Here is what …

---

## [How to use Nginx to restrict access to everyfiles to 127.0.0.1, except the php files in /](https://www.ruby-forum.com/t/how-to-use-nginx-to-restrict-access-to-everyfiles-to-127-0-0-1-except-the-php-files-in/233030)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [January 9, 2015, 8:00pm UTC](https://www.ruby-forum.com/t/how-to-use-nginx-to-restrict-access-to-everyfiles-to-127-0-0-1-except-the-php-files-in/233030 "2015-01-09T20:00:18Z")

</div>

HI, I want to configure our nginx to be a little more paranoid concerning file access. Right now, i am using rules like : location /includes { allow 127.0.0.1; deny all; } … but i need to repeat this kind of rul…

---

## [Nginx Configuration saying Not found. Why and How to get rid of it?](https://www.ruby-forum.com/t/nginx-configuration-saying-not-found-why-and-how-to-get-rid-of-it/233761)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 9, 2015, 2:28pm UTC](https://www.ruby-forum.com/t/nginx-configuration-saying-not-found-why-and-how-to-get-rid-of-it/233761 "2015-01-09T14:28:16Z")

</div>

Hi, I am compiling and installing NGinx from source and installed all following lib sudo yum install gcc gcc-c++ pcre-devel zlib-devel make unzip openssl-devel libaio-devel glibc glibc-devel glibc…

---

## [Hash init](https://www.ruby-forum.com/t/hash-init/233749)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 8, 2015, 5:37pm UTC](https://www.ruby-forum.com/t/hash-init/233749 "2015-01-08T17:37:18Z")

</div>

Hello, Maybe i am not in the right mailing list, please refer me to the good one if i am at the wrong one. I just want to understand the " for (size = start; size \<= hinit-\>max\_size; size++) " loop in th…

---

## [HTTPS Load Test](https://www.ruby-forum.com/t/https-load-test/233743)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 8, 2015, 5:29pm UTC](https://www.ruby-forum.com/t/https-load-test/233743 "2015-01-08T17:29:13Z")

</div>

Hi Folks, I am trying to get some performance numbers on nginx by sending HTTP and HTTPS requests. My aim is to check the ratio of CPU usage, connections/sec across HTTP and HTTPS requests. In the process, I need t…

---

## [Nginx call external api](https://www.ruby-forum.com/t/nginx-call-external-api/233745)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 8, 2015, 12:29pm UTC](https://www.ruby-forum.com/t/nginx-call-external-api/233745 "2015-01-08T12:29:59Z")

</div>

Hi @all, i need some help with the following situation: we use nginx as reverse proxy for microsoft exchange owa / active sync All working so far but since yesterday we have a new firewall (Palo Alto) which support…

---

## [Proxy\_pass ignoring gai.conf/RFC3484](https://www.ruby-forum.com/t/proxy-pass-ignoring-gai-conf-rfc3484/233668)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 8, 2015, 10:48am UTC](https://www.ruby-forum.com/t/proxy-pass-ignoring-gai-conf-rfc3484/233668 "2015-01-08T10:48:48Z")

</div>

Hi everyone (and a happy new year!), I’m trying to setup NginX as a reverse proxy to an internal machine which has both private IPv4 and ULA IPv6 addresses, both resolvable from the same name internal\_machine to A and…

---

## [Skip Location Based On Query String Parameter?](https://www.ruby-forum.com/t/skip-location-based-on-query-string-parameter/233043)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [January 8, 2015, 12:35am UTC](https://www.ruby-forum.com/t/skip-location-based-on-query-string-parameter/233043 "2015-01-08T00:35:33Z")

</div>

We’d like to bypass a location if a query string varaible is present. Is this an approriate place to use “if”, and if so, how should it be done? If the URL is a forward slash, followed by anything, followed by a forwa…

---

## [Nginx restart/reload not working](https://www.ruby-forum.com/t/nginx-restart-reload-not-working/234886)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [January 7, 2015, 9:13am UTC](https://www.ruby-forum.com/t/nginx-restart-reload-not-working/234886 "2015-01-07T09:13:56Z")

</div>

I have compiled nginx from source and i think that there is something wrong with my init script.I changed the error log from debug to crit but error log was still showing \[debug\] in logs.I had to killall nginx and th…

---

## [Conversion Scripts](https://www.ruby-forum.com/t/conversion-scripts/233729)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 6, 2015, 8:20pm UTC](https://www.ruby-forum.com/t/conversion-scripts/233729 "2015-01-06T20:20:38Z")

</div>

Hi, Does anyone has any scripts to convert the F5 config to Nginx (acting as a reverse proxy) config? Thanks… Posted at Nginx Forum:

---

## [Location served by all virtual servers](https://www.ruby-forum.com/t/location-served-by-all-virtual-servers/233714)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 6, 2015, 2:35pm UTC](https://www.ruby-forum.com/t/location-served-by-all-virtual-servers/233714 "2015-01-06T14:35:35Z")

</div>

Hi, I have some configuration issue with my nginx. Currently both URLs return the same page when I open: http://domain1.com/SharedFIles and http://domain2.com/SharedFiles. Location “SharedFiles” is definied only in on…

---

## [How Nginx behaves with "proxy\_bind" and DNS resolver with non matching ip versions between bind ip a](https://www.ruby-forum.com/t/how-nginx-behaves-with-proxy-bind-and-dns-resolver-with-non-matching-ip-versions-between-bind-ip-a/233608)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 5, 2015, 7:05am UTC](https://www.ruby-forum.com/t/how-nginx-behaves-with-proxy-bind-and-dns-resolver-with-non-matching-ip-versions-between-bind-ip-a/233608 "2015-01-05T07:05:23Z")

</div>

Hello, I’m working with the proxy module, and with a dns resolver configured. The traffic i’m using is both ipv4 and ipv6. I’m trying to understand Nginx behavior when using “proxy\_bind” directive and when the reso…

---

## [Happy new 2015!](https://www.ruby-forum.com/t/happy-new-2015/233653)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 5, 2015, 12:25am UTC](https://www.ruby-forum.com/t/happy-new-2015/233653 "2015-01-05T00:25:13Z")

</div>

And may your nginx keep performing no matter which OS it’s running on ! Also from the support staff at the forums and all contributors have a good one ! Posted at Nginx Forum:

---

## [Exclude ip's from Nginx limit\_req zone](https://www.ruby-forum.com/t/exclude-ips-from-nginx-limit-req-zone/233516)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 14\
**Last updated:** [January 4, 2015, 1:37am UTC](https://www.ruby-forum.com/t/exclude-ips-from-nginx-limit-req-zone/233516 "2015-01-04T01:37:01Z")

</div>

Hi I am using this code to limit connections from ip’s : Main nginx config: limit\_conn\_zone $binary\_remote\_addr zone=alpha:8m; limit\_req\_zone $binary\_remote\_addr zone=delta:8m rate=40r/s; Domain nginx conf: limit\_c…

---

## [Http module handler, chain buffer and output\_filter](https://www.ruby-forum.com/t/http-module-handler-chain-buffer-and-output-filter/233630)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [January 2, 2015, 2:55am UTC](https://www.ruby-forum.com/t/http-module-handler-chain-buffer-and-output-filter/233630 "2015-01-02T02:55:10Z")

</div>

Hey, i wonder why the server is freezing when i do a request to it and i do not define the “NO\_PROBLEM” macro in the code. In my ngx\_html\_chain\_buffers\_init i do a ngx\_pcalloc because i thought that the server was f…

---

## [Timeout for whole request body](https://www.ruby-forum.com/t/timeout-for-whole-request-body/233660)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 1, 2015, 8:45pm UTC](https://www.ruby-forum.com/t/timeout-for-whole-request-body/233660 "2015-01-01T20:45:31Z")

</div>

Nginx provides client\_body\_timeout which is only for a period between two successive read operations but in one of our use case we want to set timeout for whole request body. To set the timeout for whole request body…

---

## [Redirect to domain TTFB very slow](https://www.ruby-forum.com/t/redirect-to-domain-ttfb-very-slow/233646)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [December 31, 2014, 2:03pm UTC](https://www.ruby-forum.com/t/redirect-to-domain-ttfb-very-slow/233646 "2014-12-31T14:03:28Z")

</div>

Hi On my Nginx server i use a domain “domain.com” and i have all files here: /home/nginxs/domains/mydomain.com/public There i have a folder named “gadgets” and i have some files there and i use a redirect to anothe…

---

## [Setting the SSL protocol used on proxy\_pass?](https://www.ruby-forum.com/t/setting-the-ssl-protocol-used-on-proxy-pass/233633)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [December 31, 2014, 12:27am UTC](https://www.ruby-forum.com/t/setting-the-ssl-protocol-used-on-proxy-pass/233633 "2014-12-31T00:27:40Z")

</div>

I am trying to set up a reverse proxy which handles SSL. This is my first time, so I may be doing something stupid. On the NGINX which is acting as a proxy I get this: SSL\_do\_handshake() failed (SSL: error:140770FC:…

---

## [Error: This server's certificate chain is incomplete](https://www.ruby-forum.com/t/error-this-servers-certificate-chain-is-incomplete/233644)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [December 30, 2014, 10:28pm UTC](https://www.ruby-forum.com/t/error-this-servers-certificate-chain-is-incomplete/233644 "2014-12-30T22:28:55Z")

</div>

Hi All I managed to get the nginx reverse proxy up and forwarding to my https web server. I think I have missed something though as a user just let me know that when he tried to access the site he gets a message th…

---

## [How to write nginx, NGINX or Nginx?](https://www.ruby-forum.com/t/how-to-write-nginx-nginx-or-nginx/233639)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [December 30, 2014, 8:11pm UTC](https://www.ruby-forum.com/t/how-to-write-nginx-nginx-or-nginx/233639 "2014-12-30T20:11:00Z")

</div>

Hello. I’m writing some documentation for a project that use NGINX. I’m wondering what’s the correct way to write nginx. a) NGINX - Always all uppercase b) nginx - Always all lowercase. Even at the beginning of a sent…

---

## [Ssl](https://www.ruby-forum.com/t/ssl/233642)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 30, 2014, 4:33pm UTC](https://www.ruby-forum.com/t/ssl/233642 "2014-12-30T16:33:55Z")

</div>

I have two IIS servers with SSL certificate, and a load balancer with NGINX. I need to know if i must install a SSL certificate in the NGINX machine to? Luis Vargas Catalán SEGURIDAD Y REDES mifuturofinanciero.com …

---

## [HTTP HEAD timeout](https://www.ruby-forum.com/t/http-head-timeout/233624)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [December 30, 2014, 4:13am UTC](https://www.ruby-forum.com/t/http-head-timeout/233624 "2014-12-30T04:13:28Z")

</div>

I’m using nginx 1.7.7 as a reverse proxy in front of a Apache CouchDB. Access via browser to CouchDB data works like a charm. However I have trouble with replication (which runs via HTTPs). This is what I found out: C…

---

## [Serving files from a slow NFS storage](https://www.ruby-forum.com/t/serving-files-from-a-slow-nfs-storage/233626)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [December 30, 2014, 12:54am UTC](https://www.ruby-forum.com/t/serving-files-from-a-slow-nfs-storage/233626 "2014-12-30T00:54:21Z")

</div>

Hi all, In our production environment, we have several nginx servers running on Ubuntu that serve files from a very large (several PBs) NFS mounted storage. Usually the storage responds pretty fast, but occasionally …

---

## [Proper directive to pass requests](https://www.ruby-forum.com/t/proper-directive-to-pass-requests/233627)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 29, 2014, 10:07pm UTC](https://www.ruby-forum.com/t/proper-directive-to-pass-requests/233627 "2014-12-29T22:07:24Z")

</div>

Hi All I’m building my configuration slowly. Thanks for all the help so far. My current obstacle is this: As it is now, external users will access an internal IIS web server by using http://my.domain.com. The firewa…

---

## [Use of Certs](https://www.ruby-forum.com/t/use-of-certs/233620)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [December 29, 2014, 9:16pm UTC](https://www.ruby-forum.com/t/use-of-certs/233620 "2014-12-29T21:16:01Z")

</div>

Hi All I am very new to nginx and am currently doing a lot of reading but would just love to have a nudge in the right direction I want to set up nginx as a reverse proxy for about three IIS servers behind a firewall…

---

## [RE: nginx Digest, Vol 62, Issue 43](https://www.ruby-forum.com/t/re-nginx-digest-vol-62-issue-43/233623)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 29, 2014, 9:12pm UTC](https://www.ruby-forum.com/t/re-nginx-digest-vol-62-issue-43/233623 "2014-12-29T21:12:55Z")

</div>

Gtx -mensag. original- Assunto: nginx Digest, Vol 62, Issue 43 De: removed\_email\_address@domain.invalid Data: 29/12/2014 14:48 Send nginx mailing list submissions to removed\_email\_address@domain.invalid To subscri…

---

## [How to setup](https://www.ruby-forum.com/t/how-to-setup/233619)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [December 29, 2014, 8:12pm UTC](https://www.ruby-forum.com/t/how-to-setup/233619 "2014-12-29T20:12:03Z")

</div>

Hi All I am very new to Nginx and am very interested in setting it up as a reverse proxy. Is it possible to have an nginx host behind a firewall with one network card that forwards requests to more than one IIS web s…

---

## [Header SSL client certificate](https://www.ruby-forum.com/t/header-ssl-client-certificate/233616)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 29, 2014, 5:27pm UTC](https://www.ruby-forum.com/t/header-ssl-client-certificate/233616 "2014-12-29T17:27:16Z")

</div>

Hello, I use nginx as a reverse-proxy. I would like to set a header, more precisely a header that contain the SSL client certificate. However, the variable ‘$ssl\_client\_cert’ add some character that I don’t want (l…

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

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