# Server

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

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

---

## [Deriving stats](https://www.ruby-forum.com/t/deriving-stats/219740)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 5:27pm UTC](https://www.ruby-forum.com/t/deriving-stats/219740 "2012-05-14T17:27:49Z")

</div>

hi all, is the # of lines in the access log for nginx the # of transaction? im having some weird issue while testing it… im using jmeter and seige for load testing and even though i increase the # of connections… the…

---

## [Memc\_flags\_to\_last\_modified and srcache , no 304 possible?](https://www.ruby-forum.com/t/memc-flags-to-last-modified-and-srcache-no-304-possible/218510)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 14, 2012, 2:07pm UTC](https://www.ruby-forum.com/t/memc-flags-to-last-modified-and-srcache-no-304-possible/218510 "2012-05-14T14:07:52Z")

</div>

Hello All, Is it possible to use the memc\_flags\_to\_last\_modified directive with srcache ? It doesn’t work for me. When a browser request nginx with a “If-Modified-Since” header, I would like that nginx lookup in mem…

---

## [Http://hotbodybuilder.tk/](https://www.ruby-forum.com/t/http-hotbodybuilder-tk/219733)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 11:56am UTC](https://www.ruby-forum.com/t/http-hotbodybuilder-tk/219733 "2012-05-14T11:56:08Z")

</div>

Relaxation “Our bodies are our gardens, our wills are gardeners.” William Shakespeare Some people might think of relaxation as sitting in front of the TV, going to the pub, spending time with family or friends. Thes…

---

## [Online bodybulding Gaid](https://www.ruby-forum.com/t/online-bodybulding-gaid/219732)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [May 14, 2012, 11:55am UTC](https://www.ruby-forum.com/t/online-bodybulding-gaid/219732 "2012-05-14T11:55:28Z")

</div>

This is bodybulding websaite : bodybuilding for youngster Bodybuilding Relaxation Relaxation “Our bodies are our gardens, our wills are gardeners.” William Shakespeare Some people might think of relaxation as sitti…

---

## [Returning a 503 status code using try files with a maintenance page activated](https://www.ruby-forum.com/t/returning-a-503-status-code-using-try-files-with-a-maintenance-page-activated/219640)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 14, 2012, 11:05am UTC](https://www.ruby-forum.com/t/returning-a-503-status-code-using-try-files-with-a-maintenance-page-activated/219640 "2012-05-14T11:05:11Z")

</div>

Hello, I am looking into streamlining our nginx maintenance page check logic. In the nginx.org documentation there is an example usage for try\_files with a maintenance page. http://nginx.org/en/docs/http/ngx\_http\_cor…

---

## [Problem with drizzle-nginx module](https://www.ruby-forum.com/t/problem-with-drizzle-nginx-module/219731)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 14, 2012, 10:42am UTC](https://www.ruby-forum.com/t/problem-with-drizzle-nginx-module/219731 "2012-05-14T10:42:44Z")

</div>

I followed the instructions and build my nginx without any errors, but I am facing issues starting the server. I am getting an error: ./nginx: error while loading shared libraries: libdrizzle.so.1: cannot open share…

---

## [How to determine when the response from the cache](https://www.ruby-forum.com/t/how-to-determine-when-the-response-from-the-cache/219702)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 14, 2012, 9:05am UTC](https://www.ruby-forum.com/t/how-to-determine-when-the-response-from-the-cache/219702 "2012-05-14T09:05:23Z")

</div>

Hello! Can you please tell how to cope with this task. When nginx gives directly the page, add the title “backend\_id”. And when it taking from the cache, don’t add the header. The scheme works like this: Frontend - …

---

## [Add C code in configuration?](https://www.ruby-forum.com/t/add-c-code-in-configuration/219668)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 13, 2012, 3:45pm UTC](https://www.ruby-forum.com/t/add-c-code-in-configuration/219668 "2012-05-13T15:45:49Z")

</div>

