# Server

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

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

---

## [NGINX timeout issue](https://www.ruby-forum.com/t/nginx-timeout-issue/237840)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 3, 2013, 11:10am UTC](https://www.ruby-forum.com/t/nginx-timeout-issue/237840 "2013-12-03T11:10:20Z")

</div>

Hi all, We are using nginx as proxy server in all our production deployment. The nginx server proxy the http request to Amazon ELB (elastic load balancer) using upstream module. Currently we are seeing timeout issues …

---

## [NGINX 500 http error](https://www.ruby-forum.com/t/nginx-500-http-error/237480)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [December 3, 2013, 10:21am UTC](https://www.ruby-forum.com/t/nginx-500-http-error/237480 "2013-12-03T10:21:49Z")

</div>

Hi, I have a lot of 500 http error in nginx access.log. I think it’s due to the number of requests that nginx receives. Because when I was testing the configuration with one ip adress I don’t have this error but wh…

---

## [Sanitize "invalid UTF-8 byte sequence"](https://www.ruby-forum.com/t/sanitize-invalid-utf-8-byte-sequence/237838)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 3, 2013, 10:03am UTC](https://www.ruby-forum.com/t/sanitize-invalid-utf-8-byte-sequence/237838 "2013-12-03T10:03:42Z")

</div>

Hi I’m getting forged requests with invalid UTF-8 byte sequences on my Rails app which is served with Nginx/Passenger. Is there a way to have Nginx sanitize requests before they are passed to Passenger? Thanks for y…

---

## [Session cache](https://www.ruby-forum.com/t/session-cache/237820)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [December 3, 2013, 7:58am UTC](https://www.ruby-forum.com/t/session-cache/237820 "2013-12-03T07:58:02Z")

</div>

Hi, could anybody say, may i cache dynamic content for sessions isolate from eache other ? I have very hard sql, but it is show some results which very variative for users, but some times users call this script many …

---

## [Ngx\_http\_redis-0.3.7 released](https://www.ruby-forum.com/t/ngx-http-redis-0-3-7-released/237823)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 2, 2013, 6:11pm UTC](https://www.ruby-forum.com/t/ngx-http-redis-0-3-7-released/237823 "2013-12-02T18:11:57Z")

</div>

ngx\_http\_redis module version 0.3.7 released, available for immediate download at http://people.freebsd.org/~osa/ngx\_http\_redis-0.3.7.tar.gz \*) Bugfix: ngx\_http\_redis\_module might issue the error message “redis sent …

---

## [Fastcgi\_buffering and caching from FastCGI server](https://www.ruby-forum.com/t/fastcgi-buffering-and-caching-from-fastcgi-server/237816)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 2, 2013, 2:45pm UTC](https://www.ruby-forum.com/t/fastcgi-buffering-and-caching-from-fastcgi-server/237816 "2013-12-02T14:45:38Z")

</div>

Hi, devel team! Playing with caching responses from FCGI server I’ve found not documented issue. When fastcgi\_buffering is “off”, then fastcgi\_cache doesn’t work. Yes, this is logical completely, but I think would be …

---

## [Dynamic request rate throttling](https://www.ruby-forum.com/t/dynamic-request-rate-throttling/237818)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 2, 2013, 11:00am UTC](https://www.ruby-forum.com/t/dynamic-request-rate-throttling/237818 "2013-12-02T11:00:07Z")

</div>

Hello, I wish I could send a notification to nginx to dynamically limit the request rate per second. Say I use the request rate module, i would like to be able to override dynamically this setting. How would I do t…

---

## [Nginx/iptables passing ipclient ip](https://www.ruby-forum.com/t/nginx-iptables-passing-ipclient-ip/237793)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 30, 2013, 12:22pm UTC](https://www.ruby-forum.com/t/nginx-iptables-passing-ipclient-ip/237793 "2013-11-30T12:22:33Z")

</div>

