# Server

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

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

---

## [Ngx\_ssl\_dhparam and dh1024\_p](https://www.ruby-forum.com/t/ngx-ssl-dhparam-and-dh1024-p/237964)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 9, 2013, 3:54pm UTC](https://www.ruby-forum.com/t/ngx-ssl-dhparam-and-dh1024-p/237964 "2013-12-09T15:54:03Z")

</div>

Hi All, ngx\_event\_openssl.c hs the following around line 535: ngx\_ssl\_dhparam(ngx\_conf\_t \*cf, ngx\_ssl\_t \*ssl, ngx\_str\_t file) { … / \* -----BEGIN DH PARAMETERS----- \* MIGHAoGBALu8LcrYRnSQfEP89YDpz9vZWKP1aLQtSwju1Os…

---

## [Some suggestions for clarifying client\_max\_body\_size](https://www.ruby-forum.com/t/some-suggestions-for-clarifying-client-max-body-size/237971)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 9, 2013, 3:40pm UTC](https://www.ruby-forum.com/t/some-suggestions-for-clarifying-client-max-body-size/237971 "2013-12-09T15:40:02Z")

</div>

Hello. After installing a “fresh” 1.4.4 nginx with passenger the other day, I had a few suggestions/feature requests for the default install: by default the client\_max\_body\_size can easily be exceeded. I think this …

---

## [Nginx FastCGI cache for vBulletin](https://www.ruby-forum.com/t/nginx-fastcgi-cache-for-vbulletin/237967)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 9, 2013, 12:36pm UTC](https://www.ruby-forum.com/t/nginx-fastcgi-cache-for-vbulletin/237967 "2013-12-09T12:36:37Z")

</div>

Hi, Did somebody manage to implement Nginx FastCGI cache for vBulletin 4? I’ve read several similar links about it: http://www.vbulletin.com/forum/forum/general/server-configuration/259952-nginx-the-raise-of-a-new-gia…

---

## [Initial Connection takes very long time](https://www.ruby-forum.com/t/initial-connection-takes-very-long-time/237969)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 9, 2013, 11:55am UTC](https://www.ruby-forum.com/t/initial-connection-takes-very-long-time/237969 "2013-12-09T11:55:43Z")

</div>

Hi, I’m using nginx 1.5.7 for SSL termination for my websites (no encryption betwwen nginx-origin servers). This is my test result: WebPageTest Test - WebPageTest Details you can see it took more than 9 seconds for…

---

## [Ngx\_http\_limit\_req\_module questions](https://www.ruby-forum.com/t/ngx-http-limit-req-module-questions/237963)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 9, 2013, 12:20am UTC](https://www.ruby-forum.com/t/ngx-http-limit-req-module-questions/237963 "2013-12-09T00:20:41Z")

</div>

Hello, I have a requirement to rate limit requests to one of my customer facing API’s. At present Nginx is a proxy point directing traffic to network internal servers based on endpoint URL. I am interested in integrat…

---

## [Configure, make and self tests?](https://www.ruby-forum.com/t/configure-make-and-self-tests/237955)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 8, 2013, 1:44pm UTC](https://www.ruby-forum.com/t/configure-make-and-self-tests/237955 "2013-12-08T13:44:32Z")

</div>

make check and make test results in “no rule to make target”. Does nginx include any self test? If so, how does on run them? Thanks in advance.

---

## [Nginx module developer documentation?](https://www.ruby-forum.com/t/nginx-module-developer-documentation/237956)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 8, 2013, 9:25am UTC](https://www.ruby-forum.com/t/nginx-module-developer-documentation/237956 "2013-12-08T09:25:11Z")

</div>

Hi All, I’m interested in exploring nginx as the basis for a proxy. I’m having trouble locating reading material on nginx from a development perspective. I found \[0,1\], but it looks like its for administrators. I als…

---

## [Maintenance mode for all but my ip](https://www.ruby-forum.com/t/maintenance-mode-for-all-but-my-ip/237947)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [December 7, 2013, 11:17pm UTC](https://www.ruby-forum.com/t/maintenance-mode-for-all-but-my-ip/237947 "2013-12-07T23:17:00Z")

</div>

Getting ready to convert the site to UTF-8 (finally!) and wanted to know how I could issue error code 503 to all people and bots but still allow my IP in so I can go 'round the site checking for glitches due to the ch…

---

## [Re: Maintenance mode for all but my ip](https://www.ruby-forum.com/t/re-maintenance-mode-for-all-but-my-ip/237949)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 7, 2013, 4:07pm UTC](https://www.ruby-forum.com/t/re-maintenance-mode-for-all-but-my-ip/237949 "2013-12-07T16:07:40Z")

</div>

Did you try putting ‘allow ;’ above ‘return…’ line in if block?

---

## [Cross Compiling nginx-1.0.11](https://www.ruby-forum.com/t/cross-compiling-nginx-1-0-11/215907)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 7, 2013, 10:00am UTC](https://www.ruby-forum.com/t/cross-compiling-nginx-1-0-11/215907 "2013-12-07T10:00:14Z")

</div>

Hi , I want to know how to cross compile nginx-1.0.11. I have already tried : --with-cc option but it is giving me an error : checking for C compiler … found but is not working .…

---

## [Windows nginx 1.5.8.2 Caterpillar](https://www.ruby-forum.com/t/windows-nginx-1-5-8-2-caterpillar/237941)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 6, 2013, 9:54pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-5-8-2-caterpillar/237941 "2013-12-06T21:54:12Z")

</div>

‘Keep Up’ Windows nginx fan base :slight\_smile: Over 2.000 downloads, lots of Beta feedback, we ain’t done yet, here’s the latest and greatest version. 15:34 6-12-2013: nginx 1.5.8.2 Caterpillar Based on nginx 1.5.8 …

---

## [Force ppt(x) and pps(x) to be downloaded instead of being served as plain text](https://www.ruby-forum.com/t/force-ppt-x-and-pps-x-to-be-downloaded-instead-of-being-served-as-plain-text/237929)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [December 6, 2013, 12:13pm UTC](https://www.ruby-forum.com/t/force-ppt-x-and-pps-x-to-be-downloaded-instead-of-being-served-as-plain-text/237929 "2013-12-06T12:13:52Z")

</div>

Nginx 1.5.7, ppt(x) and pps(x) are served as plain text (of course with strange characters) by nginx. How can I have them always as a download?

---

## [Nginx location, return and rewrite directives](https://www.ruby-forum.com/t/nginx-location-return-and-rewrite-directives/237926)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 6, 2013, 9:46am UTC](https://www.ruby-forum.com/t/nginx-location-return-and-rewrite-directives/237926 "2013-12-06T09:46:36Z")

</div>

I am having a hard time learning to do return and rewrite directives. the conditions are fuzzy for me. I am trying to learn by example, so I made one up. in the htdocs of my server we have this file and folders. ~:#\>l…

---

## [NGINX Location Matching Question - Case insensitive matching at the start of a URI](https://www.ruby-forum.com/t/nginx-location-matching-question-case-insensitive-matching-at-the-start-of-a-uri/237920)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 6, 2013, 12:51am UTC](https://www.ruby-forum.com/t/nginx-location-matching-question-case-insensitive-matching-at-the-start-of-a-uri/237920 "2013-12-06T00:51:21Z")

</div>

Hi, I’m running in a somewhat urgent issue where I have to make a case-insensitive location match on a URI segment that is at the beginning of the URI. so I want to match /uri-segment/\* /URI-segment/\* /Uri-Segment…

---

## [NGINX Module - create variables‏](https://www.ruby-forum.com/t/nginx-module-create-variables/237852)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [December 6, 2013, 12:26am UTC](https://www.ruby-forum.com/t/nginx-module-create-variables/237852 "2013-12-06T00:26:48Z")

</div>

Hi, I would like to create a small module which execute some routines, returns an NGX\_OK, somewhat similar in concept to However I would like once the module executes to create variables such as $my\_var which would…

---

## [Url rewriting faliure in case of UTF8 urls](https://www.ruby-forum.com/t/url-rewriting-faliure-in-case-of-utf8-urls/237878)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 5, 2013, 8:10pm UTC](https://www.ruby-forum.com/t/url-rewriting-faliure-in-case-of-utf8-urls/237878 "2013-12-05T20:10:18Z")

</div>

I want to rewrite some old urls on my site to new ones inorder to prevent 404 errors. For English urls everything is OK and adding a rewrite rule like the following to the server block works fine. rewrite ^/omid/$ /…

---

## [Dummy question](https://www.ruby-forum.com/t/dummy-question/237913)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 5, 2013, 7:59pm UTC](https://www.ruby-forum.com/t/dummy-question/237913 "2013-12-05T19:59:12Z")

</div>

Just read this: …which recommands to put root outside location block… However, the default.conf installed from nginx rpm contains exactly what should not de done, right ? location / { root /usr/share/nginx/…

---

## [Rewrite URL with parameters](https://www.ruby-forum.com/t/rewrite-url-with-parameters/237910)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 6:25pm UTC](https://www.ruby-forum.com/t/rewrite-url-with-parameters/237910 "2013-12-05T18:25:08Z")

</div>

Hi guys, I’m trying to rewrite an url with a few parameters, but unsuccessfully. The URL: https://www.mysite.com.br/category-body/categories/promotionalXXX?utm\_source=PromoCode&utm\_medium=AddPromo&utm\_campaign=PromoCo…

---

## [Problem with Upstream over SSL](https://www.ruby-forum.com/t/problem-with-upstream-over-ssl/237905)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 4:37pm UTC](https://www.ruby-forum.com/t/problem-with-upstream-over-ssl/237905 "2013-12-05T16:37:02Z")

</div>

I was proxying to an IIS server on 443 on nginx 1.1 on FreeBSD and it worked perfectly fine. We moved to nginx 1.4 running on ubuntu and now it won’t work. The following works perfect: server { location / { prox…

---

## [Location{} hassles:(](https://www.ruby-forum.com/t/location-hassles/237892)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 4:04pm UTC](https://www.ruby-forum.com/t/location-hassles/237892 "2013-12-05T16:04:19Z")

</div>

Hey all I can’t seem to get the hang of how to use/write location blocks. I have mailed the list before and I do understand how it works but what I’ve tried fails. I have tried a few things and in both cases i don’t t…

---

## [Using nginx to cache file serving](https://www.ruby-forum.com/t/using-nginx-to-cache-file-serving/237903)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 5, 2013, 3:39pm UTC](https://www.ruby-forum.com/t/using-nginx-to-cache-file-serving/237903 "2013-12-05T15:39:46Z")

</div>

Hi We are using nginx & SATA disks on several of our file servers.However after hitting 12MBytes/s of port speed (server nic is a 1gbps), the server gets down to it’s knees. SSH becomes very slow/unresponsive and ou…

---

## [Why the status code restriction on add\_header?](https://www.ruby-forum.com/t/why-the-status-code-restriction-on-add-header/237902)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 2:36pm UTC](https://www.ruby-forum.com/t/why-the-status-code-restriction-on-add-header/237902 "2013-12-05T14:36:40Z")

</div>

Hello, I’m trying to add some custom headers to a 403 response, but had a hard time doing so. Looking through the docs, it seems add\_header "Adds the specified field to a response header provided that the response cod…

---

## [Sphinx2 Search Platform Upstream Module Pre-Release](https://www.ruby-forum.com/t/sphinx2-search-platform-upstream-module-pre-release/237900)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 5, 2013, 11:41am UTC](https://www.ruby-forum.com/t/sphinx2-search-platform-upstream-module-pre-release/237900 "2013-12-05T11:41:20Z")

</div>

Hello! I have developed an upstream module for Sphinx2 search platform. It’s available at: GitHub - reeteshranjan/sphinx2-nginx-module: Nginx upstream module for Sphinx 2.x It talks to Sphinx2 searchd component for pe…

---

## [Why the change in links on the wiki?](https://www.ruby-forum.com/t/why-the-change-in-links-on-the-wiki/237886)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 5, 2013, 7:48am UTC](https://www.ruby-forum.com/t/why-the-change-in-links-on-the-wiki/237886 "2013-12-05T07:48:12Z")

</div>

I noticed this a few months back. Why do the links on wiki.nginx.org link to nginx documentation instead of to wiki.nginx.org? For example: the http core module doc link on http://wiki.nginx.org/Modulespoints → Mo…

---

## [Nginx fastcgi\_pass and Browser long transfer time](https://www.ruby-forum.com/t/nginx-fastcgi-pass-and-browser-long-transfer-time/237887)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 5, 2013, 12:01am UTC](https://www.ruby-forum.com/t/nginx-fastcgi-pass-and-browser-long-transfer-time/237887 "2013-12-05T00:01:23Z")

</div>

I’m new to nginx but not to web development. I have the server configured to do almost everything I need … including fastcgi\_pass for Perl on Solaris. When requesting any cgi page the browser displays the standard sta…

---

## [Rewrite or return directives for discuz v3.1](https://www.ruby-forum.com/t/rewrite-or-return-directives-for-discuz-v3-1/237869)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 4, 2013, 9:54pm UTC](https://www.ruby-forum.com/t/rewrite-or-return-directives-for-discuz-v3-1/237869 "2013-12-04T21:54:01Z")

</div>

hello; I want to write a block to put in my VHOST config file. i want if there is “/install/index.php/” in the link. it shouldbe removed from the link. if the format is like /uc\_server/blab.php/uc\_server/blahblah …

---

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

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 9:51pm UTC](https://www.ruby-forum.com/t/ssl-error/237885 "2013-12-04T21:51:05Z")

</div>

we are getting the error SSL Exception: No peer certificate at random . Anyone please help me to torubleshoot it. Can it be because of the high server load? certificates seems to be installed correctly and we see t…

---

## [Windows nginx 1.5.8.1 Caterpillar](https://www.ruby-forum.com/t/windows-nginx-1-5-8-1-caterpillar/237802)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [December 4, 2013, 7:50pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-5-8-1-caterpillar/237802 "2013-12-04T19:50:09Z")

</div>

19:18 30-11-2013: nginx 1.5.8.1 Caterpillar Based on nginx 1.5.8 (29-11-2013) with (mainly bugfixes in add-on’s); Naxsi WAF (Web Application Firewall) v0.53-1 (upgraded) lua-nginx-module v0.9.2 (upgraded 30-11) Stream…

---

## [Nginx - workers segfaulting](https://www.ruby-forum.com/t/nginx-workers-segfaulting/237825)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 11\
**Last updated:** [December 4, 2013, 2:18pm UTC](https://www.ruby-forum.com/t/nginx-workers-segfaulting/237825 "2013-12-04T14:18:15Z")

</div>

Dear All, I’m facing a small problem with NGINX; The workers are segfaulting since 11:20 this morning. From kernel messages I got soemthing like this: nginx\[6888\]: segfault at 8 ip 0000000000426a30 sp 00007fff85c01e70…

---

## [Any config tricks to stop site from framing us?](https://www.ruby-forum.com/t/any-config-tricks-to-stop-site-from-framing-us/237860)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 9\
**Last updated:** [December 3, 2013, 10:57pm UTC](https://www.ruby-forum.com/t/any-config-tricks-to-stop-site-from-framing-us/237860 "2013-12-03T22:57:38Z")

</div>

Yesterday, I discovered that someone had registered a site (basically taking our domain name and adding a word to it) and then framed our whole site in theirs. By that I mean it’s a full iframe job, with no toolbars s…

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

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