Hello I am using nginx as a reverse proxy in front of my Varnish servers. I have to do some operations on request URL to make a key before passing it to Varnish. The main operations will be: Extract value of GET pa…

---

## [Ngx\_openresty devel version 1.0.15.3 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-0-15-3-released/219713)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 13, 2012, 8:55am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-0-15-3-released/219713 "2012-05-13T08:55:38Z")

</div>

Hi, folks! After two weeks’ development, I’m happy to announce the new development release of ngx\_openresty, 1.0.15.3: http://openresty.org/#Download Below is the change log for this release: now we bundle Sergey …

---

## [Nginx + PHP-FPM: Permissions on UNIX socket](https://www.ruby-forum.com/t/nginx-php-fpm-permissions-on-unix-socket/219602)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 17\
**Last updated:** [May 12, 2012, 6:31pm UTC](https://www.ruby-forum.com/t/nginx-php-fpm-permissions-on-unix-socket/219602 "2012-05-12T18:31:58Z")

</div>

Hello, After an update of my PHP package, now that I am using the new configuration files, I am setting up my new PHP-FPM UNIX socket. My UNIX socket is: Placed in /var/run/php-fpm.sock Owner & group: ‘www-data’ Fil…

---

## [Proxy subdomain root to a different server url](https://www.ruby-forum.com/t/proxy-subdomain-root-to-a-different-server-url/219703)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [May 12, 2012, 4:33pm UTC](https://www.ruby-forum.com/t/proxy-subdomain-root-to-a-different-server-url/219703 "2012-05-12T16:33:43Z")

</div>

Hi, I need to alias a subdomain to contents of an url, e.g. I need http://abcd.domain.com/ to proxy contents of http://www.domain.com/path1/path2/xyz All my attempts with proxy\_pass resulted in 301 to http://abcd.do…

---

## [Sub\_filter via proxy with gzip](https://www.ruby-forum.com/t/sub-filter-via-proxy-with-gzip/219696)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [May 12, 2012, 3:58am UTC](https://www.ruby-forum.com/t/sub-filter-via-proxy-with-gzip/219696 "2012-05-12T03:58:45Z")

</div>

Hey, For various reasons which I won’t go into, I’m trying to rewrite content via a proxy using a sub\_filter, this is fine as long as I use proxy\_set\_header Accept-Encoding “”; to disable gzip to the upstream proxy. …

---

## [Multi-domain to multiple roots & one rails-app](https://www.ruby-forum.com/t/multi-domain-to-multiple-roots-one-rails-app/219669)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 11, 2012, 6:17pm UTC](https://www.ruby-forum.com/t/multi-domain-to-multiple-roots-one-rails-app/219669 "2012-05-11T18:17:21Z")

</div>

Hello, I wish to consult an configuration for following situation. Thanks for any suggestion. I have multi domain rails app and for each domain there is a need for serving static files outside of rails, each domain f…

---

## [Strong ssl ciphers - browsers](https://www.ruby-forum.com/t/strong-ssl-ciphers-browsers/219597)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 11, 2012, 6:09pm UTC](https://www.ruby-forum.com/t/strong-ssl-ciphers-browsers/219597 "2012-05-11T18:09:54Z")

</div>

Hello, we want to secure our server against beast attack like shown here: http://nginx.org/en/docs/http/configuring\_https\_servers.html This is all working.after first tests. My Question is: are there some old but sti…

---

## [Display sidebar in wordpress?](https://www.ruby-forum.com/t/display-sidebar-in-wordpress/219672)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 11, 2012, 6:06pm UTC](https://www.ruby-forum.com/t/display-sidebar-in-wordpress/219672 "2012-05-11T18:06:11Z")

</div>

Hello all, I’ve tried looking through all the archives and may just have missed it - but I’m running wordpress and the sidebars (specified in my theme) don’t display at all, just the main index.php. How would I speci…

---

## [Content-type header charset info problem](https://www.ruby-forum.com/t/content-type-header-charset-info-problem/219664)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 11, 2012, 4:10pm UTC](https://www.ruby-forum.com/t/content-type-header-charset-info-problem/219664 "2012-05-11T16:10:56Z")

</div>

Hello, I’m trying to add “charset=utf-8” to the Content-Type header. When I don’t use “Accept-Encoding:gzip, deflate”, all is fine. When I add the above request header, the response header excludes the charset info f…

---

## [Rails XSendfile via Nginx](https://www.ruby-forum.com/t/rails-xsendfile-via-nginx/219577)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 11\
**Last updated:** [May 11, 2012, 2:37am UTC](https://www.ruby-forum.com/t/rails-xsendfile-via-nginx/219577 "2012-05-11T02:37:17Z")

</div>

Hi, I’m trying to configure nginx to serve a video file on behalf of my rails 3 backend using xsendfile. I want rails to redirect the request for 应用宝官网-全网最新最热手机应用游戏下载 to nginx to handle. Unfortunately, my current con…

---

## [Nginx rewrites duplicating directory?](https://www.ruby-forum.com/t/nginx-rewrites-duplicating-directory/219665)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 7:51pm UTC](https://www.ruby-forum.com/t/nginx-rewrites-duplicating-directory/219665 "2012-05-10T19:51:48Z")

</div>

Hi Everyone, I have installed nginx on a new centos server using fastcgi. I am having a little problem with the nginx config file. When my site is trying to grab a css file for example: http://domain.com/app/css.php?…

---

## [Tengine-1.2.5](https://www.ruby-forum.com/t/tengine-1-2-5/219661)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 10, 2012, 4:24pm UTC](https://www.ruby-forum.com/t/tengine-1-2-5/219661 "2012-05-10T16:24:57Z")

</div>

Hi folks, We’re glad to announce that Tengine-1.2.5 has been released. You can either download the tarball from taocode: http://tengine.taobao.org/download/tengine-1.2.5.tar.gz or check out the source from github: G…

---

## [Mod\_zip and limit\_rate](https://www.ruby-forum.com/t/mod-zip-and-limit-rate/219285)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 10, 2012, 12:17pm UTC](https://www.ruby-forum.com/t/mod-zip-and-limit-rate/219285 "2012-05-10T12:17:32Z")

</div>

Hi, I’ve setup nginx (1.0.14) with mod\_zip (1.1.6) and it runs fine “by itself”. The problem is that limit\_rate and limit\_rate\_after directives (in the location where the files are being served from) are not respect…

---

## [Upstream\_cache\_status for proxy\_store](https://www.ruby-forum.com/t/upstream-cache-status-for-proxy-store/219621)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 10, 2012, 11:08am UTC](https://www.ruby-forum.com/t/upstream-cache-status-for-proxy-store/219621 "2012-05-10T11:08:01Z")

</div>

Hi all: The $upstream\_cache\_status variable can be used to log cache HIT/MISS. But I found it’s only working with proxy\_cache. Although, proxy\_cahe is much advanced than proxy\_store, we’ve to use the latter one. Is…

---

## [Can not make WordPress pretty permalinks work (404 error)](https://www.ruby-forum.com/t/can-not-make-wordpress-pretty-permalinks-work-404-error/219620)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [May 9, 2012, 4:34pm UTC](https://www.ruby-forum.com/t/can-not-make-wordpress-pretty-permalinks-work-404-error/219620 "2012-05-09T16:34:06Z")

</div>

I’ve tried to follow the guide at as suggested in the post Re: Wordpress Permalinks , but it still doesn’t work. I’ve copied and replaced the server settings from the guide, and changed the parts pertaining to my se…

---

## [NGINX req/sec stats per domain](https://www.ruby-forum.com/t/nginx-req-sec-stats-per-domain/219622)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 9, 2012, 3:18pm UTC](https://www.ruby-forum.com/t/nginx-req-sec-stats-per-domain/219622 "2012-05-09T15:18:24Z")

</div>

Hello, I’m currently looking for an option to monitor the requests per second for NGINX. What I’m using at the moment is a script with SNMP OIDs that uses cURL and awk to grep statistics over localhost/server-status a…

---

## [Max-age=0 from Proxy only](https://www.ruby-forum.com/t/max-age-0-from-proxy-only/219607)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 8, 2012, 11:47pm UTC](https://www.ruby-forum.com/t/max-age-0-from-proxy-only/219607 "2012-05-08T23:47:22Z")

</div>

Hello All, What is the best way to cache a file from an origin to a proxy server (nginx) with a long max-age then change the max-age to 0 when the file is being downloaded from the Proxy. If that is confusing hopefu…

---

## [Nginx good with many simultaneous PHP users?](https://www.ruby-forum.com/t/nginx-good-with-many-simultaneous-php-users/219605)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 8, 2012, 11:36pm UTC](https://www.ruby-forum.com/t/nginx-good-with-many-simultaneous-php-users/219605 "2012-05-08T23:36:48Z")

</div>

Hi all, Got the usual LAMP setup currently, trying to decide whether to swap out Apache and fully replace with Nginx, or to stick Nginx in front of Apache just to serve static content and let Apache handle the PHP st…

---

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

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [May 8, 2012, 7:02pm UTC](https://www.ruby-forum.com/t/error-openat/219594 "2012-05-08T19:02:10Z")

</div>

Hi, I have alot of this error on my vhost-error\_log: 2012/05/08 08:01:19 \[crit\] 14351#0: \*1884636 openat() “/home/celta/public\_html/favicon.ico” failed (13: Permission denied), client: 189.38.238.160, server: domain.…

---

## [Rev. Proxy with SSL: IE/Safari/Chrome ok; FF fails](https://www.ruby-forum.com/t/rev-proxy-with-ssl-ie-safari-chrome-ok-ff-fails/219600)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 8, 2012, 4:24pm UTC](https://www.ruby-forum.com/t/rev-proxy-with-ssl-ie-safari-chrome-ok-ff-fails/219600 "2012-05-08T16:24:14Z")

</div>

Hello, after playing around for hours I would like to request some help. What I want: ssl reverse\_proxy to alfresco/tomcat backend. client\<–ssl–\>nginx\<–http–\>backend (1-n) I was able to setup it up so it works for IE…

---

## [Nginx doesn't response any request](https://www.ruby-forum.com/t/nginx-doesnt-response-any-request/219487)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [May 8, 2012, 3:14pm UTC](https://www.ruby-forum.com/t/nginx-doesnt-response-any-request/219487 "2012-05-08T15:14:28Z")

</div>

hi, I have installed nginx on linux and started it successful with default config file. but I can’t open my website. the error message in the IE is the connection has been interrupt. and there is nothing in the acce…

---

## [Best way to redirect non-CloudFront requests to CloudFront](https://www.ruby-forum.com/t/best-way-to-redirect-non-cloudfront-requests-to-cloudfront/219458)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 8, 2012, 1:37pm UTC](https://www.ruby-forum.com/t/best-way-to-redirect-non-cloudfront-requests-to-cloudfront/219458 "2012-05-08T13:37:50Z")

</div>

A summary of what I want to do is to redirect requests for image URL’s that don’t come from Amazon’s CloudFront service to CloudFront. This is because I’m using origin pull, but what the redirect to be done at the ngi…

---

## [Strange flow increase when using nginx as a proxy](https://www.ruby-forum.com/t/strange-flow-increase-when-using-nginx-as-a-proxy/219589)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 8, 2012, 11:10am UTC](https://www.ruby-forum.com/t/strange-flow-increase-when-using-nginx-as-a-proxy/219589 "2012-05-08T11:10:06Z")

</div>

os:centos 5.5 64bit(as a router) nginx:1.2.0 request-----\>\[ nic\_in-----\>nginx-----\>nic\_out \]-----\>backend\_server STRANGE FLOW INCREASE: request-\>linux:5Mbps linux-\>backend\_server:5Mbps linux-\>request:90Mbps backend\_…

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

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