# Server

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

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

---

## [Administrivia: envelope sender address and the mailing list](https://www.ruby-forum.com/t/administrivia-envelope-sender-address-and-the-mailing-list/223022)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [September 19, 2012, 1:18pm UTC](https://www.ruby-forum.com/t/administrivia-envelope-sender-address-and-the-mailing-list/223022 "2012-09-19T13:18:13Z")

</div>

Until recently messages to the mailing list from unsubscribed addresses were forwarded directly to the maillist administrator, and sender had no knowledge why message was delayed or dropped. Since the number of messa…

---

## [Subdirectory still redirecting to www. despite rule](https://www.ruby-forum.com/t/subdirectory-still-redirecting-to-www-despite-rule/223016)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 19, 2012, 11:02am UTC](https://www.ruby-forum.com/t/subdirectory-still-redirecting-to-www-despite-rule/223016 "2012-09-19T11:02:41Z")

</div>

This issue is connected to the threads rewrite to www EXCEPT for one directory (Rewrite to www EXCEPT for one directory - NGINX - Ruby-Forum) and Nginx location rule for Wordpress Multisite in subdirectories (Nginx l…

---

## [How to create configure about https default](https://www.ruby-forum.com/t/how-to-create-configure-about-https-default/223017)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [September 19, 2012, 8:00am UTC](https://www.ruby-forum.com/t/how-to-create-configure-about-https-default/223017 "2012-09-19T08:00:50Z")

</div>

Hi, I want https://192.168.0.1 can return 500,but if there is a https://localhost sites,browsering to https://192.168.0.1 will go to https://localhost. How can i avoid this.

---

## [Name of upstream is returned to a client and not resolved to a server](https://www.ruby-forum.com/t/name-of-upstream-is-returned-to-a-client-and-not-resolved-to-a-server/222997)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 18, 2012, 10:10pm UTC](https://www.ruby-forum.com/t/name-of-upstream-is-returned-to-a-client-and-not-resolved-to-a-server/222997 "2012-09-18T22:10:44Z")

</div>

Hello everybody, I’d like to setup nginx as a softwareloadbalancer, balancing incoming requests to different tomcats. In order to achiev my goal, i defined some upstreams like this: upstream myupstream { server 192.…

---

## [Nginx modifying the jsonp response message](https://www.ruby-forum.com/t/nginx-modifying-the-jsonp-response-message/222976)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 18, 2012, 9:03pm UTC](https://www.ruby-forum.com/t/nginx-modifying-the-jsonp-response-message/222976 "2012-09-18T21:03:33Z")

</div>

Hi, We are creating a web api application. In one of our API’s if there are any validation errors, we are returning the error message in JSONP format. In the API Request URL user adds a query string parameter ?json…

---

## [(re-post) Add "optional\_no\_ca" option to ssl\_verify\_client to enable app-only CA chain validation](https://www.ruby-forum.com/t/re-post-add-optional-no-ca-option-to-ssl-verify-client-to-enable-app-only-ca-chain-validation/222936)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 18, 2012, 9:44am UTC](https://www.ruby-forum.com/t/re-post-add-optional-no-ca-option-to-ssl-verify-client-to-enable-app-only-ca-chain-validation/222936 "2012-09-18T09:44:28Z")

</div>

Re-post of patch from Updated version of the patch in the original thread haven’t received any new attention, it seems, and I’ve received several inquiries now about the status of this work, so this thread is basica…

---

## [Q about don't log 400 errors](https://www.ruby-forum.com/t/q-about-dont-log-400-errors/222935)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 18, 2012, 9:35am UTC](https://www.ruby-forum.com/t/q-about-dont-log-400-errors/222935 "2012-09-18T09:35:41Z")

</div>

Hi, I have follow the instruction on http://wiki.nginx.org/HWLoadbalancerCheckErrors but I still get the 400 entries in the access log. Please can anybody help, thanks. Cheers Aleks /opt/nginx/installed/sbin/nginx …

---

## [Nginx\_cross\_origin\_module on nginx-1.2.1](https://www.ruby-forum.com/t/nginx-cross-origin-module-on-nginx-1-2-1/222794)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 17, 2012, 5:52pm UTC](https://www.ruby-forum.com/t/nginx-cross-origin-module-on-nginx-1-2-1/222794 "2012-09-17T17:52:54Z")

</div>

Hi, We are trying to implement cross origin resource sharing protocol on our system. I just want to try nginx\_cross\_origin\_module and see how it work instead of add\_header approach. The issue is I can’t see the CORS …

---

## [Auto detect the number of CPU's and set worker\_processes](https://www.ruby-forum.com/t/auto-detect-the-number-of-cpus-and-set-worker-processes/222944)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 17, 2012, 11:56am UTC](https://www.ruby-forum.com/t/auto-detect-the-number-of-cpus-and-set-worker-processes/222944 "2012-09-17T11:56:30Z")

</div>

I am trying to get fancy and have nginx.conf auto-detect the number of CPU’s on the server and then set worker\_processes to that number. Here is what I have: worker\_processes $(cat /proc/cpuinfo | grep "processor" | …

---

## [Support for UNIX socket in abstract namespace](https://www.ruby-forum.com/t/support-for-unix-socket-in-abstract-namespace/207312)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [September 17, 2012, 9:05am UTC](https://www.ruby-forum.com/t/support-for-unix-socket-in-abstract-namespace/207312 "2012-09-17T09:05:49Z")

</div>

(Warning this is Linux only) Hi all, the attached path adds support for unix socket in abstract namespace. They are special sockets without filesystem correspondence (so you can use them without thinking about permi…

---

## [Does fastcgi\_cache depends on open\_file\_cache?](https://www.ruby-forum.com/t/does-fastcgi-cache-depends-on-open-file-cache/222924)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 16, 2012, 2:55pm UTC](https://www.ruby-forum.com/t/does-fastcgi-cache-depends-on-open-file-cache/222924 "2012-09-16T14:55:16Z")

</div>

Hi All, I use Nginx on many sites and recently I thought to make use of fastcgi\_cache to capture response of PHP-FPM. I want to put it in RAM (We have 32GB RAM. More than 50% of it is free) I am confused as some arti…

---

## [More\_set\_headers with content-type "text/html" does not send header](https://www.ruby-forum.com/t/more-set-headers-with-content-type-text-html-does-not-send-header/222901)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 15, 2012, 4:45pm UTC](https://www.ruby-forum.com/t/more-set-headers-with-content-type-text-html-does-not-send-header/222901 "2012-09-15T16:45:07Z")

</div>

Hi, I’m using nginx (1.3.6 +spdy52) with agentzh/headers-more-nginx-module (current master branch from git). There’s a Content-Type header sent which does contain the following: text/html; charset=utf-8 However when …

---

## [Is it possible to run a shared php-pool while keeping security?](https://www.ruby-forum.com/t/is-it-possible-to-run-a-shared-php-pool-while-keeping-security/222916)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 15, 2012, 3:36pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-run-a-shared-php-pool-while-keeping-security/222916 "2012-09-15T15:36:09Z")

</div>

I’m trying to configure my first VPS using nginx and php-fpm. I’ve set it up and everything is working well, but I’ve realized that for every user created there is a separate php-fpm pool what takes about 30 MB of me…

---

## [Lua, memc and image\_filter, image not resized via lua](https://www.ruby-forum.com/t/lua-memc-and-image-filter-image-not-resized-via-lua/222844)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 15, 2012, 8:56am UTC](https://www.ruby-forum.com/t/lua-memc-and-image-filter-image-not-resized-via-lua/222844 "2012-09-15T08:56:33Z")

</div>

Hello, We attempt to make a simple image resizer and cacher using Nginx en storing in Memcache and the image\_filter. First we attempted to do it via eval but we quickly ran into an old issue 1 i had, i can either sto…

---

## [Cloudfront and compression](https://www.ruby-forum.com/t/cloudfront-and-compression/222927)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [September 15, 2012, 4:56am UTC](https://www.ruby-forum.com/t/cloudfront-and-compression/222927 "2012-09-15T04:56:27Z")

</div>

In order to get cloudfront to deliver gzipped content I’ve had to change from gzip\_http\_version 1.1 to 1.0, and manually add\_header Vary Accept-Encoding to the relevant sites. What I’m wondering is how this will aff…

---

## [Nginx and Zencart](https://www.ruby-forum.com/t/nginx-and-zencart/222778)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 14, 2012, 11:23pm UTC](https://www.ruby-forum.com/t/nginx-and-zencart/222778 "2012-09-14T23:23:58Z")

</div>

I am wanting to utilize nginx with zencart. The issue I am having isn’t getting Zencart to work, but to recreate the .htaccess files that are located underneath Zencart’s sub directories. Below is the .htaccess file…

---

## [Try\_files based on file mtime?](https://www.ruby-forum.com/t/try-files-based-on-file-mtime/190058)

<div class="topic-metadata">

**Author:** [@stdragon](https://www.ruby-forum.com/u/stdragon)\
**Replies:** 4\
**Last updated:** [September 14, 2012, 11:16am UTC](https://www.ruby-forum.com/t/try-files-based-on-file-mtime/190058 "2012-09-14T11:16:25Z")

</div>

Hi all, I found nginx a little while ago and I’ve been working on a fast wordpress setup with it. One thing I’m having a problem with is serving cached pages with an expiration. So I have this (simplified a bit): …

---

## [500 nginx bad gateway when Update vbulletin template](https://www.ruby-forum.com/t/500-nginx-bad-gateway-when-update-vbulletin-template/222762)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [September 13, 2012, 10:50pm UTC](https://www.ruby-forum.com/t/500-nginx-bad-gateway-when-update-vbulletin-template/222762 "2012-09-13T22:50:50Z")

</div>

hello when i update template in vbulletin php forum i got this error in vhost-error\_log 2012/09/09 23:13:16 \[error\] 10313#0: \*3877 upstream prematurely closed connection while reading response header from upstream, c…

---

## [Nginx proxy\_pass file upload 500 "Internal Server Error"](https://www.ruby-forum.com/t/nginx-proxy-pass-file-upload-500-internal-server-error/246544)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 13, 2012, 9:13pm UTC](https://www.ruby-forum.com/t/nginx-proxy-pass-file-upload-500-internal-server-error/246544 "2012-09-13T21:13:49Z")

</div>

I’ve a problem using nginx as reverse proxy. I sent a POST request to nginx for file upload. My backend is an apache2 web server. My backend receive correctly request and save correctly uploaded file. My frontend, ng…

---

## ["zero size buf in output"](https://www.ruby-forum.com/t/zero-size-buf-in-output/222341)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 13, 2012, 9:12pm UTC](https://www.ruby-forum.com/t/zero-size-buf-in-output/222341 "2012-09-13T21:12:38Z")

</div>

Hello, We have strange messages in our error.log - but everything works. We tried to re-produce this in a testing-environment - but we couldn’t. Thanks a lot Sandy 2012/08/23 19:14:54 \[alert\] 17017#0: \*1378690 zero …

---

## [Md5 collision](https://www.ruby-forum.com/t/md5-collision/222873)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 13, 2012, 5:21pm UTC](https://www.ruby-forum.com/t/md5-collision/222873 "2012-09-13T17:21:48Z")

</div>

Hi, Looking for help with a high number of md5 collisions with proxy caching. It’s my understanding that we shouldn’t be getting any, but we seem to be getting quite a few. -V nginx version: nginx/1.2.3 built by …

---

## [Nginx proxy\_pass file upload 500 "Internal Server Error"](https://www.ruby-forum.com/t/nginx-proxy-pass-file-upload-500-internal-server-error/246543)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 13, 2012, 3:10pm UTC](https://www.ruby-forum.com/t/nginx-proxy-pass-file-upload-500-internal-server-error/246543 "2012-09-13T15:10:10Z")

</div>

I’ve a problem using nginx as reverse proxy. I sent a POST request to nginx for file upload. My backend is an apache2 web server. My backend receive correctly request and save correctly uploaded file. My frontend, ng…

---

## [Condition in upstream](https://www.ruby-forum.com/t/condition-in-upstream/222856)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 13, 2012, 9:30am UTC](https://www.ruby-forum.com/t/condition-in-upstream/222856 "2012-09-13T09:30:59Z")

</div>

Hi guys, I’m studying about in the use of upstream in the nginx. And I have a question about the condition of use it. Now, I have the following environment in production: Internet – \> Nginx → Varnish → Apache I woul…

---

## [Nginx-1.3.6](https://www.ruby-forum.com/t/nginx-1-3-6/222836)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 12, 2012, 10:08pm UTC](https://www.ruby-forum.com/t/nginx-1-3-6/222836 "2012-09-12T22:08:32Z")

</div>

Changes with nginx 1.3.6 12 Sep 2012 \*) Feature: the ngx\_http\_gunzip\_filter\_module. \*) Feature: the "memcached\_gzip\_flag" directive. \*) Feature: the "always" parameter of the "…

---

## [Wildcard subdomains (any change in nginx?)](https://www.ruby-forum.com/t/wildcard-subdomains-any-change-in-nginx/222855)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 12, 2012, 9:33pm UTC](https://www.ruby-forum.com/t/wildcard-subdomains-any-change-in-nginx/222855 "2012-09-12T21:33:29Z")

</div>

I was using wildcard for including all subdomains for a server\_name as server\_name domain.com; I just installed nginx 1.2.3, but this configuration no longer works and subdomains lead to nginx 404 page. Since I follow…

---

## [NEWBIE: cache swf content?](https://www.ruby-forum.com/t/newbie-cache-swf-content/222843)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [September 12, 2012, 3:29pm UTC](https://www.ruby-forum.com/t/newbie-cache-swf-content/222843 "2012-09-12T15:29:22Z")

</div>

I am running a few webapps on Tomcat, and placing nginx in front for SSL, content caching and to remove some of the load from Tomcat where possible (currently testing v1.2.3 on CentOS 6.x). I have most of the configur…

---

## [Upgrade problem to nginx 1.2.3](https://www.ruby-forum.com/t/upgrade-problem-to-nginx-1-2-3/222779)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 11, 2012, 1:29am UTC](https://www.ruby-forum.com/t/upgrade-problem-to-nginx-1-2-3/222779 "2012-09-11T01:29:50Z")

</div>

Hi, I wnat to upgrade to nginx 1.2.3 but it gives me the following error: objs/src/core/ngx\_regex.o: In function ngx\_pcre\_free\_studies': /usr/local/src/nginx-1.2.3/src/core/ngx\_regex.c:307: undefined reference topcre\_f…

---

## [Error log](https://www.ruby-forum.com/t/error-log/222783)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 10, 2012, 4:44pm UTC](https://www.ruby-forum.com/t/error-log/222783 "2012-09-10T16:44:30Z")

</div>

Hi, when I upload a file (big or small) I get this error line in error.log: a client request body is buffered to a temporary file /usr/local/nginx/client\_body\_temp/0000000075 The error log marks it as warning. Durin…

---

## [Help with redirect from old to new URL](https://www.ruby-forum.com/t/help-with-redirect-from-old-to-new-url/222754)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [September 10, 2012, 3:18pm UTC](https://www.ruby-forum.com/t/help-with-redirect-from-old-to-new-url/222754 "2012-09-10T15:18:32Z")

</div>

Hi, We are switching vendors for our property searches and each one formats the URLs a little bit differently. We already have 40,000+ URLs indexed and want users to be 301 redirected to the new URL. The only diffe…

---

## [Upload progess bar module](https://www.ruby-forum.com/t/upload-progess-bar-module/222774)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [September 10, 2012, 1:24pm UTC](https://www.ruby-forum.com/t/upload-progess-bar-module/222774 "2012-09-10T13:24:35Z")

</div>

Hi, the HttpUploadProgressModule works with the latest versions of nginx? It’s possible use it with multiple files? Thanks, Andrea – Andrea S. - Netbuilder S.r.l. Multidialogo : La storia e’ fatta da chi sa comuni…

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

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