# Server

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

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

---

## [Ngx\_openresty devel version 1.2.3.1 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-3-1-released/222389)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 27, 2012, 2:01pm UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-3-1-released/222389 "2012-08-27T14:01:43Z")

</div>

Hi, guys! I am happy to announce the new development version of ngx\_openresty, 1.2.3.1: OpenResty® - Open source Special thanks go to all our contributors and users for making this happen! Below is the complete cha…

---

## [Firefox cache images more than cache-control: max-age](https://www.ruby-forum.com/t/firefox-cache-images-more-than-cache-control-max-age/222376)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 27, 2012, 2:01pm UTC](https://www.ruby-forum.com/t/firefox-cache-images-more-than-cache-control-max-age/222376 "2012-08-27T14:01:19Z")

</div>

Hello. Some visitors of my site complain about their Firefox is pulling images from cache, whereas it should not do that, because images on the site are changing few times a day. In other words, .png images that are …

---

## [Proxy cannot forward https traffic with resolver?](https://www.ruby-forum.com/t/proxy-cannot-forward-https-traffic-with-resolver/222371)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 27, 2012, 2:01pm UTC](https://www.ruby-forum.com/t/proxy-cannot-forward-https-traffic-with-resolver/222371 "2012-08-27T14:01:11Z")

</div>

Sorry, there was a typo in the previous question. I couldn’t delete the previous one. Hence posting again. When it happens to be http traffic proxy server works but doesn’t work for the https. I pasted both the sevre…

---

## [Weird proxy pass timeout](https://www.ruby-forum.com/t/weird-proxy-pass-timeout/222359)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/weird-proxy-pass-timeout/222359 "2012-08-27T14:00:47Z")

</div>

