# Server

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

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

---

## [12928#0: worker process 3958 exited on signal 11](https://www.ruby-forum.com/t/12928-0-worker-process-3958-exited-on-signal-11/230212)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 4, 2014, 9:53pm UTC](https://www.ruby-forum.com/t/12928-0-worker-process-3958-exited-on-signal-11/230212 "2014-06-04T21:53:58Z")

</div>

I use nginx 1.7.1 as frontend proxy to Apache 2.2.27 + php-fpm 5.5.13. When I add new domain, then just reload nginx it throwing errors like “connection reset” etc. Error log is full of something like this: tail -f /…

---

## [Sub-request to external resource](https://www.ruby-forum.com/t/sub-request-to-external-resource/230207)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [June 4, 2014, 6:15pm UTC](https://www.ruby-forum.com/t/sub-request-to-external-resource/230207 "2014-06-04T18:15:50Z")

</div>

Hi all, How can I make sub-request to external resource (without returning it to the user)? The following commands are used only for internal resources: ngx.location.capture ngx.exec any idea? :slight\_smile: Thank…

---

## [Getting rewritten and encoded/escaped url in nginx module](https://www.ruby-forum.com/t/getting-rewritten-and-encoded-escaped-url-in-nginx-module/230179)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 4, 2014, 5:05pm UTC](https://www.ruby-forum.com/t/getting-rewritten-and-encoded-escaped-url-in-nginx-module/230179 "2014-06-04T17:05:36Z")

</div>

Hi, I am writing a nginx proxy module and want to grab the url which is urlencoded (as the client sends it) and also after rewrite rules are applied. My typical url looks like : path1/path2/path3/urlencoded(key)?args…

---

## [How to install Nginx from source and avoid the OpenSSL Bug?](https://www.ruby-forum.com/t/how-to-install-nginx-from-source-and-avoid-the-openssl-bug/230204)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 4, 2014, 4:53pm UTC](https://www.ruby-forum.com/t/how-to-install-nginx-from-source-and-avoid-the-openssl-bug/230204 "2014-06-04T16:53:11Z")

</div>

Hi, I am new to nginx and linux. I tried to install nginx form source (nginx+rtmp module) following many tutos on my Debian And all gives me the same error: ./configure --add-module=…/nginx-rtmp-module-master make …

---

## [Can I use ssl\_verify\_client without a prompt](https://www.ruby-forum.com/t/can-i-use-ssl-verify-client-without-a-prompt/230194)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [June 4, 2014, 1:15pm UTC](https://www.ruby-forum.com/t/can-i-use-ssl-verify-client-without-a-prompt/230194 "2014-06-04T13:15:37Z")

</div>

Hi, I’m using ssl\_client\_certificate, I want to set “proxy\_set\_header X-Cert-DN $ssl\_client\_s\_dn;” when I proxy. I’ve ssl\_verify\_client set to optional - this all works great, but in the browser, the user gets a ce…

---

## [Can anyone tell me how to delete spam pages on the wiki?](https://www.ruby-forum.com/t/can-anyone-tell-me-how-to-delete-spam-pages-on-the-wiki/230060)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 3, 2014, 12:24pm UTC](https://www.ruby-forum.com/t/can-anyone-tell-me-how-to-delete-spam-pages-on-the-wiki/230060 "2014-06-03T12:24:49Z")

</div>

Click this: http://wiki.nginx.org/index.php?title=Special:Search&limit=500&offset=0&redirs=1&profile=default&search=a+ See the problem?! I stopped counting at 500 pages. It gets kinda tedious searching for info to end…

---

## [Browser showing headers and Gziped code inside body](https://www.ruby-forum.com/t/browser-showing-headers-and-gziped-code-inside-body/230155)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 3, 2014, 11:48am UTC](https://www.ruby-forum.com/t/browser-showing-headers-and-gziped-code-inside-body/230155 "2014-06-03T11:48:50Z")

</div>

I’m currently using nginx/1.4.7 and for some reason a client is complaining that the page is showing with errors in both his browsers (Firefox and IE). The error in question is the following: …

---

