# NGINX

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

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

---

## [Help to understand proxy\_pass and proxy\_cache](https://www.ruby-forum.com/t/help-to-understand-proxy-pass-and-proxy-cache/244156)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 28, 2016, 10:14pm UTC](https://www.ruby-forum.com/t/help-to-understand-proxy-pass-and-proxy-cache/244156 "2016-02-28T22:14:50Z")

</div>

Hi guys, i would like to understand if nginx can be used for my request, i try to explain: i have a http mpegts server we are 5 client normally someone think to connect all together to the server like: client1-----…

---

## [Http/2 with big pcitures (possible feature request?)](https://www.ruby-forum.com/t/http-2-with-big-pcitures-possible-feature-request/244149)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [February 28, 2016, 2:45am UTC](https://www.ruby-forum.com/t/http-2-with-big-pcitures-possible-feature-request/244149 "2016-02-28T02:45:55Z")

</div>

Hi all, I just enabled http2 for my website. Due to my website has lots of big pictures, it seems that the http2 new feature " single, multiplexed connection" will cause browser to download lots of data at the same ti…

---

## [NGINX logging tab delimited format to syslog](https://www.ruby-forum.com/t/nginx-logging-tab-delimited-format-to-syslog/244140)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 27, 2016, 8:47pm UTC](https://www.ruby-forum.com/t/nginx-logging-tab-delimited-format-to-syslog/244140 "2016-02-27T20:47:16Z")

</div>

I would really like to output my nginx access log to syslog in a tab delimited format. I’m using the latest nginx and rsyslogd 7.2.5 I haven’t found an example of doing this, I’m wondering if/how to add tabs to the …

---

## [Lose value of $uid\_set](https://www.ruby-forum.com/t/lose-value-of-uid-set/244138)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [February 27, 2016, 3:37am UTC](https://www.ruby-forum.com/t/lose-value-of-uid-set/244138 "2016-02-27T03:37:59Z")

</div>

Hello, master of nginx, I have a question when using ngx\_http\_userid\_module. here is the detail description: nginx version:1.7 conf: log\_format main ‘$remote\_addr - $remote\_user \[$time\_local\] “$request” $uid\_set’ …

---

## [Nginx-debug package](https://www.ruby-forum.com/t/nginx-debug-package/244146)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [February 26, 2016, 4:05pm UTC](https://www.ruby-forum.com/t/nginx-debug-package/244146 "2016-02-26T16:05:11Z")

</div>

