# Server

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

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

---

## [$memcached\_key doesn't fetch unicode url](https://www.ruby-forum.com/t/memcached-key-doesnt-fetch-unicode-url/240875)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 9, 2014, 10:58am UTC](https://www.ruby-forum.com/t/memcached-key-doesnt-fetch-unicode-url/240875 "2014-05-09T10:58:32Z")

</div>

Hi, I’m doing some sort of downstream cache that I save every entire page into memcached from the application with urls such as: www.example.com/file/path/?query=1 then I’m fetching them from nginx if available with…

---

## [Proxying of POST requests based on $args not working](https://www.ruby-forum.com/t/proxying-of-post-requests-based-on-args-not-working/241012)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 9, 2014, 9:29am UTC](https://www.ruby-forum.com/t/proxying-of-post-requests-based-on-args-not-working/241012 "2014-05-09T09:29:18Z")

</div>

Hi, The proxying of GET requests on $args i.e. feedid=293634 goes to server2 properly. But proxying of POST requests on $args i.e. feedid=293634 always goes to server1 instead of server2. Following is configuration… …

---

## [Struggling with configuration](https://www.ruby-forum.com/t/struggling-with-configuration/241001)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 9, 2014, 8:30am UTC](https://www.ruby-forum.com/t/struggling-with-configuration/241001 "2014-05-09T08:30:55Z")

</div>

Hi I am porting some stuff that I had working under Apache to now run under Nginx and I have a particular case that I don’t know how to deal with. I have a physical directory structure like this dev/ dev/myapp/ dev…

---

## [Nginx hotlinking protection issue with wildcards!](https://www.ruby-forum.com/t/nginx-hotlinking-protection-issue-with-wildcards/241004)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 9, 2014, 8:05am UTC](https://www.ruby-forum.com/t/nginx-hotlinking-protection-issue-with-wildcards/241004 "2014-05-09T08:05:43Z")

</div>

hello, I am using hotlinking protection for mp4 files but found that whenever i use wildcard in hot-linking, it doesn’t work properly and videos even play on the domain where it doesn’t suppose to be buffer. My mp…

---

## [Nginx receiving bytes from Amazon ELB (Performance Issue)](https://www.ruby-forum.com/t/nginx-receiving-bytes-from-amazon-elb-performance-issue/240949)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [May 9, 2014, 4:47am UTC](https://www.ruby-forum.com/t/nginx-receiving-bytes-from-amazon-elb-performance-issue/240949 "2014-05-09T04:47:12Z")

</div>

I have a service in my java application that I get the id of an image, height and width. I do image resizing according to the provided dimensions and return the bytes. As I am using a nginx in front of application se…

---

## [Age header support](https://www.ruby-forum.com/t/age-header-support/241002)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 9, 2014, 4:12am UTC](https://www.ruby-forum.com/t/age-header-support/241002 "2014-05-09T04:12:43Z")

</div>

Hi Is Age header support on a roadmap for the forseeable future? I am mainly looking at the upstream side (and I saw there was a discussion in the developer zone a few months back) but it would be great to have full…

---

## [Configuring for video seeking? - using projekktor media player](https://www.ruby-forum.com/t/configuring-for-video-seeking-using-projekktor-media-player/240999)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 9, 2014, 3:47am UTC](https://www.ruby-forum.com/t/configuring-for-video-seeking-using-projekktor-media-player/240999 "2014-05-09T03:47:34Z")

</div>