Hi, I have nginx reverse proxy setup on a ubuntu server to pass to webservers… Setup… Ubuntu-nginx eth1 = external\_ ip eth0 = internal\_ ip Webserver 1 ip XX1 webserver 2 ip XX2 nginx is forwarding traffic to web…

---

## [New to web](https://www.ruby-forum.com/t/new-to-web/237789)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 30, 2013, 12:28am UTC](https://www.ruby-forum.com/t/new-to-web/237789 "2013-11-30T00:28:23Z")

</div>

Hi guys i’m very new to web dev, and getting started with nginx i just wanted to ask a few things. Location blocks. Is the idea here to have as many location blocks as you have web pages? if a location has many files …

---

## [Nginx fastcgi\_next\_upstream off doesn't work](https://www.ruby-forum.com/t/nginx-fastcgi-next-upstream-off-doesnt-work/237784)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 29, 2013, 2:36pm UTC](https://www.ruby-forum.com/t/nginx-fastcgi-next-upstream-off-doesnt-work/237784 "2013-11-29T14:36:05Z")

</div>

nginx/1.5.4 location / { … fastcgi\_pass bg; fastcgi\_next\_upstream off; … } upstream bg { server unix:/tmp/dsp.1.sock; server unix:/tmp/dsp.2.sock; server unix:/tmp/dsp.3.sock; server unix:/tmp/dsp.4.sock; serve…

---

## [Nginx fastcgi\_intercept\_errors](https://www.ruby-forum.com/t/nginx-fastcgi-intercept-errors/237783)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [November 29, 2013, 2:06pm UTC](https://www.ruby-forum.com/t/nginx-fastcgi-intercept-errors/237783 "2013-11-29T14:06:16Z")

</div>

nginx/1.5.4 doesnt intercept fastcgi errors. location / { … fastcgi\_pass bg; error\_page 500 502 503 504 408 404 =204 /204.htm; fastcgi\_intercept\_errors on; … } However in root location access log we still see 91…

---

## [Service availability during reload](https://www.ruby-forum.com/t/service-availability-during-reload/237782)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 29, 2013, 1:28pm UTC](https://www.ruby-forum.com/t/service-availability-during-reload/237782 "2013-11-29T13:28:52Z")

</div>

Hello In an apache webserver with many virtual hosts, a “reload” command can cause a (quick) unavailability of the service while apache re-reads its configuration files. Does anyone have any experience with this on N…

---

## [Bandwidth limiting per virtualhost](https://www.ruby-forum.com/t/bandwidth-limiting-per-virtualhost/226715)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [November 29, 2013, 2:26am UTC](https://www.ruby-forum.com/t/bandwidth-limiting-per-virtualhost/226715 "2013-11-29T02:26:22Z")

</div>

Hi guys, I am managing a high traffic website. I have some embedded images that get a lot of traffic, and i would like to separate the traffic for the embeds, and the images that are viewed from the site on 2 virtual …

---

## [How to allow 404 server error to propagate to the user](https://www.ruby-forum.com/t/how-to-allow-404-server-error-to-propagate-to-the-user/237768)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 28, 2013, 2:26pm UTC](https://www.ruby-forum.com/t/how-to-allow-404-server-error-to-propagate-to-the-user/237768 "2013-11-28T14:26:20Z")

</div>

I am currently raising a 404 error from the backend server (running on port 9000), but nginx, instead of giving the client the same 404 error, responds with a 505, but still send the body of the response that is retu…

---

## [Re: redirect url in nginx](https://www.ruby-forum.com/t/re-redirect-url-in-nginx/237767)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 28, 2013, 1:37pm UTC](https://www.ruby-forum.com/t/re-redirect-url-in-nginx/237767 "2013-11-28T13:37:15Z")

</div>

Witam, Sorry, but solutions that you send to me isn’t working. Any more idea’s? Marcin Kasiski mobile: (+48) 512 - 370 - 209 skype: marcin-kasinski GG: 1258720 JabberID: removed\_email\_address@domain.invalid mail: …

---

## [Disable hotlinking protection for specific file!](https://www.ruby-forum.com/t/disable-hotlinking-protection-for-specific-file/237764)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 28, 2013, 9:56am UTC](https://www.ruby-forum.com/t/disable-hotlinking-protection-for-specific-file/237764 "2013-11-28T09:56:24Z")

</div>

Hello, The root directory path is /var/www/html/domain and every file within it is hotlink protected for (mp4). Now here’s a file named /var/www/html/domain/videos/test.mp4 and i want this file to be available f…

---

## [How can I use IOCP module on windows?](https://www.ruby-forum.com/t/how-can-i-use-iocp-module-on-windows/237762)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 28, 2013, 9:53am UTC](https://www.ruby-forum.com/t/how-can-i-use-iocp-module-on-windows/237762 "2013-11-28T09:53:28Z")

</div>

Hi there, Can I use iocp module (ngx\_iocp\_module.c) ? If possible, how can I configure it? Could anyone knows about it? Posted at Nginx Forum:

---

## [Need to compare client certificate CN with an entry in /etc/hosts](https://www.ruby-forum.com/t/need-to-compare-client-certificate-cn-with-an-entry-in-etc-hosts/237726)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [November 28, 2013, 12:07am UTC](https://www.ruby-forum.com/t/need-to-compare-client-certificate-cn-with-an-entry-in-etc-hosts/237726 "2013-11-28T00:07:54Z")

</div>

I am a newbie to Nginx. We plan to use nginx as a reverse proxy to tomcat and node js on our systems. We plan to use MTLS to secure server to server communication (between nginx on different servers). An additional re…

---

## [Redirect url in nginx](https://www.ruby-forum.com/t/redirect-url-in-nginx/237756)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 27, 2013, 8:46pm UTC](https://www.ruby-forum.com/t/redirect-url-in-nginx/237756 "2013-11-27T20:46:22Z")

</div>

Hello, I have a problem with redirect url in nginx. I want to redirect http://almelle.atmserv.pl/poczatek na http://almelle.atmserv.pl/index.php?cat=poczatek In vhost conf file I have: server { listen 80; ## …

---

## [Compiled nginx doesn't work with PHP](https://www.ruby-forum.com/t/compiled-nginx-doesnt-work-with-php/237741)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 27, 2013, 6:57pm UTC](https://www.ruby-forum.com/t/compiled-nginx-doesnt-work-with-php/237741 "2013-11-27T18:57:08Z")

</div>

Hello there, I have posted this question on stackoverflow already but thought this place would be more appropriate. I have a properly installed (apt-get) nginx that works perfectly with html and php (php5-fpm) but w…

---

## [Is there a compile version NGINX RTMP for Windows](https://www.ruby-forum.com/t/is-there-a-compile-version-nginx-rtmp-for-windows/237736)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 27, 2013, 3:22pm UTC](https://www.ruby-forum.com/t/is-there-a-compile-version-nginx-rtmp-for-windows/237736 "2013-11-27T15:22:42Z")

</div>

I am very new to NGINX, actually just came across it the other day but have been reading alot about it. Is there a compiled version with rtmp streaming for windows available. I know I can download the tools and fil…

---

## [Session is not kept when using Chrome, works for Firefox and IE](https://www.ruby-forum.com/t/session-is-not-kept-when-using-chrome-works-for-firefox-and-ie/237744)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 27, 2013, 1:14pm UTC](https://www.ruby-forum.com/t/session-is-not-kept-when-using-chrome-works-for-firefox-and-ie/237744 "2013-11-27T13:14:07Z")

</div>

I have the following config…: server { listen 80; server\_name site.example.com; access\_log /var/log/nginx/site.example.com\_access.log main; location / { rewrite ^ http://site.example.com/webapp; } location /…

---

## [Any rough ETA on SPDY/3 & push?](https://www.ruby-forum.com/t/any-rough-eta-on-spdy-3-push/236958)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 8\
**Last updated:** [November 26, 2013, 9:43pm UTC](https://www.ruby-forum.com/t/any-rough-eta-on-spdy-3-push/236958 "2013-11-26T21:43:57Z")

</div>

Contemplating switching my site over to Jetty to take advantage of spdy/3 and push, but would rather stay with nginx really… Is there a “rough” ETA on spdy3 in nginx? 1 month? 6 months? 2 years? Thanks, sorry if t…

---

## [Blank page on some micro-cached pages](https://www.ruby-forum.com/t/blank-page-on-some-micro-cached-pages/237671)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [November 25, 2013, 9:46pm UTC](https://www.ruby-forum.com/t/blank-page-on-some-micro-cached-pages/237671 "2013-11-25T21:46:06Z")

</div>

Running Nginx 1.5.7 on Freebsd 9.1 with php-pfm 5.5.3 a wordpress site is “micro-cached” , but for some strange reason and not always , some pages ( wordpress post or pages even 3 or 7 days after their publication) …

---

## [Merge\_slashes and decoding of the path](https://www.ruby-forum.com/t/merge-slashes-and-decoding-of-the-path/237703)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 25, 2013, 6:49pm UTC](https://www.ruby-forum.com/t/merge-slashes-and-decoding-of-the-path/237703 "2013-11-25T18:49:06Z")

</div>

On my site, I accept full URL-encoded URLs as part of the path, for example: http://www.mysite.com/search/http%3A%2F%2Fexample.com%2F I recently moved my site to nginx and I found that it was decoding and collapsing …

---

## [Compile NGINX with Openssl statically](https://www.ruby-forum.com/t/compile-nginx-with-openssl-statically/237652)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 25, 2013, 5:04pm UTC](https://www.ruby-forum.com/t/compile-nginx-with-openssl-statically/237652 "2013-11-25T17:04:27Z")

</div>

Hi members… I need your help. I’m trying to compile NGINX 1.4.4 with openssl 1.0.1e statically but the make process fail. Step 1: ./configure --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf –sbin-path=/usr/bi…

---

## [Headers at the html page](https://www.ruby-forum.com/t/headers-at-the-html-page/237682)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 25, 2013, 3:21pm UTC](https://www.ruby-forum.com/t/headers-at-the-html-page/237682 "2013-11-25T15:21:01Z")

</div>

Hello All, I have erlang web application with cowboy web server and i launched it behind nginx reverse proxy. My nginx configuration: server { listen 9090; location /test { proxy\_pass http://localhost:8080; proxy…

---

## [Access\_log both compressed and uncompressed](https://www.ruby-forum.com/t/access-log-both-compressed-and-uncompressed/237690)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [November 25, 2013, 3:05pm UTC](https://www.ruby-forum.com/t/access-log-both-compressed-and-uncompressed/237690 "2013-11-25T15:05:14Z")

</div>

In my “vhost” declaration I have: access\_log /WEBSITE\_DIR/logs/access.log.gz combined gzip; Problem is I get 2 files, an access.log.gz and an access.log Why? I want just the .log.gz one…

---

## [Abstract behavior of nginx](https://www.ruby-forum.com/t/abstract-behavior-of-nginx/237651)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 25, 2013, 2:32pm UTC](https://www.ruby-forum.com/t/abstract-behavior-of-nginx/237651 "2013-11-25T14:32:31Z")

</div>

Hi, I can’t understand behavior of nginx. Version 1.2.1 on Debian Wheezy from official repository. I send requests to cdn.some\_domain.pl server, and in log /var/log/nginx/cdn.some\_domain.pl/test.log I see: image/gif…

---

## [Clean-URL rewrite rule with nested "location" and alias directive](https://www.ruby-forum.com/t/clean-url-rewrite-rule-with-nested-location-and-alias-directive/237572)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 13\
**Last updated:** [November 24, 2013, 10:32pm UTC](https://www.ruby-forum.com/t/clean-url-rewrite-rule-with-nested-location-and-alias-directive/237572 "2013-11-24T22:32:20Z")

</div>

Hi! I am attempting to serve a staging website from a directory that is outside of the web-server’s document root, while at the same time making the site accessible at a URL that “appears” to be a subdirectory of the …

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

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