Hello, There was one noticeable change in the nginx packages recently. Before nginx 1.9.8 we shipped nginx-debug binary (that is nginx configured and compiled with —with-debug option, needed for debugging: A debuggin…

---

## [Nginx Zero Size Buffer Alerts!](https://www.ruby-forum.com/t/nginx-zero-size-buffer-alerts/244145)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 26, 2016, 2:19pm UTC](https://www.ruby-forum.com/t/nginx-zero-size-buffer-alerts/244145 "2016-02-26T14:19:27Z")

</div>

Hi, We’ve many zero size buff alerts related to file\_uploader.php file in nginx logs : 2016/02/26 12:56:02 \[alert\] 71067#0: \*12457068 zero size buf in output t:0 r:0 f:1 0000000000000000 0000000000000000-0000000000…

---

## [Nginx plus dashboard for clusters](https://www.ruby-forum.com/t/nginx-plus-dashboard-for-clusters/244141)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 25, 2016, 11:55pm UTC](https://www.ruby-forum.com/t/nginx-plus-dashboard-for-clusters/244141 "2016-02-25T23:55:29Z")

</div>

I think dashboard is a great feature in nginx plus but I was wondering if it can aggregate metrics from a cluster of nginx servers or each server has its own dashboard. Thanks Posted at Nginx Forum:

---

## [Cache manager occasionally stops deleting cached files](https://www.ruby-forum.com/t/cache-manager-occasionally-stops-deleting-cached-files/244090)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 6\
**Last updated:** [February 25, 2016, 3:22pm UTC](https://www.ruby-forum.com/t/cache-manager-occasionally-stops-deleting-cached-files/244090 "2016-02-25T15:22:00Z")

</div>

Hello, I’m having an issue where nginx (1.8) cache manager suddenly just stops deleting content thus the disk soon ends up being full until I restart it by hand. After it is restarted, it works normally for a couple …

---

## [PKCS#11 key not properly supported?](https://www.ruby-forum.com/t/pkcs-11-key-not-properly-supported/244135)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [February 25, 2016, 9:35am UTC](https://www.ruby-forum.com/t/pkcs-11-key-not-properly-supported/244135 "2016-02-25T09:35:00Z")

</div>

I’ll try to keep this message simple. E.G this command will work using the new version of engine\_pkcs11: sudo openssl req -engine pkcs11 -new -key “pkcs11:model=SoftHSM;manufacturer=SoftHSM;serial=1;token=;id=%d4%b1%6…

---

## [Nginx plus: sticky session with dynamic upstreams?](https://www.ruby-forum.com/t/nginx-plus-sticky-session-with-dynamic-upstreams/244133)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [February 24, 2016, 11:52pm UTC](https://www.ruby-forum.com/t/nginx-plus-sticky-session-with-dynamic-upstreams/244133 "2016-02-24T23:52:00Z")

</div>

Wonder what my options are in nginx plus to have sticky requests when upstream are dynamic. As I understand there are 2 ways to have dynamic upstreams in nginx plus: dns lookup with resolve/resolver or using ngx\_http…

---

## [Nginx routing based on ip address](https://www.ruby-forum.com/t/nginx-routing-based-on-ip-address/244125)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [February 24, 2016, 6:49pm UTC](https://www.ruby-forum.com/t/nginx-routing-based-on-ip-address/244125 "2016-02-24T18:49:59Z")

</div>

I am wondering if it is possible to compute some kind of hash value from ip address or do modulo operation on the last numeric value from ip address (for example on 24 given 172.16.4.24)? Based on this, I want to send…

---

## [Nginx Tuning](https://www.ruby-forum.com/t/nginx-tuning/244130)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 24, 2016, 6:06pm UTC](https://www.ruby-forum.com/t/nginx-tuning/244130 "2016-02-24T18:06:10Z")

</div>

Alright here is the situtation. I have nginx and with passenger running. I can send load to the server and after a certain point I just start getting 500’s back. I have not been able to see what is causing it. I …

---

## [Nginx and conditional proxy\_next\_upstream directive](https://www.ruby-forum.com/t/nginx-and-conditional-proxy-next-upstream-directive/244050)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [February 24, 2016, 2:42am UTC](https://www.ruby-forum.com/t/nginx-and-conditional-proxy-next-upstream-directive/244050 "2016-02-24T02:42:00Z")

</div>

I want nginx to prevent trying the next upstream if the request is a POST request and the request just timed out. POSTs should only be repeated on error. I tried this config to implement it: if ($request\_method = POS…

---

## [Config nginx cache](https://www.ruby-forum.com/t/config-nginx-cache/244116)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [February 23, 2016, 5:41am UTC](https://www.ruby-forum.com/t/config-nginx-cache/244116 "2016-02-23T05:41:23Z")

</div>

Hello all how to config nginx to ac as both web server and cache server? I used these links but did not work Thanks all

---

## [Nginx and pseudo-streaming](https://www.ruby-forum.com/t/nginx-and-pseudo-streaming/244106)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 22, 2016, 5:51pm UTC](https://www.ruby-forum.com/t/nginx-and-pseudo-streaming/244106 "2016-02-22T17:51:39Z")

</div>

I use this modules for compiling nginx for streaming videos on my web site by these options : nginx version: nginx/1.8.1 built by gcc 4.9.2 (Debian 4.9.2-10) built with OpenSSL 1.0.1k 8 Jan 2015 TLS SNI support ena…

---

## [PRB custom error page](https://www.ruby-forum.com/t/prb-custom-error-page/244115)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [February 22, 2016, 4:59pm UTC](https://www.ruby-forum.com/t/prb-custom-error-page/244115 "2016-02-22T16:59:39Z")

</div>

Hi, I want to custom personnal page and I make the page error.html in (/usr/share/nginx/html/error.html) and in the file rutorrent.conf in (/etc/nginx/sites-enabled/rutorrent.conf) I ajout this lines First test: s…

---

## [.XML running PHP getting 403](https://www.ruby-forum.com/t/xml-running-php-getting-403/244113)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [February 22, 2016, 2:10pm UTC](https://www.ruby-forum.com/t/xml-running-php-getting-403/244113 "2016-02-22T14:10:15Z")

</div>

Hi, I want a PHP file to have the extension of .xml but when i do the below when accessing the php file via web browser i get a access denied. location ~ ^(.+.xml)(/.\*)?$ { fastcgi\_pass unix:/var/run/php5-fpm.sock; …

---

## [Building from source - Where is ./configure?](https://www.ruby-forum.com/t/building-from-source-where-is-configure/244114)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 22, 2016, 12:58pm UTC](https://www.ruby-forum.com/t/building-from-source-where-is-configure/244114 "2016-02-22T12:58:24Z")

</div>

Hi all, I have obtained the sources via git from GitHub - nginx/nginx: An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatic…

---

## [Opposite behavior of keepalive (nginx reverse proxy on ElasticSearch)](https://www.ruby-forum.com/t/opposite-behavior-of-keepalive-nginx-reverse-proxy-on-elasticsearch/244111)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [February 22, 2016, 9:53am UTC](https://www.ruby-forum.com/t/opposite-behavior-of-keepalive-nginx-reverse-proxy-on-elasticsearch/244111 "2016-02-22T09:53:13Z")

</div>

I am setting up a nginx reverse proxy for ElasticSearch (with HTTP Basic Auth) as described in this article: This is my nginx config file: events { worker\_connections 1024; } http { upstream elasticsearch { ser…

---

## [Block direct access to .inc files not working](https://www.ruby-forum.com/t/block-direct-access-to-inc-files-not-working/244100)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [February 22, 2016, 2:53am UTC](https://www.ruby-forum.com/t/block-direct-access-to-inc-files-not-working/244100 "2016-02-22T02:53:13Z")

</div>

I’ve a nginx server on CentOS with PHP setup. I’m trying to block direct access to .inc files I’ve added the following to nginx.conf location ~ /\\.inc { deny all; } & restarted nginx. But I still able to a…

---

## [Key pinning / Nginx reverse proxy](https://www.ruby-forum.com/t/key-pinning-nginx-reverse-proxy/244101)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [February 21, 2016, 10:50am UTC](https://www.ruby-forum.com/t/key-pinning-nginx-reverse-proxy/244101 "2016-02-21T10:50:32Z")

</div>

Dear all, I have installed few weeks ago the couple Nginx/Apache2. Nginx: front end - reverse proxy Apache2: Back end - web server Things are working smoothly … But I am a bit lost concerning the config of the Ke…

---

## [Feature Request for access\_log stdout;](https://www.ruby-forum.com/t/feature-request-for-access-log-stdout/244080)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [February 21, 2016, 8:07am UTC](https://www.ruby-forum.com/t/feature-request-for-access-log-stdout/244080 "2016-02-21T08:07:32Z")

</div>

Hi. how difficult is it to be able to add “access\_log stdout;” to nginx, similar like “error\_log stderr;”? I ask because in some PaaS environment is it difficult to setup a dedicated user yust for nginx. It fits als…

---

## [SSL handshake errors when configured as a reverse proxy](https://www.ruby-forum.com/t/ssl-handshake-errors-when-configured-as-a-reverse-proxy/244093)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [February 20, 2016, 12:15pm UTC](https://www.ruby-forum.com/t/ssl-handshake-errors-when-configured-as-a-reverse-proxy/244093 "2016-02-20T12:15:50Z")

</div>

Recently I tried setting up a basic nginx reverse proxy in production on Ubuntu 14.04 using their default supported version of nginx 1.4.6. Basic config as follows: server { listen 127.0.0.1:443; server\_name myhost.…

---

## [Need help with Nginx Logging](https://www.ruby-forum.com/t/need-help-with-nginx-logging/244083)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [February 20, 2016, 10:36am UTC](https://www.ruby-forum.com/t/need-help-with-nginx-logging/244083 "2016-02-20T10:36:32Z")

</div>

Hey folks, I would like to ask what does the 10.200 right after ‘excess:’ indicate in the following log? Is this storage size in MBs for zone? I am really confused about that; I have gone through documentation pretty…

---

## [Dynamic server name and aliases](https://www.ruby-forum.com/t/dynamic-server-name-and-aliases/244097)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 20, 2016, 9:59am UTC](https://www.ruby-forum.com/t/dynamic-server-name-and-aliases/244097 "2016-02-20T09:59:08Z")

</div>

Hi everybody, I manage server, where each user has own subdomain: i1.domain → user #1 i2.domain → user #2 etc I have a nginx config to handle user’s subdomains: server { listen \*:80; server\_name ~^i(?\\d+).domain$…

---

## [Access\_log in stream context](https://www.ruby-forum.com/t/access-log-in-stream-context/244098)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [February 20, 2016, 2:38am UTC](https://www.ruby-forum.com/t/access-log-in-stream-context/244098 "2016-02-20T02:38:05Z")

</div>

Hello. I have been trying the stream module. But the way to record an access log (e.g. IP address) from a client is not found. Is access\_log in stream context support planed in the future? Regards, – Tatsuhiko Ku…

---

## [Accept\_filter being ignored](https://www.ruby-forum.com/t/accept-filter-being-ignored/244092)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 19, 2016, 12:45pm UTC](https://www.ruby-forum.com/t/accept-filter-being-ignored/244092 "2016-02-19T12:45:05Z")

</div>

Hello, Not sure if I should be directing this to a FreeBSD list or here, but here goes. I have set accept\_filter= in listen directives: server { listen 80 accept\_filter=http\_ready; listen \[::\]:80 accept\_filter=http…

---

## [Proxy\_bind pool](https://www.ruby-forum.com/t/proxy-bind-pool/244095)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 19, 2016, 10:50am UTC](https://www.ruby-forum.com/t/proxy-bind-pool/244095 "2016-02-19T10:50:35Z")

</div>

Hi, Is it possible to use proxy\_bind to a pool of IPs? Since each IP has a limited ephemeral ports that can be used to make outbound connections to upstream servers, it would be help if we can use a pool of IPs for p…

---

## [How to Windows auth working on nginx reverse proxy?](https://www.ruby-forum.com/t/how-to-windows-auth-working-on-nginx-reverse-proxy/186556)

<div class="topic-metadata">

**Author:** [@flapjack](https://www.ruby-forum.com/u/flapjack)\
**Replies:** 19\
**Last updated:** [February 18, 2016, 5:17pm UTC](https://www.ruby-forum.com/t/how-to-windows-auth-working-on-nginx-reverse-proxy/186556 "2016-02-18T17:17:21Z")

</div>

I config a reverse proxy to Windows IIS 6.0 (windows auth), visit windows server url is ok. Visit nginx proxy to this site tips my input pwd & username, repeat this tips input over, repeat, repeat, repeat, repeat. th…

---

## [Tls 1.3 experimental support?](https://www.ruby-forum.com/t/tls-1-3-experimental-support/244089)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [February 18, 2016, 5:05pm UTC](https://www.ruby-forum.com/t/tls-1-3-experimental-support/244089 "2016-02-18T17:05:05Z")

</div>

What’s the current feature-release plan for TLS 1.3 support in Nginx? Will it be added while still in draft status, or only after full release? Is it, in any form, on-schedule yet? Thanks, Jim

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

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