i am creating a plugin for the elgg open source social networking framework, that adds the projekktor media player (http://www.projekktor.com/) to elgg. i am so far unable to get projekktor to seek video/audio files …

---

## [Proxy\_buffer\_size values are honored even if proxy\_buffering is off](https://www.ruby-forum.com/t/proxy-buffer-size-values-are-honored-even-if-proxy-buffering-is-off/240879)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 9, 2014, 3:26am UTC](https://www.ruby-forum.com/t/proxy-buffer-size-values-are-honored-even-if-proxy-buffering-is-off/240879 "2014-05-09T03:26:05Z")

</div>

At the Module ngx\_http\_proxy\_module, the documentation implies that the configuration proxy\_buffer\_size , proxy\_buffers and proxy\_busy\_buffers will be honored only when proxy\_buffering is turned on. I had been seei…

---

## [Problem with ECC certificates](https://www.ruby-forum.com/t/problem-with-ecc-certificates/240873)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 9, 2014, 3:06am UTC](https://www.ruby-forum.com/t/problem-with-ecc-certificates/240873 "2014-05-09T03:06:26Z")

</div>

Hi, I’m having some strange issues using nginx 1.6 with ECC certs. Handshakes fail for clients using TLSv1.2 and SNI but only if the requested server block is not the default\_server. The config looks like this: http…

---

## [Cache Hit Latency for large responses](https://www.ruby-forum.com/t/cache-hit-latency-for-large-responses/240822)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 9, 2014, 2:59am UTC](https://www.ruby-forum.com/t/cache-hit-latency-for-large-responses/240822 "2014-05-09T02:59:41Z")

</div>

Context: I am currently using nginx to serve as a Response Cache Proxy in order to shim-out (isolate) network latency while running some performance related tests. The Perf Tests are comprised of 50 repetitions of …

---

## [Autoindex hiding dot folders](https://www.ruby-forum.com/t/autoindex-hiding-dot-folders/212856)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 8, 2014, 3:56pm UTC](https://www.ruby-forum.com/t/autoindex-hiding-dot-folders/212856 "2014-05-08T15:56:35Z")

</div>

Hello, I’m using nginx 1.1.5 and when getting a directory listing via autoindex directories that start with a dot “.” are not shown. Is there an option to change this behavior or does anyone know where in the source …

---

## [High performance rsyslog setup](https://www.ruby-forum.com/t/high-performance-rsyslog-setup/240978)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 8, 2014, 12:10pm UTC](https://www.ruby-forum.com/t/high-performance-rsyslog-setup/240978 "2014-05-08T12:10:10Z")

</div>

Dear list members. on the rsyslog list was this description page posted. Mail from Radu Gheorghe http://lists.adiscon.net/pipermail/rsyslog/2014-April/037219.html Maybe some plus customer are interested in this set…

---

## [Nginx 1.6 under load gives a ton of error 403](https://www.ruby-forum.com/t/nginx-1-6-under-load-gives-a-ton-of-error-403/240908)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [May 8, 2014, 10:20am UTC](https://www.ruby-forum.com/t/nginx-1-6-under-load-gives-a-ton-of-error-403/240908 "2014-05-08T10:20:01Z")

</div>

Hello, we have used Nginx 1.4.x (the “extras”, full featured package) for a year with no major troubles. Only some relatively rare error 403 we can’t find the source of, it only happens when our XEN VPS (Ubuntu 12.0…

---

## [Image Filter Error](https://www.ruby-forum.com/t/image-filter-error/240903)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 8, 2014, 6:44am UTC](https://www.ruby-forum.com/t/image-filter-error/240903 "2014-05-08T06:44:16Z")

</div>

Hi When doing resizing on the image, I got the error below gd-png: fatal libpng error: IDAT: CRC error gd-png error: setjmp returns error condition 22014/05/06 10:45:55 \[error\] 6137#0: \*4879 gdImageCreateFromPngPtr()…

---

## [Facing content-type issue with try\_files](https://www.ruby-forum.com/t/facing-content-type-issue-with-try-files/240828)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 8, 2014, 6:40am UTC](https://www.ruby-forum.com/t/facing-content-type-issue-with-try-files/240828 "2014-05-08T06:40:35Z")

</div>

Hello, To serve static contents i.e. images I use try\_files directive of Nginx. My configuration location block is as below. location ~\* \\.(jpg|jpeg|png|gif)$ { try\_files $request\_uri @missingImg; } @missingImg …

---

## [Cache revalidate modified timezone mismatch](https://www.ruby-forum.com/t/cache-revalidate-modified-timezone-mismatch/240942)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 7, 2014, 10:14pm UTC](https://www.ruby-forum.com/t/cache-revalidate-modified-timezone-mismatch/240942 "2014-05-07T22:14:37Z")

</div>

I have a backend returning a last modified header in CEST. I’m using a 1sec proxy that revalidates as described here: http://whitequark.org/blog/2014/04/05/page-caching-with-nginx/ My problem is that when nginx makes …

---

## [Using $upstream\* variables inside map directive](https://www.ruby-forum.com/t/using-upstream-variables-inside-map-directive/240927)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [May 7, 2014, 9:44pm UTC](https://www.ruby-forum.com/t/using-upstream-variables-inside-map-directive/240927 "2014-05-07T21:44:30Z")

</div>

Hello, I’m trying to avoid caching of small responses from upstreams using map: map $upstream\_http\_content\_length $dontcache { default 0; ~^\\d\\d$ 1; ~^\\d$ 1; } Unfortunatelly, nginx seems to ignore $upstream\* vari…

---

## [Question about slab allocator](https://www.ruby-forum.com/t/question-about-slab-allocator/240946)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 7, 2014, 9:38pm UTC](https://www.ruby-forum.com/t/question-about-slab-allocator/240946 "2014-05-07T21:38:22Z")

</div>

Hi, I'm nginx newbie. I'm reading src/core/ngx\_slab.c, and am confused as to the purpose of NGX\_SLAB\_PAGE\_START. As far as I can understand, when allocating a block, the most significant bit (MSB) of first page’s c…

---

## [Misunderstood regex location](https://www.ruby-forum.com/t/misunderstood-regex-location/240897)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [May 7, 2014, 3:13pm UTC](https://www.ruby-forum.com/t/misunderstood-regex-location/240897 "2014-05-07T15:13:09Z")

</div>

Hi, I understood that prefix location was read, then regex location and it stops on a ^~ match Why with this config location / { location ~ .+\\.(js|css|ico|png|gif|jpg|jpeg|pdf|zip|html|htm)$ { expires 25…

---

## [Nginx with userland tcp](https://www.ruby-forum.com/t/nginx-with-userland-tcp/240937)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 7, 2014, 1:48pm UTC](https://www.ruby-forum.com/t/nginx-with-userland-tcp/240937 "2014-05-07T13:48:11Z")

</div>

Has anyone started looking at nginx with userspace TCP. Is there any opensource TCP stack available which can work well with Nginx. Sandstorm seems to be working in user space and claiming to handle more CPS than Ng…

---

## [Nginx 1.4.2 2516#12636: CreateFile()](https://www.ruby-forum.com/t/nginx-1-4-2-2516-12636-createfile/240926)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 7, 2014, 8:48am UTC](https://www.ruby-forum.com/t/nginx-1-4-2-2516-12636-createfile/240926 "2014-05-07T08:48:24Z")

</div>

i added the cache configuration in my nginx.conf ,like this : location ~ .\*.(js|css|ico|jpg|jpeg|png|gif)$ { expires 7d; root cache; proxy\_store on; } But i coudlen't login my app ,the error log is : 2…

---

## [How to limit POST request per ip?](https://www.ruby-forum.com/t/how-to-limit-post-request-per-ip/240277)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 7, 2014, 12:17am UTC](https://www.ruby-forum.com/t/how-to-limit-post-request-per-ip/240277 "2014-05-07T00:17:02Z")

</div>

How to limit POST request per ip ? Need some of: limit\_except POST { limit\_req zone=postlimit burst=10 nodelay; } Posted at Nginx Forum:

---

## [X-forward-for question](https://www.ruby-forum.com/t/x-forward-for-question/240909)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 6, 2014, 11:01am UTC](https://www.ruby-forum.com/t/x-forward-for-question/240909 "2014-05-06T11:01:03Z")

</div>

Hello, I plan to set up two servers for a training purpose : one frontend, one database. I created a tcp server but I need to be sure of the idea : Be F the frontend and B the backend. when a client will make a requ…

---

## [NGINX 2014 survey: I know you have opinions](https://www.ruby-forum.com/t/nginx-2014-survey-i-know-you-have-opinions/240627)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 6, 2014, 2:08am UTC](https://www.ruby-forum.com/t/nginx-2014-survey-i-know-you-have-opinions/240627 "2014-05-06T02:08:31Z")

</div>

Hello! As Valentin mentioned in another thread, its that time of year again when we want to tune up our strategy; see how NGINX is used; what you the community thinks of us; where we can improve our products, communi…

---

## [Query strings duplicating on 301 redirect](https://www.ruby-forum.com/t/query-strings-duplicating-on-301-redirect/240896)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 5, 2014, 11:09pm UTC](https://www.ruby-forum.com/t/query-strings-duplicating-on-301-redirect/240896 "2014-05-05T23:09:17Z")

</div>

Hey All, I am trying to redirect (301) all HTTP request to TLS (HTTPS) and I keep getting duplicate query strings added to the uri. e.g.: curl -I “http://foo.bar.example.com/foobar.css?v=2” HTTP/1.1 301 Moved Permane…

---

## [Mono MVC Timeout](https://www.ruby-forum.com/t/mono-mvc-timeout/235019)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [May 5, 2014, 6:09pm UTC](https://www.ruby-forum.com/t/mono-mvc-timeout/235019 "2014-05-05T18:09:46Z")

</div>

Hi everyone! I am struggling to get a (simple) MVC app work under OpenBSD (5.3) + Mono (2.10.9) + Nginx (1.2.6) I can get a simple index.aspx (Hello World) app to work, but the default MVC 3 template doesn’t seem to…

---

## [Ngx\_cache\_purge + query string](https://www.ruby-forum.com/t/ngx-cache-purge-query-string/240888)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 5, 2014, 12:59pm UTC](https://www.ruby-forum.com/t/ngx-cache-purge-query-string/240888 "2014-05-05T12:59:06Z")

</div>

Hi, is ngx\_cache\_purge support to purge file with query string? I’ve tried with no success Our example page http://www.example.com/images/file.jpg?v=1.0 Is there any additional config I have to put?

---

## [Windows nginx 1.7.1.2 Snowman](https://www.ruby-forum.com/t/windows-nginx-1-7-1-2-snowman/240850)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 2, 2014, 10:08pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-7-1-2-snowman/240850 "2014-05-02T22:08:05Z")

</div>

13:56 2-5-2014 nginx 1.7.1.2 Snowman Based on nginx 1.7.1 (30-4-2014) with; lua-nginx-module v0.9.7 (upgraded 1-5-2014) Openssl fix for CVE-2010-5298 AJP tomcat backend support (GitHub - yaoweibin/nginx\_ajp\_module: s…

---

## [Ssl\_prefer\_server\_ciphers vs. Android](https://www.ruby-forum.com/t/ssl-prefer-server-ciphers-vs-android/240808)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 2, 2014, 1:40am UTC](https://www.ruby-forum.com/t/ssl-prefer-server-ciphers-vs-android/240808 "2014-05-02T01:40:52Z")

</div>

Hi, I’ve configured ssl with the following options: ssl\_dhparam /etc/nginx/pem/dhparam2048.pem; ssl\_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; ssl\_ciphers ‘ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE…

---

## [Wordpress Multi-Site Converting Apache to Nginx](https://www.ruby-forum.com/t/wordpress-multi-site-converting-apache-to-nginx/240768)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [May 1, 2014, 8:56am UTC](https://www.ruby-forum.com/t/wordpress-multi-site-converting-apache-to-nginx/240768 "2014-05-01T08:56:12Z")

</div>

I’m trying to move a working Apache2 config to Nginx and failing miserably. The site has a main application, a custom CMS and a wordpress multi-site with a few blogs. The CMS rules are setup and working, but I can’t g…

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

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