# Server

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

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

---

## [Disable auth\_basic for unique (set of) URL](https://www.ruby-forum.com/t/disable-auth-basic-for-unique-set-of-url/225288)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [December 30, 2012, 12:17pm UTC](https://www.ruby-forum.com/t/disable-auth-basic-for-unique-set-of-url/225288 "2012-12-30T12:17:57Z")

</div>

Hello, I am using the auth\_basic directive to restrict access to a whole server (auth\_basic server-wide set, not in any particular location). Since I am using php, I am also using: location ~ .php$ { FastCGI stuff h…

---

## [Nginx erroneously redirecting to https](https://www.ruby-forum.com/t/nginx-erroneously-redirecting-to-https/223440)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 11\
**Last updated:** [December 29, 2012, 3:27pm UTC](https://www.ruby-forum.com/t/nginx-erroneously-redirecting-to-https/223440 "2012-12-29T15:27:24Z")

</div>

I am running nginx+php-fpm on localhost for testing some stuff sites before uploading to a live server (which I have done with nginx in the past), and have run into the first issue which Google can’t seem to help me …

---

## [Error unlink() nginx 1.2.6](https://www.ruby-forum.com/t/error-unlink-nginx-1-2-6/226607)

<div class="topic-metadata">

**Author:** [@bat21](https://www.ruby-forum.com/u/bat21)\
**Replies:** 0\
**Last updated:** [December 29, 2012, 12:43pm UTC](https://www.ruby-forum.com/t/error-unlink-nginx-1-2-6/226607 "2012-12-29T12:43:50Z")

</div>

the error.log file I get the error: 12/29/2012 12:40:39 \[crit\] 16489 # 0: unlink () “/ var/cache/cafe2/2/9e/5d7f005ef7a1b948e522a3b8ed5959e2” failed (2: No such file or directory) the folder has permissions 777. how…

---

## [I need documentation!](https://www.ruby-forum.com/t/i-need-documentation/225310)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 29, 2012, 3:22am UTC](https://www.ruby-forum.com/t/i-need-documentation/225310 "2012-12-29T03:22:29Z")

</div>

I can’t seem to find any documentation on mongrel? Could someone point me to the right direction. I’ve inherited a project which involves mongrel on rails and need guidance to fix it.

---

## [Serve different set of cache conditionally](https://www.ruby-forum.com/t/serve-different-set-of-cache-conditionally/225313)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 29, 2012, 12:24am UTC](https://www.ruby-forum.com/t/serve-different-set-of-cache-conditionally/225313 "2012-12-29T00:24:34Z")

</div>

Hi All, I would like to know if I can configure nginx to utilise different set of cache zone conditionally. For example if the user-agent is a mobile device then use proxy\_cache zone called “mobile\_proxy\_zone” if …

---

## [Nginx as a localhost for my Django project/site -uWSGI](https://www.ruby-forum.com/t/nginx-as-a-localhost-for-my-django-project-site-uwsgi/225304)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 28, 2012, 3:10pm UTC](https://www.ruby-forum.com/t/nginx-as-a-localhost-for-my-django-project-site-uwsgi/225304 "2012-12-28T15:10:45Z")

</div>

Hi, hope you all 're fine. I wanted to test Nginx, so I installed it on my machine (running Ubuntu 12.10) and it’s running fine. My question is (to any Django expert here), as Django projects/sites don’t have index.…

---

## [Nginx-1.3.10](https://www.ruby-forum.com/t/nginx-1-3-10/225267)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 28, 2012, 10:33am UTC](https://www.ruby-forum.com/t/nginx-1-3-10/225267 "2012-12-28T10:33:51Z")

</div>

Changes with nginx 1.3.10 25 Dec 2012 \*) Change: domain names specified in configuration file are now resolved to IPv6 addresses as well as IPv4 ones. \*) Change: now if the "i…

---

## [Rewrite or internal redirection cycle while internally redirecting to "/index.php"](https://www.ruby-forum.com/t/rewrite-or-internal-redirection-cycle-while-internally-redirecting-to-index-php/225285)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 27, 2012, 12:35pm UTC](https://www.ruby-forum.com/t/rewrite-or-internal-redirection-cycle-while-internally-redirecting-to-index-php/225285 "2012-12-27T12:35:19Z")

</div>

Hello everyone, I’m having some issue with X-accel and I’d be happy if someone could look over my configuration file and let me know what I did wrong. I am basically running nginx/1.2.5 with php-fpm 5.3.3 on Centos 5…

---

## [Access to location configs from postconfiguration](https://www.ruby-forum.com/t/access-to-location-configs-from-postconfiguration/225280)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 26, 2012, 6:59pm UTC](https://www.ruby-forum.com/t/access-to-location-configs-from-postconfiguration/225280 "2012-12-26T18:59:41Z")

</div>

Hello, I’m writing my first nginx module and want perform some per-location initialization (and validation) in postconfiguration function. Unfortunately I’ve found that only named locations can be accessed from postc…

---

## [Re: "msie\_padding on" doesn't work?](https://www.ruby-forum.com/t/re-msie-padding-on-doesnt-work/229355)

<div class="topic-metadata">

**Author:** [@lorenzo\_r](https://www.ruby-forum.com/u/lorenzo_r)\
**Replies:** 0\
**Last updated:** [December 26, 2012, 5:02pm UTC](https://www.ruby-forum.com/t/re-msie-padding-on-doesnt-work/229355 "2012-12-26T17:02:48Z")

</div>

Oh, ok! Maybe it would be useful to add the padding to custom error messages too…? :slight\_smile: Should be an easy add.

---

## ["msie\_padding on" doesn't work?](https://www.ruby-forum.com/t/msie-padding-on-doesnt-work/226600)

<div class="topic-metadata">

**Author:** [@lorenzo\_r](https://www.ruby-forum.com/u/lorenzo_r)\
**Replies:** 1\
**Last updated:** [December 26, 2012, 5:00pm UTC](https://www.ruby-forum.com/t/msie-padding-on-doesnt-work/226600 "2012-12-26T17:00:28Z")

</div>

msie\_padding is set to on by default (and I didn’t change it). Today I added this line to my location php block: if ($http\_user\_agent ~ “MSIE 6” ) { return 403 “Browser not supported. Please update or change to anoth…

---

## [Complancy with the IETF specifications (RFCs 1945, 2616 and 2396)](https://www.ruby-forum.com/t/complancy-with-the-ietf-specifications-rfcs-1945-2616-and-2396/226598)

<div class="topic-metadata">

**Author:** [@parttis](https://www.ruby-forum.com/u/parttis)\
**Replies:** 1\
**Last updated:** [December 26, 2012, 2:12pm UTC](https://www.ruby-forum.com/t/complancy-with-the-ietf-specifications-rfcs-1945-2616-and-2396/226598 "2012-12-26T14:12:49Z")

</div>

Hi I am currently making a research related to different HTTP server implementations. To make my research results complete, I would like to know if Nginx web server is fully compliant with the following IETF recommen…

---

## [Changed /usr/share/nginx/html/ softlink, now nginx won't serve it @localhost](https://www.ruby-forum.com/t/changed-usr-share-nginx-html-softlink-now-nginx-wont-serve-it-localhost/226597)

<div class="topic-metadata">

**Author:** [@Kurtosis](https://www.ruby-forum.com/u/Kurtosis)\
**Replies:** 1\
**Last updated:** [December 26, 2012, 12:56pm UTC](https://www.ruby-forum.com/t/changed-usr-share-nginx-html-softlink-now-nginx-wont-serve-it-localhost/226597 "2012-12-26T12:56:18Z")

</div>

Nginx 1.2.4 on Ubuntu 12.04 x64 desktop I have a pure html site located at: ~/Projects/Clients/ANS/src/MetroBusiness.ans That is softlinked to nginx’s localhost directory: /usr/share/nginx/html/dev/MetroBusiness.ans …

---

## [How to use the gzip format for access\_log in the new 1.3.10?](https://www.ruby-forum.com/t/how-to-use-the-gzip-format-for-access-log-in-the-new-1-3-10/225273)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 26, 2012, 8:52am UTC](https://www.ruby-forum.com/t/how-to-use-the-gzip-format-for-access-log-in-the-new-1-3-10/225273 "2012-12-26T08:52:07Z")

</div>

Guys I updated from nginx 1.3.9 to 1.3.10, edited my access\_log line and here it is now: access\_log /var/www/blahblah/logs/access.log gzip buffer=32k; Unfortunately when I restart nginx I get this error: nginx: \[emer…

---

## [Problem when using subfolder](https://www.ruby-forum.com/t/problem-when-using-subfolder/225269)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [December 25, 2012, 7:05pm UTC](https://www.ruby-forum.com/t/problem-when-using-subfolder/225269 "2012-12-25T19:05:54Z")

</div>

Hi There, need to solve the following Problem: location / should point to /var/www/myfirstside and location /subside should point to /var/www/mysecondside I have no idea how to solve this. I tried: location / { ro…

---

## [Using Crypt::OpenSSL::RSA with http\_perl\_module problem](https://www.ruby-forum.com/t/using-crypt-rsa-with-http-perl-module-problem/246547)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [December 25, 2012, 6:39pm UTC](https://www.ruby-forum.com/t/using-crypt-rsa-with-http-perl-module-problem/246547 "2012-12-25T18:39:36Z")

</div>

Hi all: I am trying to utilize Crypt::OpenSSL::RSA perl module that is called from within the the http\_perl\_module handler. The interesting part is that if I use this module from a strait perl script then it works f…

---

## [Error\_page can not work in if directive](https://www.ruby-forum.com/t/error-page-can-not-work-in-if-directive/225266)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [December 25, 2012, 5:48pm UTC](https://www.ruby-forum.com/t/error-page-can-not-work-in-if-directive/225266 "2012-12-25T17:48:12Z")

</div>

I want to display different pages when 413 code return, for example set $var 1; if （$var = 1) { error\_page 413 /413\_old.html; } if ($var =2) { error\_page 413 /413\_new.html; } error\_page can not work, but I write …

---

## [Rewrite all urls inside location block in nginx](https://www.ruby-forum.com/t/rewrite-all-urls-inside-location-block-in-nginx/225252)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [December 25, 2012, 11:56am UTC](https://www.ruby-forum.com/t/rewrite-all-urls-inside-location-block-in-nginx/225252 "2012-12-25T11:56:31Z")

</div>

Hello, I have a config like location = /foo.xml { if ($scheme = https) { rewrite .\* http://$http\_host/foo.xml permanent; }} But as you can see, the file is already matched with the location block, it …

---

## [How to get maximum number of connection, I have ever got on my server?](https://www.ruby-forum.com/t/how-to-get-maximum-number-of-connection-i-have-ever-got-on-my-server/225261)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 25, 2012, 7:53am UTC](https://www.ruby-forum.com/t/how-to-get-maximum-number-of-connection-i-have-ever-got-on-my-server/225261 "2012-12-25T07:53:33Z")

</div>

Is there a way I can log current number of active connection in nginx? I want to check the max number of parallel connection I am getting on my server. regards Vivek G.

---

## [HttpUploadProgressModule + uwsgi](https://www.ruby-forum.com/t/httpuploadprogressmodule-uwsgi/225260)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 25, 2012, 7:37am UTC](https://www.ruby-forum.com/t/httpuploadprogressmodule-uwsgi/225260 "2012-12-25T07:37:11Z")

</div>

reads “the location must be a proxy\_pass or fastcgi location” Will it work for uwSGI location? Thanks. Posted at Nginx Forum:

---

## [Nginx log time stamps customization](https://www.ruby-forum.com/t/nginx-log-time-stamps-customization/225253)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 24, 2012, 4:28pm UTC](https://www.ruby-forum.com/t/nginx-log-time-stamps-customization/225253 "2012-12-24T16:28:22Z")

</div>

Hello NGINX Dev team: Hope you can help answer a simple question (I’ve gone through documentations and experimented with it and the answer seems no but hoping to get confimration from “the” authority on it). I need …

---

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

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [December 24, 2012, 1:16am UTC](https://www.ruby-forum.com/t/ngx-openresty-stable-version-1-2-4-14-released/226594 "2012-12-24T01:16:02Z")

</div>

Hello, all I am happy to announce the new stable version of ngx\_openresty, 1.2.4.14: http://openresty.org/#Download Special thanks go to all our contributors and users for helping make this happen! This is the las…

---

## [Nginx with SPDY + Django/Gunicorn](https://www.ruby-forum.com/t/nginx-with-spdy-django-gunicorn/225247)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 23, 2012, 11:23pm UTC](https://www.ruby-forum.com/t/nginx-with-spdy-django-gunicorn/225247 "2012-12-23T23:23:51Z")

</div>

Hi I’m trying to setup a test configuration of SPDY enabled Nxing with Django/Gunicorn on my localhost. My config looks like so: SPDY is working when I use https and doesn’t when I enter localhost via http (no SSL).…

---

## [Newbie- How to use nginx as a load balancer](https://www.ruby-forum.com/t/newbie-how-to-use-nginx-as-a-load-balancer/225246)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 23, 2012, 11:05pm UTC](https://www.ruby-forum.com/t/newbie-how-to-use-nginx-as-a-load-balancer/225246 "2012-12-23T23:05:09Z")

</div>

Hello all, I have recently been introduced to nginx, hence pardon me if my questions sound silly to you :slight\_smile: (1) Kindly let me know how I can programmatically create/update/remove load balancers for use w…

---

## [Nginx key-drivers](https://www.ruby-forum.com/t/nginx-key-drivers/225242)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 23, 2012, 8:12pm UTC](https://www.ruby-forum.com/t/nginx-key-drivers/225242 "2012-12-23T20:12:48Z")

</div>

Hi! I with my group from university are describing Nginx in our project. We need to know what are your key-drivers. At the moment I found Performance, Security and Extensibility from your official Nginx inc. site. P…

---

## [High performance infra strutucre](https://www.ruby-forum.com/t/high-performance-infra-strutucre/226587)

<div class="topic-metadata">

**Author:** [@Friedrich\_L](https://www.ruby-forum.com/u/Friedrich_L)\
**Replies:** 2\
**Last updated:** [December 23, 2012, 2:09am UTC](https://www.ruby-forum.com/t/high-performance-infra-strutucre/226587 "2012-12-23T02:09:51Z")

</div>

Hey, this is my first message to this mailing list. I am not, right now, using nginx, but i would like to do so. My intent is the following: I would like to build a farm of x web server. I would like to perform loa…

---

## [ED Hardy's bold and trend-setting ways](https://www.ruby-forum.com/t/ed-hardys-bold-and-trend-setting-ways/225228)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 22, 2012, 8:06am UTC](https://www.ruby-forum.com/t/ed-hardys-bold-and-trend-setting-ways/225228 "2012-12-22T08:06:22Z")

</div>

Each ED Hardy piece of clothing is like a fabulous present that if given to anyone will surely make their eyes pop in surprise. Wearing one is definitely a pleasurable experience. We can see that from the faces of t…

---

## [NGINX not binding to localhost:80 only 127.0.0.1:80](https://www.ruby-forum.com/t/nginx-not-binding-to-localhost-80-only-127-0-0-1-80/225217)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [December 21, 2012, 5:09pm UTC](https://www.ruby-forum.com/t/nginx-not-binding-to-localhost-80-only-127-0-0-1-80/225217 "2012-12-21T17:09:04Z")

</div>

Ive had this issue with tomcat apache in the past and always fixed it by specifying localhost as part of the listen directive - not working with NGINX on OS X. NGINX is responding to 127.0.0.1 - but localhost it just …

---

## [Crypt\_r() issue when viewing HTTP auth page](https://www.ruby-forum.com/t/crypt-r-issue-when-viewing-http-auth-page/225200)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [December 20, 2012, 8:34pm UTC](https://www.ruby-forum.com/t/crypt-r-issue-when-viewing-http-auth-page/225200 "2012-12-20T20:34:38Z")

</div>

When viewing a page that is HTTP auth password protected, we sometimes get an error 500 (internal server error), but 100% of the time, a browser reload of the page makes it work the second time around. The ngnix err…

---

## [Response stalls with gzip and proxy](https://www.ruby-forum.com/t/response-stalls-with-gzip-and-proxy/225215)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [December 20, 2012, 8:06pm UTC](https://www.ruby-forum.com/t/response-stalls-with-gzip-and-proxy/225215 "2012-12-20T20:06:00Z")

</div>

We’ve been experiencing a weird issue with nginx used as a gzipping proxy. One of our internal services doesn’t support content-encoding and because it usually streams huge amounts of json data in response, we’ve dec…

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

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