## [Thread support](https://www.ruby-forum.com/t/thread-support/230170)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 3, 2014, 9:02am UTC](https://www.ruby-forum.com/t/thread-support/230170 "2014-06-03T09:02:37Z")

</div>

Hi, I am trying to run Nginx as a multi threaded application. Looking at the code it seems the initial code to support multi threaded was there. May be it got broken (as the error message says) or it was not develope…

---

## [Can't get nginx to work with Adminer nor phpMyadmin](https://www.ruby-forum.com/t/cant-get-nginx-to-work-with-adminer-nor-phpmyadmin/230157)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 3, 2014, 1:13am UTC](https://www.ruby-forum.com/t/cant-get-nginx-to-work-with-adminer-nor-phpmyadmin/230157 "2014-06-03T01:13:41Z")

</div>

I have been trying to set up Nginx with Adminer (and phpMyadmin), but I can’t seem to get it to work. Here are my config files: /etc/nginx/nginx.conf: #user html;worker\_processes 1;#error\_log logs/error.log;#error\_lo…

---

## [Invalid ports added in redirects on AWS EC2 nginx](https://www.ruby-forum.com/t/invalid-ports-added-in-redirects-on-aws-ec2-nginx/230127)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 2, 2014, 6:45pm UTC](https://www.ruby-forum.com/t/invalid-ports-added-in-redirects-on-aws-ec2-nginx/230127 "2014-06-02T18:45:09Z")

</div>

On AWS, I’m trying to migrate a PHP Symfony app running on nginx. I want to be able to test the app by directly talking to the EC2 server and via an Elastic Load Balancer (ELB -the public route in). I’ve setup the EL…

---

