# Server

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

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

---

## [Nginx security advisory (CVE-2014-0133)](https://www.ruby-forum.com/t/nginx-security-advisory-cve-2014-0133/239890)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [March 18, 2014, 5:47pm UTC](https://www.ruby-forum.com/t/nginx-security-advisory-cve-2014-0133/239890 "2014-03-18T17:47:41Z")

</div>

Hello! A bug in the experimental SPDY implementation in nginx was found, which might allow an attacker to cause a heap memory buffer overflow in a worker process by using a specially crafted request, potentially resu…

---

## [Why doesn't Nginx rewrite directive support '@' named\_location?](https://www.ruby-forum.com/t/why-doesnt-nginx-rewrite-directive-support-named-location/239885)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 18, 2014, 4:08pm UTC](https://www.ruby-forum.com/t/why-doesnt-nginx-rewrite-directive-support-named-location/239885 "2014-03-18T16:08:59Z")

</div>

Hi, I have a simple question: Why doesn’t Nginx rewrite directive support ‘@’ named\_location? : ) Thanks

---

## [Increasing open files limit](https://www.ruby-forum.com/t/increasing-open-files-limit/239843)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 17, 2014, 6:39am UTC](https://www.ruby-forum.com/t/increasing-open-files-limit/239843 "2014-03-17T06:39:25Z")

</div>

I am trying to increase the limit on open files for nginx. I’ve set cat /proc/sys/fs/file-max to 1000000, set worker\_rlimit\_nofile to 8388608 but I still keep getting errors like: setrlimit(RLIMIT\_NOFILE, 8388608) fa…

---

## [Nginx getting last variables on exploded uri](https://www.ruby-forum.com/t/nginx-getting-last-variables-on-exploded-uri/239822)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 15, 2014, 7:12pm UTC](https://www.ruby-forum.com/t/nginx-getting-last-variables-on-exploded-uri/239822 "2014-03-15T19:12:21Z")

</div>

