# Server

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

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

---

## [Converting subdomain to path component without redirect?](https://www.ruby-forum.com/t/converting-subdomain-to-path-component-without-redirect/228604)

<div class="topic-metadata">

**Author:** [@henrique\_matias](https://www.ruby-forum.com/u/henrique_matias)\
**Replies:** 9\
**Last updated:** [May 5, 2013, 10:17am UTC](https://www.ruby-forum.com/t/converting-subdomain-to-path-component-without-redirect/228604 "2013-05-05T10:17:10Z")

</div>

Hello guys, Am having trouble setting up my nginx.config to transparently proxy the subdomains and domains to the same app, but with different “path components” appended to the $uri example: mydomain.it/PATH should …

---

## [Apache benchmark: always a few "super late" requests, why?](https://www.ruby-forum.com/t/apache-benchmark-always-a-few-super-late-requests-why/228719)

<div class="topic-metadata">

**Author:** [@henrique\_matias](https://www.ruby-forum.com/u/henrique_matias)\
**Replies:** 1\
**Last updated:** [May 5, 2013, 4:36am UTC](https://www.ruby-forum.com/t/apache-benchmark-always-a-few-super-late-requests-why/228719 "2013-05-05T04:36:36Z")

</div>

Perhaps no matter if i change number of workers, or worker connections, there’s always some super late connections on my “ab” tests… Am very new to benchmark, but the way am doing now is: ab -n 8000 -c 1000 http://add…

---

## [Proxy\_pass only if a file exists](https://www.ruby-forum.com/t/proxy-pass-only-if-a-file-exists/228622)

<div class="topic-metadata">

**Author:** [@mrtn](https://www.ruby-forum.com/u/mrtn)\
**Replies:** 2\
**Last updated:** [May 4, 2013, 11:25pm UTC](https://www.ruby-forum.com/t/proxy-pass-only-if-a-file-exists/228622 "2013-05-04T23:25:45Z")

</div>

I need to make sure a file actually exists before proxy\_pass-ing the request to an upstream server. I don’t serve existing files directly using Nginx because there are some application-specific logic i need to perform…

---

## [Redirect loop with try\_files](https://www.ruby-forum.com/t/redirect-loop-with-try-files/228709)

<div class="topic-metadata">

**Author:** [@mschipperheyn](https://www.ruby-forum.com/u/mschipperheyn)\
**Replies:** 1\
**Last updated:** [May 4, 2013, 10:56pm UTC](https://www.ruby-forum.com/t/redirect-loop-with-try-files/228709 "2013-05-04T22:56:33Z")

</div>

Hi, I have a front end nginx webserver with behind it a tomcat server. I ran into a nasty little redirect loop issue that I still don’t understand. I’m trying to redirect users who have a session cookie to a differen…

---

## [File upload with php-fpm](https://www.ruby-forum.com/t/file-upload-with-php-fpm/228710)

<div class="topic-metadata">

**Author:** [@nateless](https://www.ruby-forum.com/u/nateless)\
**Replies:** 2\
**Last updated:** [May 4, 2013, 10:50pm UTC](https://www.ruby-forum.com/t/file-upload-with-php-fpm/228710 "2013-05-04T22:50:07Z")

</div>

Hello, I’ve a problem with file upload and googling and checking with everything didn’t help to solve it. The problem is when file is being uploaded larger than few megs browser repeats request after about 30 second…

---

## [Proxy pass keepalive without upstream module](https://www.ruby-forum.com/t/proxy-pass-keepalive-without-upstream-module/228693)

<div class="topic-metadata">

**Author:** [@rkoskela](https://www.ruby-forum.com/u/rkoskela)\
**Replies:** 1\
**Last updated:** [May 4, 2013, 12:37am UTC](https://www.ruby-forum.com/t/proxy-pass-keepalive-without-upstream-module/228693 "2013-05-04T00:37:48Z")

</div>

Hi I read here that keepalives to backend can be enabled with the upstream module (Module ngx\_http\_upstream\_module) But can they be used without defining an upstream block? Just a simple proxy\_pass as the backend is…

---

## [OCSP response: no response sent](https://www.ruby-forum.com/t/ocsp-response-no-response-sent/223430)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [May 3, 2013, 10:04pm UTC](https://www.ruby-forum.com/t/ocsp-response-no-response-sent/223430 "2013-05-03T22:04:08Z")

</div>

I am trying to get OCSP Stapling working in Nginx 1.3.7 with SPDY patch.spdy-52.txt built against OpenSSL 1.0.1c. SSL and SPDY connections to the server work fine. Let me explain what I have done so far and perhaps so…

---

## [Understanding break and add\_header combo](https://www.ruby-forum.com/t/understanding-break-and-add-header-combo/228673)

<div class="topic-metadata">

**Author:** [@flarik](https://www.ruby-forum.com/u/flarik)\
**Replies:** 2\
**Last updated:** [May 3, 2013, 10:01am UTC](https://www.ruby-forum.com/t/understanding-break-and-add-header-combo/228673 "2013-05-03T10:01:21Z")

</div>

Hello, I’m trying to undestand the break; statement in combination with add\_header combo, on the wiki it says the following: “Completes the current set of rules. Continue processing within the current location bloc…

---

## [Question about UPSTREAM configuration](https://www.ruby-forum.com/t/question-about-upstream-configuration/228652)

<div class="topic-metadata">

**Author:** [@lflacayo](https://www.ruby-forum.com/u/lflacayo)\
**Replies:** 2\
**Last updated:** [May 2, 2013, 3:55pm UTC](https://www.ruby-forum.com/t/question-about-upstream-configuration/228652 "2013-05-02T15:55:05Z")

</div>

Hello All, Hope some one out there can help me a clear up my understanding. If I have 5 server on an upstream configuration list, to help load balance the load across the 5 servers. Once in a while I am seen “(110…

---

## [Help with nginx proxy store as a frontend MP4 Anycast CDN](https://www.ruby-forum.com/t/help-with-nginx-proxy-store-as-a-frontend-mp4-anycast-cdn/228662)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [May 2, 2013, 9:13am UTC](https://www.ruby-forum.com/t/help-with-nginx-proxy-store-as-a-frontend-mp4-anycast-cdn/228662 "2013-05-02T09:13:07Z")

</div>

Hi, I have been reading up on the nginx documentation and also stackoverflow about creating an Anycast CDN based on nginx-frontends. We currently use nginx on the backend, and Squid for caching images and mp4’s - how…

---

## [Limit\_req and IP white listing on 0.8.55](https://www.ruby-forum.com/t/limit-req-and-ip-white-listing-on-0-8-55/228629)

<div class="topic-metadata">

**Author:** [@nauger](https://www.ruby-forum.com/u/nauger)\
**Replies:** 3\
**Last updated:** [May 1, 2013, 7:31pm UTC](https://www.ruby-forum.com/t/limit-req-and-ip-white-listing-on-0-8-55/228629 "2013-05-01T19:31:57Z")

</div>

Hello! I’ve followed this reference: To produce the following config: http { geo $public\_vs\_our\_networks { default 1; 127.0.0.1/32 0; … my networks … } map $public\_vs\_our\_networks $limit\_pub…

---

## [Tengine-1.4.5 is released](https://www.ruby-forum.com/t/tengine-1-4-5-is-released/228647)

<div class="topic-metadata">

**Author:** [@yaoweibin](https://www.ruby-forum.com/u/yaoweibin)\
**Replies:** 0\
**Last updated:** [May 1, 2013, 5:20pm UTC](https://www.ruby-forum.com/t/tengine-1-4-5-is-released/228647 "2013-05-01T17:20:28Z")

</div>

Hi folks, We are glad to announce that Tengine-1.4.5 (development version) has been released. You can either checkout the source code from github: GitHub - alibaba/tengine: A distribution of Nginx with some advanced …

---

## [Reg. POST data body](https://www.ruby-forum.com/t/reg-post-data-body/228637)

<div class="topic-metadata">

**Author:** [@eswar\_r](https://www.ruby-forum.com/u/eswar_r)\
**Replies:** 0\
**Last updated:** [May 1, 2013, 11:34am UTC](https://www.ruby-forum.com/t/reg-post-data-body/228637 "2013-05-01T11:34:37Z")

</div>

Hi All, I am trying to collect the POST request body using $request\_body but I am unable to collect it in config file: curl -X POST -d “param1=value1&param2=value2” ’ http://localhost:8031/test1/test2/’ --header “C…

---

## [Howto set geoip\_country for IPv4 and IPv6 databases?](https://www.ruby-forum.com/t/howto-set-geoip-country-for-ipv4-and-ipv6-databases/225554)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 9\
**Last updated:** [May 1, 2013, 11:15am UTC](https://www.ruby-forum.com/t/howto-set-geoip-country-for-ipv4-and-ipv6-databases/225554 "2013-05-01T11:15:20Z")

</div>

Hi, Next to their IPv4 country and city database, Maxmind now also has an IPv6 country and city database at GeoIP2 Release Notes - 2022 Archive Is there a way I can make geo use the IPv6 databases too? This does not …

---

## [Documentation of post\_action](https://www.ruby-forum.com/t/documentation-of-post-action/228636)

<div class="topic-metadata">

**Author:** [@B.R](https://www.ruby-forum.com/u/B.R)\
**Replies:** 0\
**Last updated:** [May 1, 2013, 9:20am UTC](https://www.ruby-forum.com/t/documentation-of-post-action/228636 "2013-05-01T09:20:50Z")

</div>

As Maxim pointed out specifically in a not-that-old message, the ‘post\_action’ directive is left undocumented on purpose, since it implies carefulness and knowledge to manipulate properly. Although my request might s…

---

## [504 Gateway Time-out media temple](https://www.ruby-forum.com/t/504-gateway-time-out-media-temple/223391)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [April 30, 2013, 11:50pm UTC](https://www.ruby-forum.com/t/504-gateway-time-out-media-temple/223391 "2013-04-30T23:50:06Z")

</div>

I am constantly getting 504 gateway errors when my php script needs to run for longer than 60 secs. I am on media temple on a dedicated server. I have contacted media temple and they have been helpful but none of th…

---

## [Nginx http poller module](https://www.ruby-forum.com/t/nginx-http-poller-module/228624)

<div class="topic-metadata">

**Author:** [@Dave\_Bailey](https://www.ruby-forum.com/u/Dave_Bailey)\
**Replies:** 0\
**Last updated:** [April 30, 2013, 6:46pm UTC](https://www.ruby-forum.com/t/nginx-http-poller-module/228624 "2013-04-30T18:46:15Z")

</div>

Hi, I’ve written an nginx module that allows the user to configure nginx worker processes to make detached, repeated “polling” HTTP requests. The request endpoint, method, URI, headers, and body are configurable, a…

---

## [Nginx 1.2.1 won't start with large CRL](https://www.ruby-forum.com/t/nginx-1-2-1-wont-start-with-large-crl/220828)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [April 30, 2013, 6:11pm UTC](https://www.ruby-forum.com/t/nginx-1-2-1-wont-start-with-large-crl/220828 "2013-04-30T18:11:11Z")

</div>

I have a CRL loaded into ssl\_crl variable in the config file that’s about 256MB in size and nginx won’t start. I get the following error: nginx: \[emerg\] fork() failed (12: Cannot allocate memory) I believe this is due…

---

## [Emulate SSI 'exec cmd' with nginx](https://www.ruby-forum.com/t/emulate-ssi-exec-cmd-with-nginx/228452)

<div class="topic-metadata">

**Author:** [@lpr](https://www.ruby-forum.com/u/lpr)\
**Replies:** 2\
**Last updated:** [April 30, 2013, 2:04pm UTC](https://www.ruby-forum.com/t/emulate-ssi-exec-cmd-with-nginx/228452 "2013-04-30T14:04:04Z")

</div>

Dear all Trying to move my pages from Apache to nginx (1.2.1 on Debian stable with backports), I run into the problem of having used SSI’s ‘exec cmd’ for more than a decade quite intensively. What is the best and e…

---

## [Re: Online Jobs and Entertainment](https://www.ruby-forum.com/t/re-online-jobs-and-entertainment/228599)

<div class="topic-metadata">

**Author:** [@Paul\_NSPace](https://www.ruby-forum.com/u/Paul_NSPace)\
**Replies:** 1\
**Last updated:** [April 30, 2013, 2:05am UTC](https://www.ruby-forum.com/t/re-online-jobs-and-entertainment/228599 "2013-04-30T02:05:29Z")

</div>

Speaking of which, what do you guys use for a spam filter? I’ve been thinking about setting up mailman. I’m surprised at how little spam I’ve seen here given how popular nginx is. (I realize this gem came from a forum…

---

## [Online Jobs and Entertainment](https://www.ruby-forum.com/t/online-jobs-and-entertainment/228596)

<div class="topic-metadata">

**Author:** [@Rickey](https://www.ruby-forum.com/u/Rickey)\
**Replies:** 0\
**Last updated:** [April 29, 2013, 6:45pm UTC](https://www.ruby-forum.com/t/online-jobs-and-entertainment/228596 "2013-04-29T18:45:10Z")

</div>

http://kholyar.blogspot.com/ Open It And Enjoy :slight\_smile: Posted at Nginx Forum:

---

## [Wordpress RSS pages dont work with Nginx](https://www.ruby-forum.com/t/wordpress-rss-pages-dont-work-with-nginx/228579)

<div class="topic-metadata">

**Author:** [@rahmanusta](https://www.ruby-forum.com/u/rahmanusta)\
**Replies:** 4\
**Last updated:** [April 29, 2013, 2:36pm UTC](https://www.ruby-forum.com/t/wordpress-rss-pages-dont-work-with-nginx/228579 "2013-04-29T14:36:17Z")

</div>

I had a wordpress blog and was working on Apache. I migrated the blog to Nginx + php-fpm. But i have a problem with this. My blog has RSS with example.com/feed URL , and i could see the feeds with paged like this exa…

---

## [About alleged security issue](https://www.ruby-forum.com/t/about-alleged-security-issue/228589)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 0\
**Last updated:** [April 29, 2013, 2:32pm UTC](https://www.ruby-forum.com/t/about-alleged-security-issue/228589 "2013-04-29T14:32:11Z")

</div>

Hello! Recently a report appeared alleging an integer overflow vulnerability in nginx, claiming remote code execution impact. We’ve carefully investigated the issue, and cannot confirm the alleged vulnerability exist…

---

## [Load balancing according to url](https://www.ruby-forum.com/t/load-balancing-according-to-url/228581)

<div class="topic-metadata">

**Author:** [@eswar\_r](https://www.ruby-forum.com/u/eswar_r)\
**Replies:** 5\
**Last updated:** [April 29, 2013, 1:28pm UTC](https://www.ruby-forum.com/t/load-balancing-according-to-url/228581 "2013-04-29T13:28:31Z")

</div>

Hi All, Can anyone please help me with the below requirement. Host machine contains a plugin and it communicates with a plugin handler running on backend servers and nginx is used to load balance the requests. host …

---

## [Nginx openssl compilation problem](https://www.ruby-forum.com/t/nginx-openssl-compilation-problem/228550)

<div class="topic-metadata">

**Author:** [@Fleshgrinder](https://www.ruby-forum.com/u/Fleshgrinder)\
**Replies:** 1\
**Last updated:** [April 29, 2013, 11:38am UTC](https://www.ruby-forum.com/t/nginx-openssl-compilation-problem/228550 "2013-04-29T11:38:42Z")

</div>

Hello, I’m desparately trying to compile the latest nginx with the latest OpenSSL. In short I’m grabbing the latest nginx tar.gz (1.4.0 but had the same problem with 1.3.16) and the latest OpenSSL tar.gz (1.0.1e but …

---

## [Get request\_body in set\_by\_lua directive](https://www.ruby-forum.com/t/get-request-body-in-set-by-lua-directive/217880)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [April 28, 2013, 9:13pm UTC](https://www.ruby-forum.com/t/get-request-body-in-set-by-lua-directive/217880 "2013-04-28T21:13:40Z")

</div>

I wont to parse the request\_body in a lua script file but am unable to access the request\_body in set\_by\_lua\_file directive. Is there any way to access the headers/cookies/get/post ? my conf structure is like http{ …

---

## [Basic\_auth for parts of uwsgi](https://www.ruby-forum.com/t/basic-auth-for-parts-of-uwsgi/228568)

<div class="topic-metadata">

**Author:** [@Christoph\_Egger](https://www.ruby-forum.com/u/Christoph_Egger)\
**Replies:** 1\
**Last updated:** [April 28, 2013, 1:21pm UTC](https://www.ruby-forum.com/t/basic-auth-for-parts-of-uwsgi/228568 "2013-04-28T13:21:02Z")

</div>

Hi! I have the following problem: I’m running a uwsgi application using nginx on /. I would like to add authentication for /foo/ and /bar/. However neither location /bar/ { auth\_basic “LOGIN”; auth\_basic\_user\_file…

---

## [Nginx-1.4.0](https://www.ruby-forum.com/t/nginx-1-4-0/228494)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 3\
**Last updated:** [April 27, 2013, 10:00pm UTC](https://www.ruby-forum.com/t/nginx-1-4-0/228494 "2013-04-27T22:00:25Z")

</div>

Changes with nginx 1.4.0 24 Apr 2013 \*) Bugfix: nginx could not be built with the ngx\_http\_perl\_module if the –with-openssl option was used; the bug had appeared in 1.3.16. \*…

---

## [Adding header/footer to gzip'ed html files](https://www.ruby-forum.com/t/adding-header-footer-to-gziped-html-files/228564)

<div class="topic-metadata">

**Author:** [@Constantine\_ASMure](https://www.ruby-forum.com/u/Constantine_ASMure)\
**Replies:** 0\
**Last updated:** [April 27, 2013, 7:41pm UTC](https://www.ruby-forum.com/t/adding-header-footer-to-gziped-html-files/228564 "2013-04-27T19:41:59Z")

</div>

Hello, I’m trying to see ways in which OpenGrok could be optimised with nginx. One of the ideas I have is using nginx to serve the /xref/ pages, instead of them going through OpenGrok each time. OpenGrok (the indexe…

---

## [Simple forward proxy](https://www.ruby-forum.com/t/simple-forward-proxy/228557)

<div class="topic-metadata">

**Author:** [@asmith](https://www.ruby-forum.com/u/asmith)\
**Replies:** 1\
**Last updated:** [April 27, 2013, 11:19am UTC](https://www.ruby-forum.com/t/simple-forward-proxy/228557 "2013-04-27T11:19:40Z")

</div>

Hello, I have nginx 1.3 on my ubuntu 10.04 and there are some websites running by it. I’d like to setup a forward proxy on a specific port so that I could use it on my browsers network options. I’ve done this so fa…

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

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