## [Connection reset by peer error!](https://www.ruby-forum.com/t/connection-reset-by-peer-error/230137)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 6\
**Last updated:** [June 2, 2014, 6:29pm UTC](https://www.ruby-forum.com/t/connection-reset-by-peer-error/230137 "2014-06-02T18:29:50Z")

</div>

Hello, We're using nginx as reverse proxy in front of apache and following error occurs most of the time : 2014/06/02 01:00:28 \[error\] 3288#0: \*6492138 recv() failed (104: Connection reset by peer) while readin…

---

## [How do i free memory when my master process ends?](https://www.ruby-forum.com/t/how-do-i-free-memory-when-my-master-process-ends/230141)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 2, 2014, 5:56pm UTC](https://www.ruby-forum.com/t/how-do-i-free-memory-when-my-master-process-ends/230141 "2014-06-02T17:56:48Z")

</div>

I am allocating memory using malloc for some of my variables in my module. I know i can call an exit master process, but how do i access my variables in that function. I tried finding some examples, but didnt find an…

---

## [$rquest\_time for only the time it spent getting data from the upstream](https://www.ruby-forum.com/t/rquest-time-for-only-the-time-it-spent-getting-data-from-the-upstream/230148)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 2, 2014, 4:48pm UTC](https://www.ruby-forum.com/t/rquest-time-for-only-the-time-it-spent-getting-data-from-the-upstream/230148 "2014-06-02T16:48:59Z")

</div>

Hey all, we used $request\_time in the past to measure how long it took to serve certain pages, this was never the problem, because there was something in front of nginx, thus, the client read/write operatings didn’t …

---

## [Proposal minor patch on ngx\_http\_upstream.c](https://www.ruby-forum.com/t/proposal-minor-patch-on-ngx-http-upstream-c/230151)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 2, 2014, 4:19pm UTC](https://www.ruby-forum.com/t/proposal-minor-patch-on-ngx-http-upstream-c/230151 "2014-06-02T16:19:30Z")

</div>

Hello, errno is only set on error, so if |recv()| is a success, |err| will have a random value. Only debug message are impacted. Can you check if it is ok? Comments are welcome. Feel free to change the patch. Reg…

---

## [Email Reverse Proxy issue](https://www.ruby-forum.com/t/email-reverse-proxy-issue/230124)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 2, 2014, 2:26pm UTC](https://www.ruby-forum.com/t/email-reverse-proxy-issue/230124 "2014-06-02T14:26:51Z")

</div>

I am using Nginx as an Email reverse proxy. The email client sends a request to the nginx, the nginx fetch the WHOLE email(message) from exchange server, and only then manipulates it and sends it back to client. Ema…

---

## [Wildcard proxy\_cache\_purge doesn't work](https://www.ruby-forum.com/t/wildcard-proxy-cache-purge-doesnt-work/230120)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 2, 2014, 11:59am UTC](https://www.ruby-forum.com/t/wildcard-proxy-cache-purge-doesnt-work/230120 "2014-06-02T11:59:58Z")

</div>

I have cache setup like this: proxy\_cache\_path /var/cache/nginx levels=1:2 keys\_zone=pagecache:10m; location / { … proxy\_cache pagecache; proxy\_cache\_key “$scheme://$host$request\_uri”; } And it works as expected. …

---

## [Location for php except](https://www.ruby-forum.com/t/location-for-php-except/230126)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 1, 2014, 9:00pm UTC](https://www.ruby-forum.com/t/location-for-php-except/230126 "2014-06-01T21:00:49Z")

</div>

Hello, I’m using nginx with Gitlab, so in the Gitlab some PHP projects are hosted and on other directory there exists some PHP scripts. For the PHP files I use: location ~ \\.php$ { fastcgi\_split\_path\_info ^(.+?\\.…

---

## [Whitelisting Req/Conn Limiting](https://www.ruby-forum.com/t/whitelisting-req-conn-limiting/230111)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 1, 2014, 2:11pm UTC](https://www.ruby-forum.com/t/whitelisting-req-conn-limiting/230111 "2014-06-01T14:11:06Z")

</div>

Hello! I’m want to limit req/connections but have certain requests skip or whitelisted from the throttling. I’ve found some prior threads that got me this, which I think is working. Here’s just the relevant config.…

---

## [Reverse proxy through upstream proxy](https://www.ruby-forum.com/t/reverse-proxy-through-upstream-proxy/230114)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 31, 2014, 11:13am UTC](https://www.ruby-forum.com/t/reverse-proxy-through-upstream-proxy/230114 "2014-05-31T11:13:11Z")

</div>

I’m trying to configure nginx as a reverse proxy where the upstream traffic has to go through another proxy (squid in this case) without success. Since nginx does not support (as far as I can tell) passing a proxy fo…

---

## [Nginx Rewrite for Proxy Pass](https://www.ruby-forum.com/t/nginx-rewrite-for-proxy-pass/230102)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [May 30, 2014, 8:38pm UTC](https://www.ruby-forum.com/t/nginx-rewrite-for-proxy-pass/230102 "2014-05-30T20:38:33Z")

</div>

Hello everyone, I have an interesting issue. I am using nginx 1.6.0 to proxy back to my Jira instance. This is working great within my network. This is the issue. I am using a fortigate device to protect my network …

---

## [Tengine-2.0.3 is released](https://www.ruby-forum.com/t/tengine-2-0-3-is-released/230103)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [May 30, 2014, 6:10pm UTC](https://www.ruby-forum.com/t/tengine-2-0-3-is-released/230103 "2014-05-30T18:10:20Z")

</div>

Hi folks, Tengine-2.0.3 (development version) has been released. You can either checkout the source code from GitHub: GitHub - alibaba/tengine: A distribution of Nginx with some advanced features or download the tarb…

---

## [Tengine-2.0.2 is released](https://www.ruby-forum.com/t/tengine-2-0-2-is-released/240117)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 30, 2014, 6:09pm UTC](https://www.ruby-forum.com/t/tengine-2-0-2-is-released/240117 "2014-05-30T18:09:09Z")

</div>

Hi folks, Tengine-2.0.2 (development version) has been released. You can either checkout the source code from GitHub: GitHub - alibaba/tengine: A distribution of Nginx with some advanced features or download the tarb…

---

## [Server context Vs Location context](https://www.ruby-forum.com/t/server-context-vs-location-context/230095)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [May 30, 2014, 8:59am UTC](https://www.ruby-forum.com/t/server-context-vs-location-context/230095 "2014-05-30T08:59:32Z")

</div>

Is there any way to check in a command’s set function if the command was invoked i.e. the command was called from server context or location context. For example, if I write a command that can be used both in server …

---

## [Just looking for guide to understand query strings](https://www.ruby-forum.com/t/just-looking-for-guide-to-understand-query-strings/230087)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 30, 2014, 1:02am UTC](https://www.ruby-forum.com/t/just-looking-for-guide-to-understand-query-strings/230087 "2014-05-30T01:02:10Z")

</div>

My logs have been inundated with hits at Example Domain, though in the actual logs ‘anything’ is a very long string of characters. Log entry: “GET /?anything HTTP/1.1” 200 581 “-” “Mozilla/5.0 (Windows NT 6.1; WOW64…

---

## [Nginx 1.6.0 + spdy performance testing](https://www.ruby-forum.com/t/nginx-1-6-0-spdy-performance-testing/230084)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 29, 2014, 11:12pm UTC](https://www.ruby-forum.com/t/nginx-1-6-0-spdy-performance-testing/230084 "2014-05-29T23:12:02Z")

</div>

I need to evaluate if using spdy will be good for my website but i’m having trouble setting everyting up. While using the chrome benchmark extension (1) an error message stating that it was not possible to use spdy a…

---

## [Issues with my galaxy server](https://www.ruby-forum.com/t/issues-with-my-galaxy-server/230079)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 6\
**Last updated:** [May 29, 2014, 6:06pm UTC](https://www.ruby-forum.com/t/issues-with-my-galaxy-server/230079 "2014-05-29T18:06:13Z")

</div>

Hi Team, I am writing to gather some insight on how I may need to change my configuration on Nginx. I have been running a galaxy server for 3+ years now and have begun experiencing issues with accessing several of t…

---

## [Header Vary: Accept-Encoding - security risk?](https://www.ruby-forum.com/t/header-vary-accept-encoding-security-risk/230062)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [May 29, 2014, 5:49pm UTC](https://www.ruby-forum.com/t/header-vary-accept-encoding-security-risk/230062 "2014-05-29T17:49:13Z")

</div>

Dear list, I have enabled gzip with … gzip on; gzip\_http\_version 1.0; gzip\_vary on; … to satisfy incoming HTTP 1.0 requests. In a very similiar setup which got OWASP-evaluated, I read this - marked as a defect: …

---

## [Re: Request for a "no capture" rewrite directive enhancement](https://www.ruby-forum.com/t/re-request-for-a-no-capture-rewrite-directive-enhancement/230066)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [May 29, 2014, 4:47am UTC](https://www.ruby-forum.com/t/re-request-for-a-no-capture-rewrite-directive-enhancement/230066 "2014-05-29T04:47:42Z")

</div>

Fantastic Igor - I didn’t know that you could do named captures in Nginx good to know. That solves it rather nicely. And thanks B.R. - yep, that syntax is part of PCRE. Pete I think Igor is suggesting PERL named ca…

---

## [NGINX: Reverse Proxy (SSL) with non-ssl backend](https://www.ruby-forum.com/t/nginx-reverse-proxy-ssl-with-non-ssl-backend/229992)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [May 29, 2014, 1:16am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-ssl-with-non-ssl-backend/229992 "2014-05-29T01:16:14Z")

</div>

Hi, I currently run a small system which consists on an Apache HTTP with PHP (8080) backend (no SSL on localhost) with a Varnish HTTP accelerator on Port 9000 (localhost) and a NGINX reverse proxy (SSL). I am facing …

---

## [Nginx add trailing slash with wrong port](https://www.ruby-forum.com/t/nginx-add-trailing-slash-with-wrong-port/229974)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [May 29, 2014, 1:01am UTC](https://www.ruby-forum.com/t/nginx-add-trailing-slash-with-wrong-port/229974 "2014-05-29T01:01:00Z")

</div>

nginx rewrites : http://localhost:8081/files to : http://localhost:81/files/ # wrong port ! while apache rewrites : http://localhost:8082/files to http://localhost:8082/files/ is it possible to configure …

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

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