# Server

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

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

---

## [Nginx using with https :(](https://www.ruby-forum.com/t/nginx-using-with-https/231777)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 11\
**Last updated:** [August 31, 2014, 6:18am UTC](https://www.ruby-forum.com/t/nginx-using-with-https/231777 "2014-08-31T06:18:36Z")

</div>

When i open my Website with https:// I become a Download with a Binary file :frowning: In the Binary File is my Website xD. The Certificate are accept by my Browser but it don’t work. Also I become a 404 Message and …

---

## [Proxy\_connect\_timeout maximum](https://www.ruby-forum.com/t/proxy-connect-timeout-maximum/231774)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 31, 2014, 3:31am UTC](https://www.ruby-forum.com/t/proxy-connect-timeout-maximum/231774 "2014-08-31T03:31:24Z")

</div>

Hello, I am receiving “upstream timed out (110: Connection timed out) while connecting to upstream, client” errors. They are comet calls and I wonder if increasing the proxy\_connect\_timeout will help. i have increa…

---

## [Patch for mp4\_limit\_rate + mp4\_limit\_rate\_after](https://www.ruby-forum.com/t/patch-for-mp4-limit-rate-mp4-limit-rate-after/231773)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 29, 2014, 7:22pm UTC](https://www.ruby-forum.com/t/patch-for-mp4-limit-rate-mp4-limit-rate-after/231773 "2014-08-29T19:22:47Z")

</div>

This patch adds two features: mp4\_limit\_rate 1.1; # multiplied by average bitrage mp4\_limit\_rate\_after 15s; # time http://doppelbauer.name/nginx-1.6.1-mp4\_limit\_rate.patch Posted at Nginx Forum:

---

## [Windows nginx 1.7.5.2 WhiteRabbit](https://www.ruby-forum.com/t/windows-nginx-1-7-5-2-whiterabbit/231645)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 28, 2014, 12:31pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-7-5-2-whiterabbit/231645 "2014-08-28T12:31:30Z")

</div>

22:40 20-8-2014 nginx 1.7.5.2 WhiteRabbit Based on nginx 1.7.5 (20-8-2014, last changeset 5809:bb26f7ceaaf1) with; ngx\_upstream\_jdomain (GitHub - wdaike/ngx\_upstream\_jdomain: An asynchronous domain name resolve module…

---

## [Error when configuring reverse proxy to HTTPs](https://www.ruby-forum.com/t/error-when-configuring-reverse-proxy-to-https/231746)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 27, 2014, 9:30pm UTC](https://www.ruby-forum.com/t/error-when-configuring-reverse-proxy-to-https/231746 "2014-08-27T21:30:56Z")

</div>

Hi All, I’m trying to configure a reverse proxy in Nginx, which receives a HTTP request and call a HTTPS URL. When we change the config to call a HTTP it works fine, however it doesn’t work with HTTPS. The http\_ssl\_m…

---

## [Aio breaks spdy](https://www.ruby-forum.com/t/aio-breaks-spdy/231571)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 27, 2014, 7:24pm UTC](https://www.ruby-forum.com/t/aio-breaks-spdy/231571 "2014-08-27T19:24:43Z")

</div>

Hi I have been tracing an issue for the past couple of days and have narrowed down the case to when spdy is being used with aio Testing using a 1GB file download in chrome and firefox, http and https download as norm…

---

## [Combining proxy\_store and proxy\_cache values!](https://www.ruby-forum.com/t/combining-proxy-store-and-proxy-cache-values/231739)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 27, 2014, 7:19pm UTC](https://www.ruby-forum.com/t/combining-proxy-store-and-proxy-cache-values/231739 "2014-08-27T19:19:14Z")

</div>

Hi, I am using proxy\_store on edge server to replicate mp4 files from origin server when user request for the video file. The reason i am not using proxy\_cache is, when user seeks through the mp4 video,proxy\_cache ke…

---

## [Custom error pages for retun directive](https://www.ruby-forum.com/t/custom-error-pages-for-retun-directive/231719)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 27, 2014, 5:02am UTC](https://www.ruby-forum.com/t/custom-error-pages-for-retun-directive/231719 "2014-08-27T05:02:12Z")

</div>

It is not possible to set custom error page. For example /usr/share/nginx/404.html contains “test”: server { error\_page 404 /404.html; if ($request\_method = “GET”) return 404; } location / { proxy\_pass http://loc…

---

## [Can't get https to work](https://www.ruby-forum.com/t/cant-get-https-to-work/231732)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 27, 2014, 12:30am UTC](https://www.ruby-forum.com/t/cant-get-https-to-work/231732 "2014-08-27T00:30:10Z")

</div>

I’m trying Nginx with Django on my localhost. I “Include” a django.conf in my main nginx.conf and in this included conf the “server” “listens” for both http & https and sends either requests upstream to django. My bro…

---

## [Help with 1.6.0-1~precise](https://www.ruby-forum.com/t/help-with-1-6-0-1-precise/231730)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 26, 2014, 8:15pm UTC](https://www.ruby-forum.com/t/help-with-1-6-0-1-precise/231730 "2014-08-26T20:15:03Z")

</div>

I’m trying to troubleshoot an issue with existing servers vs new servers for one of my environments, and one of the only differences I’ve stumbled across is a version bump in nginx. Older servers are running 1.6.0-1~p…

---

## [Nginx Windows | Keepalive timeouts location based](https://www.ruby-forum.com/t/nginx-windows-keepalive-timeouts-location-based/231729)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 26, 2014, 7:02pm UTC](https://www.ruby-forum.com/t/nginx-windows-keepalive-timeouts-location-based/231729 "2014-08-26T19:02:25Z")

</div>

I can’t tell if this is working or not so i thought i would just ask and perhaps someone can inform me but with nginx keep alive timeouts can we set different timeout values per each location or file type being access…

---

## [Image serving via nginx are too slow, why?](https://www.ruby-forum.com/t/image-serving-via-nginx-are-too-slow-why/231714)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 9\
**Last updated:** [August 26, 2014, 11:24am UTC](https://www.ruby-forum.com/t/image-serving-via-nginx-are-too-slow-why/231714 "2014-08-26T11:24:19Z")

</div>

Hello, Before posting, i’ve done a lot of google search, and i found other similar issue without any solutions. So, Why nginx is slow serving files in my case ? Part 1. The hardware Intel Xeon E5-1620v2 4c/8t 3,7 G…

---

## [Change client\_body\_timeout status code](https://www.ruby-forum.com/t/change-client-body-timeout-status-code/231528)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 25, 2014, 8:38pm UTC](https://www.ruby-forum.com/t/change-client-body-timeout-status-code/231528 "2014-08-25T20:38:45Z")

</div>

Hi, I’m using client\_body\_timeout which returns a 408 or 503 status code, not sure. The thing is that I need this to be intercepted, somehow, and to change this status code to some ohter particular code. I wonder …

---

## [Big dispersion in requests execution time](https://www.ruby-forum.com/t/big-dispersion-in-requests-execution-time/231618)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 25, 2014, 7:58pm UTC](https://www.ruby-forum.com/t/big-dispersion-in-requests-execution-time/231618 "2014-08-25T19:58:29Z")

</div>

Hi, I faced the following problem. Our server works under the constant load of 300-400 requests per second. From request execution time statistics I see that in some cases “fast” request(that normally executes in fe…

---

## [Hello - and missing verification of configuration format / very tiny mem leak in limit\_req config](https://www.ruby-forum.com/t/hello-and-missing-verification-of-configuration-format-very-tiny-mem-leak-in-limit-req-config/231694)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 25, 2014, 6:28pm UTC](https://www.ruby-forum.com/t/hello-and-missing-verification-of-configuration-format-very-tiny-mem-leak-in-limit-req-config/231694 "2014-08-25T18:28:42Z")

</div>

Hi, My name is Martin. I am new to this list (obvious), and new to nginx as well. I hope this is the right place for the feedback I have, if not please correct me. Well the below may be for the bugtracker. Except: It…

---

## [Nginx permission denied for upstream unix socket](https://www.ruby-forum.com/t/nginx-permission-denied-for-upstream-unix-socket/231710)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 25, 2014, 4:26pm UTC](https://www.ruby-forum.com/t/nginx-permission-denied-for-upstream-unix-socket/231710 "2014-08-25T16:26:49Z")

</div>

Hi, I’m running nginx under CentOS 7 as a local proxy for a puppetmaster. I get the following error for every agent trying to connect to the master: "\[crit\] 8543#0: \*13 connect() to unix:/var/run/puppet/puppetmaster\_…

---

## [Where to store global settings in filter](https://www.ruby-forum.com/t/where-to-store-global-settings-in-filter/231705)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 25, 2014, 3:21pm UTC](https://www.ruby-forum.com/t/where-to-store-global-settings-in-filter/231705 "2014-08-25T15:21:13Z")

</div>

Hi All: I have some settings in a json file (not in nginx.conf file), Currently, in my module filter function, I will open file, read file, close file every time filter function is called. I think this is not so good…

---

## [Nginx is too strict about accept-ranges](https://www.ruby-forum.com/t/nginx-is-too-strict-about-accept-ranges/231709)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 25, 2014, 3:08pm UTC](https://www.ruby-forum.com/t/nginx-is-too-strict-about-accept-ranges/231709 "2014-08-25T15:08:57Z")

</div>

Hi I am using nginx to proxy/cache requests from different origin servers, some of which I don’t have access to (can’t change their behaviour). Recently I stumbled upon a problem where nginx wouldn’t serve partial o…

---

## [How to configure rewrites or security download hashed link with expiration date](https://www.ruby-forum.com/t/how-to-configure-rewrites-or-security-download-hashed-link-with-expiration-date/231699)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 24, 2014, 10:47am UTC](https://www.ruby-forum.com/t/how-to-configure-rewrites-or-security-download-hashed-link-with-expiration-date/231699 "2014-08-24T10:47:47Z")

</div>

Hi i have a video publishing website and have tons of “.mp4” videos in my website. I want to use hashing . But i couldn’t understand documentation how to use this configuration. My first question : Is it possible to …

---

## [Rewrite directory lookup to another directory](https://www.ruby-forum.com/t/rewrite-directory-lookup-to-another-directory/231696)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 24, 2014, 7:06am UTC](https://www.ruby-forum.com/t/rewrite-directory-lookup-to-another-directory/231696 "2014-08-24T07:06:09Z")

</div>

Hello All, I am trying to add a rewrite rule to my nginx configuration. But each time it is giving me 404/302 error. My scenarios is given below If someone request URL http://192.168.44.163/testa or http://192.168.…

---

## [Use of boringssl equal-preference cipher groups with nginx](https://www.ruby-forum.com/t/use-of-boringssl-equal-preference-cipher-groups-with-nginx/231595)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 24, 2014, 12:38am UTC](https://www.ruby-forum.com/t/use-of-boringssl-equal-preference-cipher-groups-with-nginx/231595 "2014-08-24T00:38:04Z")

</div>

Hi, I have successfully compiled nginx/1.7.4 with boringssl. One thing I am not sure if it’s possible already is to take advantage of equal-preference cipher groups that Boringssl supports. For reference: https://www…

---

## [Documentation of limit\_req](https://www.ruby-forum.com/t/documentation-of-limit-req/231695)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 23, 2014, 8:55pm UTC](https://www.ruby-forum.com/t/documentation-of-limit-req/231695 "2014-08-23T20:55:33Z")

</div>

About Module ngx\_http\_limit\_req\_module It does not specify anything about inheritance. It appears (from reading sources) that limit\_req are inherited only, if no new limit\_req are specified. This is the same as for pr…

---

## [Range request not working for gzipped content](https://www.ruby-forum.com/t/range-request-not-working-for-gzipped-content/231682)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 23, 2014, 1:44am UTC](https://www.ruby-forum.com/t/range-request-not-working-for-gzipped-content/231682 "2014-08-23T01:44:23Z")

</div>

I found that whenever Content-Encoding: gzip is on. Nginx will return 200 instead of 206. When gzip is off, nginx will return range request normally. Is that the expected behavior for nginx? Thanks Don Posted at N…

---

## [Unable to install nginx via nginx.org repo with centos7](https://www.ruby-forum.com/t/unable-to-install-nginx-via-nginx-org-repo-with-centos7/231676)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 22, 2014, 9:59pm UTC](https://www.ruby-forum.com/t/unable-to-install-nginx-via-nginx-org-repo-with-centos7/231676 "2014-08-22T21:59:02Z")

</div>

Hi guys, I’m running a fresh installed CentOS7 and added your repo via http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm I get the following issue if I try to install the nginx…

---

## [Measure ram consumed by Nginx proxy cache](https://www.ruby-forum.com/t/measure-ram-consumed-by-nginx-proxy-cache/231679)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 22, 2014, 7:37pm UTC](https://www.ruby-forum.com/t/measure-ram-consumed-by-nginx-proxy-cache/231679 "2014-08-22T19:37:00Z")

</div>

Hi folks: I am currently investigating performance of our production Nginx instances. Our architecture is a Nginx process in front of 8 node.js workers. As the memory is running low, we want to determine the RAM cons…

---

## [Frequent lockups in Nginx/php-fpm after move from Apache/mod\_php](https://www.ruby-forum.com/t/frequent-lockups-in-nginx-php-fpm-after-move-from-apache-mod-php/231675)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 22, 2014, 3:37pm UTC](https://www.ruby-forum.com/t/frequent-lockups-in-nginx-php-fpm-after-move-from-apache-mod-php/231675 "2014-08-22T15:37:26Z")

</div>

I moved hosting of roughly 150 Wordpress sites from Apache/mod\_php to Nginx/php-fpm after having tested and found measurably better performance with Nginx. (hosted on Centos 6/7) The first problem I ran into was that…

---

## [Memory increase at reload](https://www.ruby-forum.com/t/memory-increase-at-reload/231659)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 21, 2014, 8:21pm UTC](https://www.ruby-forum.com/t/memory-increase-at-reload/231659 "2014-08-21T20:21:49Z")

</div>

Hi, I’ve written an nginx module that creates a few large data structures at initialization time. These data structures are part of the location configuration for that module. Whenever I do a reload, these data struc…

---

## [Map Nginx Query String](https://www.ruby-forum.com/t/map-nginx-query-string/231652)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 21, 2014, 1:34pm UTC](https://www.ruby-forum.com/t/map-nginx-query-string/231652 "2014-08-21T13:34:47Z")

</div>

I have a webapp e.g example.com is mapped with some embedded url in nginx. server { location / { set $args id=201; try\_files $uri $uri/ $uri/index.php /index.php; } } When I visit my site example.com and example…

---

## [Map Nginx Query String](https://www.ruby-forum.com/t/map-nginx-query-string/231651)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 21, 2014, 1:34pm UTC](https://www.ruby-forum.com/t/map-nginx-query-string/231651 "2014-08-21T13:34:10Z")

</div>

I have a webapp e.g example.com which is mapped with embedded url in nginx. server { location / { set $args id=201; try\_files $uri $uri/ $uri/index.php /index.php; } } When I visit my site example.com and exampl…

---

## [PHP to Apache - Friendly URLs fail with VBulletin](https://www.ruby-forum.com/t/php-to-apache-friendly-urls-fail-with-vbulletin/231646)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 21, 2014, 12:39pm UTC](https://www.ruby-forum.com/t/php-to-apache-friendly-urls-fail-with-vbulletin/231646 "2014-08-21T12:39:58Z")

</div>

I’m using nginx for all static web content and forward all PHP requests to Apache. This works great when I type e.g. Domain.com. However, vbulletin will convert any link to e.g.: http://domain.com/threads/threadtopic …

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

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