Where is the problem? I cound not found it. My uri is : /rdev/4/0/9/2/3/2/409232-750-0-257506-supra-ayakkabi-resimleri.jpg Nginx conf is : if ($request\_uri ~\* “/rdev/(.)-(.)-(.)-(.).jpg$”) { set $exp1 $1; set $exp2…

---

## [Secp521r1 removed from 1.4.6](https://www.ruby-forum.com/t/secp521r1-removed-from-1-4-6/239764)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [March 14, 2014, 11:23pm UTC](https://www.ruby-forum.com/t/secp521r1-removed-from-1-4-6/239764 "2014-03-14T23:23:57Z")

</div>

Hi, It seems that secp521r1 has been removed from 1.4.6. Trying to use it in ssl\_ecdh\_curve doesnt work but worked in 1.4.5. Was this just a mistake or is there a reason why it has been removed? Thanks. Posted at Ng…

---

## [TURN/TLS proxy](https://www.ruby-forum.com/t/turn-tls-proxy/239799)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [March 14, 2014, 9:57pm UTC](https://www.ruby-forum.com/t/turn-tls-proxy/239799 "2014-03-14T21:57:18Z")

</div>

Hi, Is it possible to use NGINX to proxy TURN/TLS? TURN is a relay server for WebRTC and it can work with UDP and TCP packets. It feels very similar to Websockets so I wonder if it can work out of the box or if we…

---

## [Seeking for dynamic proxy\_pass solution](https://www.ruby-forum.com/t/seeking-for-dynamic-proxy-pass-solution/239680)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 14, 2014, 7:16pm UTC](https://www.ruby-forum.com/t/seeking-for-dynamic-proxy-pass-solution/239680 "2014-03-14T19:16:05Z")

</div>

Hello, I’d like to achieve something as follow using nginx - When browsing to http://myserver/10.10.21.102 for example, I want proxy\_pass to be set to http://10.10.21.102; Im getting somewhere but still need help, C…

---

## [New to nginx: ssl/sticky/conditional proxying](https://www.ruby-forum.com/t/new-to-nginx-ssl-sticky-conditional-proxying/239759)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 14, 2014, 4:51pm UTC](https://www.ruby-forum.com/t/new-to-nginx-ssl-sticky-conditional-proxying/239759 "2014-03-14T16:51:57Z")

</div>

Good morning all, it was long time i was around with some solution to help me supporting something right now is really complex, but i need to do. Nginx looks like me last solution, so i’ve started with preliminary te…

---

## [Nginx in ubuntu (trusty) 14.04](https://www.ruby-forum.com/t/nginx-in-ubuntu-trusty-14-04/239765)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 14, 2014, 10:13am UTC](https://www.ruby-forum.com/t/nginx-in-ubuntu-trusty-14-04/239765 "2014-03-14T10:13:40Z")

</div>

After upgrading my stack Apache2-Nginx Ubuntu stack to Ubuntu 14.04 beta, I am getting these errors in /var/log/nginx/error.log 2014/03/13 16:11:01 \[emerg\] 14625#0: bind() to 0.0.0.0:80 failed (98: Address already in …

---

## [Ignored Cache-Control request header](https://www.ruby-forum.com/t/ignored-cache-control-request-header/239762)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 14, 2014, 10:11am UTC](https://www.ruby-forum.com/t/ignored-cache-control-request-header/239762 "2014-03-14T10:11:13Z")

</div>

I noticed that the nginx http proxy module by default does nothing with the Cache-Control request header that is sent by browsers. Most browsers (I tested Crome and Firefox, but from my online research it showed tha…

---

## [Logical variables](https://www.ruby-forum.com/t/logical-variables/239783)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 14, 2014, 9:19am UTC](https://www.ruby-forum.com/t/logical-variables/239783 "2014-03-14T09:19:18Z")

</div>

If I pass a variable, set to true via a fastcgi\_param, does it arrive as a logical or string value? If it’s a string, is there a way to pass as a logical true/false? Cheers, Steve

---

## [Re: When to new directives from mainline trickle down to stable?](https://www.ruby-forum.com/t/re-when-to-new-directives-from-mainline-trickle-down-to-stable/239776)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 14, 2014, 1:02am UTC](https://www.ruby-forum.com/t/re-when-to-new-directives-from-mainline-trickle-down-to-stable/239776 "2014-03-14T01:02:54Z")

</div>

Hi John, On Thu, Mar 13, 2014 at 3:34 PM, John R. removed\_email\_address@domain.invalid wrote: Hi! We are currently using the stable release of nginx. We’d really like to implement the sticky directive that was added…

---

## [Guide on switching from distro-provided nginx to nginx built from source?](https://www.ruby-forum.com/t/guide-on-switching-from-distro-provided-nginx-to-nginx-built-from-source/239771)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [March 14, 2014, 12:59am UTC](https://www.ruby-forum.com/t/guide-on-switching-from-distro-provided-nginx-to-nginx-built-from-source/239771 "2014-03-14T00:59:15Z")

</div>

I haven’t been able to find a good guide for people who have been using nginx as installed by their linux distribution who want to switch to using an nginx they built themselves. This comes up a lot with ngx\_pagespee…

---

## [When to new directives from mainline trickle down to stable?](https://www.ruby-forum.com/t/when-to-new-directives-from-mainline-trickle-down-to-stable/239775)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [March 13, 2014, 11:35pm UTC](https://www.ruby-forum.com/t/when-to-new-directives-from-mainline-trickle-down-to-stable/239775 "2014-03-13T23:35:16Z")

</div>

Hi! We are currently using the stable release of nginx. We’d really like to implement the sticky directive that was added to the HTTP Upstream Module in the mainline release in 1.5.7 (Module ngx\_http\_upstream\_module) …

---

## [Include Performance](https://www.ruby-forum.com/t/include-performance/239768)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 13, 2014, 7:04pm UTC](https://www.ruby-forum.com/t/include-performance/239768 "2014-03-13T19:04:52Z")

</div>

Is there any negative performance impact with chaining include commands on nginx? For example, are any of these worse than any of the others from a performance perspective: In nginx.conf: include domain\_config\_1.co…

---

## [Nginx module dev: loadbalancer vs upstream handler options](https://www.ruby-forum.com/t/nginx-module-dev-loadbalancer-vs-upstream-handler-options/239745)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 13, 2014, 5:23pm UTC](https://www.ruby-forum.com/t/nginx-module-dev-loadbalancer-vs-upstream-handler-options/239745 "2014-03-13T17:23:07Z")

</div>

First time here, was looking at supporting http protocol (using nginx) over our custom zeromq server talking protocol buf. Read the excelled tutorial by Evan and was also looking at few similar plugins to get an idea. …

---

## [Cloak a hostname](https://www.ruby-forum.com/t/cloak-a-hostname/239727)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 12, 2014, 3:51pm UTC](https://www.ruby-forum.com/t/cloak-a-hostname/239727 "2014-03-12T15:51:29Z")

</div>

Is it possible assuming I have a domain and uri: http://foo.bar/candy To have the browser location still show http://foo.bar/candy but actually fetch the content from: http://newdomain.com/candy I.E. simply replace…

---

## [Proxy\_store help requested](https://www.ruby-forum.com/t/proxy-store-help-requested/239647)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [March 12, 2014, 12:49pm UTC](https://www.ruby-forum.com/t/proxy-store-help-requested/239647 "2014-03-12T12:49:10Z")

</div>

Hello. I have two nginx instances - let’s call them upstream and downstream. Both are running Ubuntu 13.10 64-bit and nginx 1.4.1. I want to use proxy\_store to mirror some rarely-changing files from upstream to downs…

---

## [Building cache with cURL request](https://www.ruby-forum.com/t/building-cache-with-curl-request/239718)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [March 11, 2014, 7:43pm UTC](https://www.ruby-forum.com/t/building-cache-with-curl-request/239718 "2014-03-11T19:43:25Z")

</div>

I’m trying to build the cache for a certain URL by making a simple cURL request, but it’s not working. Do I need to specify any headers or change any configurations to get this to work? Thanks in advance. Posted at N…

---

## [Some Issues with Configuration](https://www.ruby-forum.com/t/some-issues-with-configuration/239572)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [March 11, 2014, 3:57pm UTC](https://www.ruby-forum.com/t/some-issues-with-configuration/239572 "2014-03-11T15:57:53Z")

</div>

Hi I’ve been having a few problems with configuration of NGINX. No problems with running Apache or Lighttpd on my own Linux box but I’ve been scratching my head over NGINX. When I’ve compiled from source or used the…

---

## [Authentication module help!](https://www.ruby-forum.com/t/authentication-module-help/239636)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 11, 2014, 12:50am UTC](https://www.ruby-forum.com/t/authentication-module-help/239636 "2014-03-11T00:50:11Z")

</div>

Hi, I’m trying to integrate nginx with a proprietary authentication scheme and I need a bit of help! The auth scheme is this: traffic is allowed through nginx if there exists a cookie containing a valid HMAC. If n…

---

## [Fastcgi\_response\_time?](https://www.ruby-forum.com/t/fastcgi-response-time/239679)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 10, 2014, 11:35pm UTC](https://www.ruby-forum.com/t/fastcgi-response-time/239679 "2014-03-10T23:35:24Z")

</div>

Hi I’m using nginx in front of fastcgi servers (fastcgi\_pass …), I would like to have in my logs the response\_time and the fastcgi\_response\_time (which doesn’t exist), is it possible? I’ve tried upstream\_response\_ti…

---

## [Windows nginx 1.5.12.1 Cheshire](https://www.ruby-forum.com/t/windows-nginx-1-5-12-1-cheshire/239668)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [March 9, 2014, 7:59pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-5-12-1-cheshire/239668 "2014-03-09T19:59:39Z")

</div>

13:58 9-3-2014 nginx 1.5.12.1 Cheshire Based on nginx 1.5.12 (9-3-2014) with; Fixed a c99 logging issue in naxsi Now includes nginx\_basic. Need a simple powerful Windows webserver without all the bling of it’s big …

---

## [Memory usage doubles on reload](https://www.ruby-forum.com/t/memory-usage-doubles-on-reload/239590)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [March 7, 2014, 3:40pm UTC](https://www.ruby-forum.com/t/memory-usage-doubles-on-reload/239590 "2014-03-07T15:40:54Z")

</div>

Hello we are running nginx 1.2.7 with this in conf: output\_buffers 5 5m; sendfile off; That works well, BUT if I reload server configuration with nginx -s reload Memory consumptions for few hours(clients use long li…

---

## [How to "Require User" like Apache in Nginx](https://www.ruby-forum.com/t/how-to-require-user-like-apache-in-nginx/239627)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [March 7, 2014, 2:08pm UTC](https://www.ruby-forum.com/t/how-to-require-user-like-apache-in-nginx/239627 "2014-03-07T14:08:32Z")

</div>

Hi all, I was just wondering, how to do the following in nginx: apache.conf: \<Directory /var/www/vhost/aa/htdocs/\> AuthType Basic AuthUserFile /var/www/auth/htpasswd AuthName “pass please” require valid-user Al…

---

## [Nginx - PHP FPM Server load is very high](https://www.ruby-forum.com/t/nginx-php-fpm-server-load-is-very-high/239615)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 7, 2014, 8:57am UTC](https://www.ruby-forum.com/t/nginx-php-fpm-server-load-is-very-high/239615 "2014-03-07T08:57:53Z")

</div>

Hi The server is struggling to handle the traffic. I have 8GB ram. Quad core server. I have changed the config file for nginx and i have default config for php fpm. Please advice the best config. Right now, the lo…

---

## [Map or not map?](https://www.ruby-forum.com/t/map-or-not-map/239611)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 7, 2014, 12:29am UTC](https://www.ruby-forum.com/t/map-or-not-map/239611 "2014-03-07T00:29:49Z")

</div>

Hi, To help with debbuging, I’m adding an header like this (multiple nginx behind a load balancer) add\_header X-Served-By $hostname $hostname are like ‘myserverXX’, how can i put only the XX instead of full $hostnam…

---

## [Vbulletin vbseo rewrite rule](https://www.ruby-forum.com/t/vbulletin-vbseo-rewrite-rule/239529)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 6, 2014, 11:30pm UTC](https://www.ruby-forum.com/t/vbulletin-vbseo-rewrite-rule/239529 "2014-03-06T23:30:21Z")

</div>

hi, i try to convert theses rules from apache for vbseo vbulletin, but got 404 errors How to convert theses rules for nginx ? RewriteEngine On RewriteBase /forum/ RewriteRule ^\[^/\]+/.±(\[0-9\]+).html$ vbseo.php?vbs…

---

## [Advice on max\_ranges for specific location block](https://www.ruby-forum.com/t/advice-on-max-ranges-for-specific-location-block/239605)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 6, 2014, 11:23pm UTC](https://www.ruby-forum.com/t/advice-on-max-ranges-for-specific-location-block/239605 "2014-03-06T23:23:40Z")

</div>

Hi, Hopefully this question isn’t too basic, I just want to check if I’m missing something obvious. I’m setting up a basic nginx installation with php-fpm behind it running on 127.0.0.1:9000 - that’s working fine. …

---

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

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 6, 2014, 7:12pm UTC](https://www.ruby-forum.com/t/redirect-host/239610 "2014-03-06T19:12:07Z")

</div>

I have a question, is this the best way to perform this action? Only allow https://webmail.exampel.com in the server block ssl and redirect any host that isn’t webmail.example.com to the example.com if ($host !~\* ‘we…

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

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