Hi, I have an nginx server proxying traffic to a java app server (they are on separate machines). I will be giving the configuration below, but just to summarize the problem I am getting a “2012/08/23 21:25:09 \[error…

---

## [Using rate limitation for files smaller than the defined limit](https://www.ruby-forum.com/t/using-rate-limitation-for-files-smaller-than-the-defined-limit/221775)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/using-rate-limitation-for-files-smaller-than-the-defined-limit/221775 "2012-08-27T14:00:35Z")

</div>

Hi! We use nginx rate limiting function but realized that it does not work for files smaller than the limit specified in limit\_rate directive. Analyzing the source code it turned out that forcing the limit is second …

---

## [Stressing nginx](https://www.ruby-forum.com/t/stressing-nginx/184990)

<div class="topic-metadata">

**Author:** [@stormdust](https://www.ruby-forum.com/u/stormdust)\
**Replies:** 8\
**Last updated:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/stressing-nginx/184990 "2012-08-27T14:00:33Z")

</div>

Hi everybody. I have been testing nginx with mono to see if we can go this pass in development on the company. I have made 4 simple pages: -Two static pages (html, one with 1k and another with 25k) -Two dinamic page…

---

## [MIME type oddity when using try\_files in combination with location/alias using regex captures](https://www.ruby-forum.com/t/mime-type-oddity-when-using-try-files-in-combination-with-location-alias-using-regex-captures/221852)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/mime-type-oddity-when-using-try-files-in-combination-with-location-alias-using-regex-captures/221852 "2012-08-27T14:00:22Z")

</div>

Hello! Given is following minimized test case server { listen 80; server\_name t1.example.com; root /data/web/t1.example.com/htdoc; location …

---

## [Error with basic auth on windows](https://www.ruby-forum.com/t/error-with-basic-auth-on-windows/222339)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/error-with-basic-auth-on-windows/222339 "2012-08-27T14:00:05Z")

</div>

Hello, I’m trying to setup basic auth on windows and i’m getting an error: CreateFile() “C:\\Jira\\nginx-1.2.3/conf/htpasswd” failed (2: The system cannot find the file specified), I’ve searched all over but I’ve not b…

---

## [Help on ngnix configuration](https://www.ruby-forum.com/t/help-on-ngnix-configuration/222332)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 27, 2012, 1:59pm UTC](https://www.ruby-forum.com/t/help-on-ngnix-configuration/222332 "2012-08-27T13:59:52Z")

</div>

Hi guys i have a problem with my web server configuration . I have a virtual machine with ngnix and 5 virtual machine with apache . I wont to reverse proxy ngnix to apache but i have only one domain : So if i typing m…

---

## [Help:mplicit declaration of function ‘pread’ ‘pwrite’](https://www.ruby-forum.com/t/help-mplicit-declaration-of-function-pread-pwrite/222328)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 27, 2012, 1:59pm UTC](https://www.ruby-forum.com/t/help-mplicit-declaration-of-function-pread-pwrite/222328 "2012-08-27T13:59:47Z")

</div>

when i want install nginx 1.2.3 on debian squeeze there have a problem: -o objs/src/os/unix/ngx\_files.o src/os/unix/ngx\_files.c cc1: warnings being treated as errors src/os/unix/ngx\_files.c: In function ‘ngx\_read\_f…

---

## [Backup resolver possible?](https://www.ruby-forum.com/t/backup-resolver-possible/222277)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 21, 2012, 8:04am UTC](https://www.ruby-forum.com/t/backup-resolver-possible/222277 "2012-08-21T08:04:39Z")

</div>

version: nginx 1.2.0 on centos 5.5 64bit Nginx works as a http proxy. There are two resolver: ip1 and ip2. When ip1 fails on some url, nginx gives 502 error, but ip2 works on the url. Can multi-resolver be used as ma…

---

## [Upload Module - add response header with MD5](https://www.ruby-forum.com/t/upload-module-add-response-header-with-md5/222232)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 20, 2012, 9:19pm UTC](https://www.ruby-forum.com/t/upload-module-add-response-header-with-md5/222232 "2012-08-20T21:19:36Z")

</div>

Hi! here is the snuppet of configuration I use for uploading: location /upload { auth\_request /auth; upload\_pass /200; upload\_store /download 1; upload\_resumable on; #Return download path t…

---

## [User authentication with nginx](https://www.ruby-forum.com/t/user-authentication-with-nginx/222253)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 12\
**Last updated:** [August 20, 2012, 3:23pm UTC](https://www.ruby-forum.com/t/user-authentication-with-nginx/222253 "2012-08-20T15:23:43Z")

</div>

I want to find a secure but simple method for authenticating users in an Nginx environment. I have succeeded in figuring out the auth\_basic mod but that does not meet my needs. I specifically want to supply my own f…

---

## [Upstream SSL IIS Performance](https://www.ruby-forum.com/t/upstream-ssl-iis-performance/222254)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 20, 2012, 1:43pm UTC](https://www.ruby-forum.com/t/upstream-ssl-iis-performance/222254 "2012-08-20T13:43:12Z")

</div>

Greetings, I have an nginx server deployed infront of a Internet Information Services 6.0 server. The issue I have is that when requesting content from the IIS server via HTTPS I am seeing an considerable increase i…

---

## [Add\_header isn't taking effect](https://www.ruby-forum.com/t/add-header-isnt-taking-effect/222243)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [August 19, 2012, 1:46am UTC](https://www.ruby-forum.com/t/add-header-isnt-taking-effect/222243 "2012-08-19T01:46:56Z")

</div>

This block basically works like a charm, passes the upstream headers from proxy\_pass\_header as expected, but the add\_header doesn’t seem to work no matter what. add\_header is what I use upstream to add the headers lik…

---

## [Is this a bug?](https://www.ruby-forum.com/t/is-this-a-bug/222234)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 19, 2012, 1:18am UTC](https://www.ruby-forum.com/t/is-this-a-bug/222234 "2012-08-19T01:18:52Z")

</div>

45: /\* 46: \* Preallocation of first nodes : 0, 1, 00, 01, 10, 11, 000, 001, etc. 47: \* increases TLB hits even if for first lookup iterations. 48: \* On 32-bit platforms the 7 preallocated bits…

---

## [How to converte this apache rewrite?](https://www.ruby-forum.com/t/how-to-converte-this-apache-rewrite/222225)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 17, 2012, 11:39pm UTC](https://www.ruby-forum.com/t/how-to-converte-this-apache-rewrite/222225 "2012-08-17T23:39:53Z")

</div>

Hi, How would I convert this RewriteEngine on RewriteRule /Microsoft-Server-ActiveSync(.\*) /path/to/your/tine20\_installation/index.php$1 \[E=REDIRECT\_ACTIVESYNC:true,E=REMOTE\_USER:%{HTTP:Authorization}\] To a nginx s…

---

## [Can I create a call (method post) from auth\_basic?](https://www.ruby-forum.com/t/can-i-create-a-call-method-post-from-auth-basic/222221)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 17, 2012, 7:33pm UTC](https://www.ruby-forum.com/t/can-i-create-a-call-method-post-from-auth-basic/222221 "2012-08-17T19:33:49Z")

</div>

Hi, sorry for my english. I newbie on nginx. I have a nginx reverse proxy configured to openerp. Openerp, needs a call (method posts) to login the user. The idea is to use the auth\_basic to login automatically to ope…

---

## [Nginx running as nginx.conf](https://www.ruby-forum.com/t/nginx-running-as-nginx-conf/222218)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 17, 2012, 6:49pm UTC](https://www.ruby-forum.com/t/nginx-running-as-nginx-conf/222218 "2012-08-17T18:49:24Z")

</div>

hi guys i have nginx on 2 servers. in one of them i’m getting the following correct output: netstat -tulpn | grep -e nginx tcp 0 0 0.0.0.0:80 0.0.0.0:\* LISTEN 4735/nginx ps aux |…

---

## [How to check for headers](https://www.ruby-forum.com/t/how-to-check-for-headers/222211)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 17, 2012, 3:47pm UTC](https://www.ruby-forum.com/t/how-to-check-for-headers/222211 "2012-08-17T15:47:37Z")

</div>

Hello, How would you check for sth like HTTP:Accept-Language? and in general all headers? if it is equal to some value, empty or etc. Apache would allow this to be checked in a notation similar to the following insi…

---

## [Gzipping proxied content after using subs\_filter fails](https://www.ruby-forum.com/t/gzipping-proxied-content-after-using-subs-filter-fails/222048)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [August 16, 2012, 5:18pm UTC](https://www.ruby-forum.com/t/gzipping-proxied-content-after-using-subs-filter-fails/222048 "2012-08-16T17:18:10Z")

</div>

As the title says, I’m having an issue with gzipping proxied web pages after using subs\_filter. It doesn’t always happen, but it looks like whenever a page exceeds the size of one of my proxy\_buffers I get an error in…

---

## [X-accel-redirect and gzip\_static](https://www.ruby-forum.com/t/x-accel-redirect-and-gzip-static/215034)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 16, 2012, 9:41am UTC](https://www.ruby-forum.com/t/x-accel-redirect-and-gzip-static/215034 "2012-08-16T09:41:09Z")

</div>

I’m using x-accel-redirect to serve a file from a location that has gzip\_static on; however instead of the pre-gzipped version, I am getting me the un-gzip’d version of the file. I assume that locations are respected …

---

## [400 bad request with the other method such as info,list and lock](https://www.ruby-forum.com/t/400-bad-request-with-the-other-method-such-as-info-list-and-lock/222142)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 16, 2012, 9:39am UTC](https://www.ruby-forum.com/t/400-bad-request-with-the-other-method-such-as-info-list-and-lock/222142 "2012-08-16T09:39:58Z")

</div>

Hello Nginx team, I am trying to install our solution with Nginx as a reverse proxy. And I am having some problem shown as below. 172.30.2.84 - - \[14/Aug/2012:19:51:17 +0900\] “GET /api/local/test.doc/info HTTP/1.1”…

---

## [Configure specific upstream node to spit 30x error](https://www.ruby-forum.com/t/configure-specific-upstream-node-to-spit-30x-error/222165)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 15, 2012, 11:31pm UTC](https://www.ruby-forum.com/t/configure-specific-upstream-node-to-spit-30x-error/222165 "2012-08-15T23:31:11Z")

</div>

Hi all, I was wondering if there is feasible way to have a node spit a specific 30x error (i.e. 307) if it becomes unreachable, instead of passing to next upstream node? upstream mycluster { server 192.168.1.2; se…

---

## [Single server with multiple hierarchies](https://www.ruby-forum.com/t/single-server-with-multiple-hierarchies/221833)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 15, 2012, 10:38pm UTC](https://www.ruby-forum.com/t/single-server-with-multiple-hierarchies/221833 "2012-08-15T22:38:01Z")

</div>

Hi, My directory structure is: /usr/share/nginx/www /magento/current ← This is my application /phpmyadmin I changed the root of the server to /usr/share/nginx/www/magento/current. Now my app works perfectly when I…

---

## [Unexpected response code:400 while using nginx\_tcp\_proxy\_module for WebSocket](https://www.ruby-forum.com/t/unexpected-response-code-400-while-using-nginx-tcp-proxy-module-for-websocket/222159)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 15, 2012, 5:54pm UTC](https://www.ruby-forum.com/t/unexpected-response-code-400-while-using-nginx-tcp-proxy-module-for-websocket/222159 "2012-08-15T17:54:34Z")

</div>

Hello, We are trying to use nginx\_tcp\_proxy\_module for WebSocket with the back-end CometD/Jetty. Direct CometD exposed to public is working fine and it goes with WebSocket but through nginx the transport switch to l…

---

## [Ngx\_openresty stable version 1.2.1.14 released](https://www.ruby-forum.com/t/ngx-openresty-stable-version-1-2-1-14-released/222149)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 15, 2012, 7:28am UTC](https://www.ruby-forum.com/t/ngx-openresty-stable-version-1-2-1-14-released/222149 "2012-08-15T07:28:44Z")

</div>

Hello, guys! I am happy to announce the new stable version of ngx\_openresty, 1.2.1.14: OpenResty® - Open source Special thanks go to all our contributors and users for helping make this happen! Below is the complet…

---

## [SPDY compilation fail - Warnings](https://www.ruby-forum.com/t/spdy-compilation-fail-warnings/221689)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 11\
**Last updated:** [August 14, 2012, 11:48pm UTC](https://www.ruby-forum.com/t/spdy-compilation-fail-warnings/221689 "2012-08-14T23:48:22Z")

</div>

Hi, SPDY compilation fails for me, due to some warnings. The compilation script which fails could be seen here, syntaxically colored : Or here, in a raw version : Nginx SPDY Compilation Fail ---------------------…

---

## [Rewrite automatically unencodes question mark](https://www.ruby-forum.com/t/rewrite-automatically-unencodes-question-mark/221990)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 14, 2012, 4:30pm UTC](https://www.ruby-forum.com/t/rewrite-automatically-unencodes-question-mark/221990 "2012-08-14T16:30:03Z")

</div>

Hello, I have this rewrite rule. rewrite ^(.+)$ $url? permanent; where $url is “http://example.com/ez/ciaapkznke/&subid1=1&lnkurl=http://www.someotherwebsite.com/books%3Faffid%3Dtyroo%26cmpid%3Daffiliate\_promo\_tyroo” …

---

## [Re: how nginx handle connection with backend web server?](https://www.ruby-forum.com/t/re-how-nginx-handle-connection-with-backend-web-server/222138)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 14, 2012, 11:21am UTC](https://www.ruby-forum.com/t/re-how-nginx-handle-connection-with-backend-web-server/222138 "2012-08-14T11:21:26Z")

</div>

Xuepeng Li, I have the same question as you asked. do you undersatnd now? please share with us. Thanks. posted at http://www.serverphorums.com vic115维多利亚(中国)股份有限公司

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

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