# Server

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

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

---

## [Need help to configure nginx-varnish-php](https://www.ruby-forum.com/t/need-help-to-configure-nginx-varnish-php/234068)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 4, 2015, 12:20am UTC](https://www.ruby-forum.com/t/need-help-to-configure-nginx-varnish-php/234068 "2015-02-04T00:20:41Z")

</div>

Hi All, I am newbie to nginx and would need help configuring nginx-varnish-php-fpm setup to allow hitting specific php nodes for troubleshooting Our current setup. Nginx Varnish running in same server …

---

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

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 3, 2015, 7:04pm UTC](https://www.ruby-forum.com/t/help/234058 "2015-02-03T19:04:21Z")

</div>

hi , I have been trying to persuade nginx into serving html.gz file with no success for past three days. I tried probably everything written in the web. I am using CentOS 7 minimal and nginx 1.7.9 mainline. I configu…

---

## [Subrequest cycle cause cpu 100%](https://www.ruby-forum.com/t/subrequest-cycle-cause-cpu-100/234053)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 3, 2015, 2:59pm UTC](https://www.ruby-forum.com/t/subrequest-cycle-cause-cpu-100/234053 "2015-02-03T14:59:56Z")

</div>

hello, I use error\_page = /500.html to show myself 500 page, and for some reason, I need ssi include in 500.html, for example: 500.html \<!--# include virtual="/fastcgi/global" --\> \<!--# include vi…

---

## ["unable to find valid certification path to requested target" error in java based server while acces](https://www.ruby-forum.com/t/unable-to-find-valid-certification-path-to-requested-target-error-in-java-based-server-while-acces/234056)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [February 3, 2015, 10:05am UTC](https://www.ruby-forum.com/t/unable-to-find-valid-certification-path-to-requested-target-error-in-java-based-server-while-acces/234056 "2015-02-03T10:05:32Z")

</div>

Hi, I have two java based servers. We call it server A and server B. I can call directly from A to B server. Then I configured call server A to server B though nginx instance. Then I get following error. TID: \[0\] \[A…

---

## [13: Permission denied while connect server using https through nginx](https://www.ruby-forum.com/t/13-permission-denied-while-connect-server-using-https-through-nginx/234054)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 3, 2015, 9:32am UTC](https://www.ruby-forum.com/t/13-permission-denied-while-connect-server-using-https-through-nginx/234054 "2015-02-03T09:32:29Z")

</div>

Hi, My nginx configurations are as follows. I am going to connect running server UI from my machine through nginx. server { listen 443; server\_name mgt.wso2bps.malintha.com; ssl on; ssl\_certificate /etc/ng…

---

## [How to Handle "data sent" or "connection closed" event in Module?](https://www.ruby-forum.com/t/how-to-handle-data-sent-or-connection-closed-event-in-module/234896)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [February 2, 2015, 2:09pm UTC](https://www.ruby-forum.com/t/how-to-handle-data-sent-or-connection-closed-event-in-module/234896 "2015-02-02T14:09:00Z")

</div>

Hi. I’m developing Nginx module where I need to handle some function when all data have been sent to client or when client closed the connection. For example I have ngx\_http\_finalize\_request(r, ngx\_http\_output\_filte…

---

## [Weird nginx SSL connection issues](https://www.ruby-forum.com/t/weird-nginx-ssl-connection-issues/234039)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [February 2, 2015, 12:48am UTC](https://www.ruby-forum.com/t/weird-nginx-ssl-connection-issues/234039 "2015-02-02T00:48:15Z")

</div>

OK, I have an incredibly weird nginx connection issue. I have a cluster of boxes that are responsible for terminating SSL requests and passing them to a local haproxy instance for further routing. I have corosync/pac…

---

## [EC\_GOST\_2012\_Test (warning)](https://www.ruby-forum.com/t/ec-gost-2012-test-warning/234036)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [February 1, 2015, 5:10pm UTC](https://www.ruby-forum.com/t/ec-gost-2012-test-warning/234036 "2015-02-01T17:10:37Z")

</div>

nginx-1.6.2 make \[…\] ec/ec\_curve.c:2918:2: warning: unused variable ‘\_EC\_GOST\_2012\_Test’ \[-Wunused-const-variable\] \_EC\_GOST\_2012\_Test = { ^ 1 warning generated. Perhaps its defining block is best moved to the 1…

---

## [Patch to src/event/ngx\_event\_openssl.c (nginx 1.6.2)](https://www.ruby-forum.com/t/patch-to-src-event-ngx-event-openssl-c-nginx-1-6-2/234034)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [February 1, 2015, 5:06pm UTC](https://www.ruby-forum.com/t/patch-to-src-event-ngx-event-openssl-c-nginx-1-6-2/234034 "2015-02-01T17:06:25Z")

</div>

nginx-1.6.2 make \[…\] src/event/ngx\_event\_openssl.c:2520:9: error: implicit declaration of function ‘RAND\_pseudo\_bytes’ is invalid in C99 \[-Werror,-Wimplicit-function-declaration\] RAND\_pseudo\_bytes(iv, 16); ^ 1 …

---

## [Will this work, is it the best way?](https://www.ruby-forum.com/t/will-this-work-is-it-the-best-way/234012)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 1, 2015, 1:29am UTC](https://www.ruby-forum.com/t/will-this-work-is-it-the-best-way/234012 "2015-02-01T01:29:59Z")

</div>

Hi, Slightly complicated setup with 2 nginx servers. server1 has a public ipv4 address using proxy\_pass to server2 over ipv6 which only has a public ipv6, this then has various upstreams for each subdomain. ipv6 cap…

---

## [Why does fastcgi\_keep\_conn default to off?](https://www.ruby-forum.com/t/why-does-fastcgi-keep-conn-default-to-off/234025)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 31, 2015, 9:38pm UTC](https://www.ruby-forum.com/t/why-does-fastcgi-keep-conn-default-to-off/234025 "2015-01-31T21:38:56Z")

</div>

Why does fastcgi\_keep\_conn default to off? On seems to be the faster option. Posted at Nginx Forum:

---

## [Limit incoming bandwith with nginx!](https://www.ruby-forum.com/t/limit-incoming-bandwith-with-nginx/234010)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 30, 2015, 2:54pm UTC](https://www.ruby-forum.com/t/limit-incoming-bandwith-with-nginx/234010 "2015-01-30T14:54:58Z")

</div>

Hi, is there a way we can limit incoming bandwidth (from Remote to linux box) using nginx ? Nginx is forwarding user requests to different URL and downloading videos locally due to which server’s incoming port is ch…

---

## [Nginx with php configuration how to block all requests/urls other than two?](https://www.ruby-forum.com/t/nginx-with-php-configuration-how-to-block-all-requests-urls-other-than-two/233996)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [January 30, 2015, 8:52am UTC](https://www.ruby-forum.com/t/nginx-with-php-configuration-how-to-block-all-requests-urls-other-than-two/233996 "2015-01-30T08:52:18Z")

</div>

So i use nginx with PHP and i have the following two urls i want to allow access on the subdomain. The full url would be sub1.domain.com/index.php?option=com\_hwdmediashare&task=addmedia.upload&base64encryptedstring i…

---

## [Google QUIC support in nginx](https://www.ruby-forum.com/t/google-quic-support-in-nginx/234006)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 30, 2015, 8:29am UTC](https://www.ruby-forum.com/t/google-quic-support-in-nginx/234006 "2015-01-30T08:29:38Z")

</div>

Any plans to support Google QUIC\[1\] in nginx? \[1\] QUIC - Wikipedia Posted at Nginx Forum:

---

## [Rbtree in ngx\_http\_upstream\_fair\_module.c](https://www.ruby-forum.com/t/rbtree-in-ngx-http-upstream-fair-module-c/234002)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 30, 2015, 3:40am UTC](https://www.ruby-forum.com/t/rbtree-in-ngx-http-upstream-fair-module-c/234002 "2015-01-30T03:40:15Z")

</div>

hi… Just wanted to ensure my understanding of rbtree usage in Grzegorz Nosek’s upstream fair load balancer is correct. I believe the rbtree is necessary because when nginx.conf is reloaded workers may continue to re…

---

## [Default\_server directive not respected](https://www.ruby-forum.com/t/default-server-directive-not-respected/233992)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 29, 2015, 1:49pm UTC](https://www.ruby-forum.com/t/default-server-directive-not-respected/233992 "2015-01-29T13:49:04Z")

</div>

I have multiple files each with a config for a different vhost. On one of these config files (included in the main nginx config file) I set the default\_server directive: server { listen 80; listen 443 ssl default\_se…

---

## [Nginx Supports SLES 11?](https://www.ruby-forum.com/t/nginx-supports-sles-11/233988)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 29, 2015, 12:32pm UTC](https://www.ruby-forum.com/t/nginx-supports-sles-11/233988 "2015-01-29T12:32:45Z")

</div>

Hi, According to nginx: Linux packages, Nginx only supports SLES12. Can Nginx runs on SLES 11 also? Thanks, Mei Ken

---

## [Proxy cache of X-Accel-Redirect, how?](https://www.ruby-forum.com/t/proxy-cache-of-x-accel-redirect-how/233990)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 29, 2015, 11:53am UTC](https://www.ruby-forum.com/t/proxy-cache-of-x-accel-redirect-how/233990 "2015-01-29T11:53:46Z")

</div>

Hi! Tried to cache the X-Accel-Redirect responses from Phusion Passenger application server with the use of a second layer without success (followed the hint on Re: proxy\_cache seems not working with X-Accel-Redirect)…

---

## [Bug or feature](https://www.ruby-forum.com/t/bug-or-feature/233982)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 28, 2015, 8:03pm UTC](https://www.ruby-forum.com/t/bug-or-feature/233982 "2015-01-28T20:03:32Z")

</div>

Dear Reader. I have setup ed only mod\_proxy http://nginx.org/en/docs/http/ngx\_http\_proxy\_module.html … proxy\_pass $my\_upstream; … no mod\_upstream. http://nginx.org/en/docs/http/ngx\_http\_upstream\_module.html My lo…

---

## [HttpLuaModule - SPDY seems fully supported now?](https://www.ruby-forum.com/t/httpluamodule-spdy-seems-fully-supported-now/233981)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 28, 2015, 10:18am UTC](https://www.ruby-forum.com/t/httpluamodule-spdy-seems-fully-supported-now/233981 "2015-01-28T10:18:09Z")

</div>

Hi, in the HttpLuaModule docs it is written that SPDY mode is not fully supported yet: Specifically, that “ngx.location.capture()” does not work yet. However, i ran some code that uses ngx.location.capture(), with S…

---

## [Modify request body before sending to upstream](https://www.ruby-forum.com/t/modify-request-body-before-sending-to-upstream/233907)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [January 27, 2015, 8:07am UTC](https://www.ruby-forum.com/t/modify-request-body-before-sending-to-upstream/233907 "2015-01-27T08:07:08Z")

</div>

Hi, I am new to nginx module development and I’m working on my first ever module. I’ve read up Evan M.'s post besides others, and I’ve experimented tweaking some simple modules. From what I understand, proxy\_pass mod…

---

## [Remote\_addr not set using x-real-ip](https://www.ruby-forum.com/t/remote-addr-not-set-using-x-real-ip/233964)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 26, 2015, 9:11pm UTC](https://www.ruby-forum.com/t/remote-addr-not-set-using-x-real-ip/233964 "2015-01-26T21:11:49Z")

</div>

Hi All, I would just like to check what mistake i did on implementing real-ip module. Im using nginx 1.6.2 with real\_ip\_module enabled: nginx -V nginx version: nginx/1.6.2 TLS SNI support enabled configure argumen…

---

## [Danger to Nginx from raw unicode in paths?](https://www.ruby-forum.com/t/danger-to-nginx-from-raw-unicode-in-paths/233957)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 26, 2015, 3:42pm UTC](https://www.ruby-forum.com/t/danger-to-nginx-from-raw-unicode-in-paths/233957 "2015-01-26T15:42:31Z")

</div>

I was recently wondering if I should filter URL’s by characters to only allow what is standard in applications. Words, Numbers, and couple characters \[.-\_/\]. We know the list of supported URL’s and Domains is really j…

---

## [Behavior of security headers](https://www.ruby-forum.com/t/behavior-of-security-headers/233960)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [January 26, 2015, 3:36pm UTC](https://www.ruby-forum.com/t/behavior-of-security-headers/233960 "2015-01-26T15:36:26Z")

</div>

Hi, I’ve a question regarding the different security headers (Content-Security-Policy, etc.) which can be set via add\_header. In the docs it is mentioned that “add\_header” can be set on every level (http, server, loc…

---

## [Proxy without buffering](https://www.ruby-forum.com/t/proxy-without-buffering/226905)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 10\
**Last updated:** [January 26, 2015, 3:13pm UTC](https://www.ruby-forum.com/t/proxy-without-buffering/226905 "2015-01-26T15:13:03Z")

</div>

Hello, Large POST-request are buffered to disk, before passed to the backend. The backend has troubles to parse the POST-data, if the requests are huge (some GB). We use “haproxy” in front of “nginx”, to workaround …

---

## [Issues with nginx-gridfs 3rd party module](https://www.ruby-forum.com/t/issues-with-nginx-gridfs-3rd-party-module/233910)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 25, 2015, 11:01am UTC](https://www.ruby-forum.com/t/issues-with-nginx-gridfs-3rd-party-module/233910 "2015-01-25T11:01:37Z")

</div>

Hi, I’ve compiled and installed nginx with gridfs module as given by the instuctions and it got installed successfully. But then when I configure the nginx.conf with gridfs directive and restart the nginx server it f…

---

## [Redirect problem](https://www.ruby-forum.com/t/redirect-problem/233947)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 25, 2015, 10:57am UTC](https://www.ruby-forum.com/t/redirect-problem/233947 "2015-01-25T10:57:05Z")

</div>

I’ve a problem with a redirect http https and using non-www Can you tell me what is wrong? sometimes i have redirect loop. server { listen 80; listen \[::1\]:80; server\_name domain.com; return 301 https://www.domain.…

---

## [How to pass fastcgi custom variables in C?](https://www.ruby-forum.com/t/how-to-pass-fastcgi-custom-variables-in-c/233921)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 25, 2015, 10:57am UTC](https://www.ruby-forum.com/t/how-to-pass-fastcgi-custom-variables-in-c/233921 "2015-01-25T10:57:05Z")

</div>

Hi, I would like to have the auth\_request fastcgi auth server to send some custom variables to the fastcgi back-end server. For example, the Radius server returned some parameters which the fastcgi auth server needs t…

---

## [Smtps mail proxy](https://www.ruby-forum.com/t/smtps-mail-proxy/233936)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 25, 2015, 10:57am UTC](https://www.ruby-forum.com/t/smtps-mail-proxy/233936 "2015-01-25T10:57:04Z")

</div>

Hello, I seek advice on configuring nginx as a mail proxy. PREMISSES The existing system is based upon postfix and dovecot. The system delivers “n” virtual domains, say, mx.example\_1.org, mx.example\_2.org, …, mx.exa…

---

## [Modify subrequest header](https://www.ruby-forum.com/t/modify-subrequest-header/233922)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 22, 2015, 8:00am UTC](https://www.ruby-forum.com/t/modify-subrequest-header/233922 "2015-01-22T08:00:30Z")

</div>

I am trying to use ngx\_http\_subrequest in my customize nginx module. I can see from the code that the subrequest share the same request header with the main request(sr-\>headers\_in = r-\>headers\_in). Is there a way to …

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

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