# Server

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

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

---

## [If-Modified-Since to upstream servers](https://www.ruby-forum.com/t/if-modified-since-to-upstream-servers/223346)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 5, 2012, 3:11am UTC](https://www.ruby-forum.com/t/if-modified-since-to-upstream-servers/223346 "2012-10-05T03:11:50Z")

</div>

Hi. I’d like to know status of “1.3 Planned If-Modified-Since to upstream servers”. Thank you. – shin fukuda removed\_email\_address@domain.invalid

---

## [WAF Recommendations?](https://www.ruby-forum.com/t/waf-recommendations/222889)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [October 4, 2012, 11:33pm UTC](https://www.ruby-forum.com/t/waf-recommendations/222889 "2012-10-04T23:33:58Z")

</div>

Would like to integrate WAF functionality/capability with nginx. Has anyone tested the latest version of ModSecurity (2.7.0), which apparently has a module for nginx? Interested in any and all feedback and recommenda…

---

## [Please help with optimization](https://www.ruby-forum.com/t/please-help-with-optimization/223438)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 4, 2012, 7:13pm UTC](https://www.ruby-forum.com/t/please-help-with-optimization/223438 "2012-10-04T19:13:23Z")

</div>

Hello All, I am looking to optimize my nginx setup but am new to nginx and some of the settings. Currently the webserver is set to just default settings and on using an forum import script to migrate our forum from a…

---

## [NGINX in bridge mode?](https://www.ruby-forum.com/t/nginx-in-bridge-mode/223435)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 4, 2012, 2:03am UTC](https://www.ruby-forum.com/t/nginx-in-bridge-mode/223435 "2012-10-04T02:03:54Z")

</div>

Hello, I have developed this module which performs some changes to webpages. But performance is not as good as I expected because a reverse proxy node between the client and the server introduces quite some latency (…

---

## [Mongrel restart script in .sh file is not working](https://www.ruby-forum.com/t/mongrel-restart-script-in-sh-file-is-not-working/223413)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 3, 2012, 4:30pm UTC](https://www.ruby-forum.com/t/mongrel-restart-script-in-sh-file-is-not-working/223413 "2012-10-03T16:30:47Z")

</div>

When I run script to restart mongrel written in .sh file , It is not working properly. Below are the commands written in .sh file. cd /home/apps/stage/bd/log && rm mongrel.pid -f pkill -9 mongrel\_rails -u bandega cd …

---

## [Flush log buffers on reload](https://www.ruby-forum.com/t/flush-log-buffers-on-reload/223420)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 3, 2012, 2:42pm UTC](https://www.ruby-forum.com/t/flush-log-buffers-on-reload/223420 "2012-10-03T14:42:42Z")

</div>

Hi, It seems that Nginx does not flush the log buffers to disk on reload but it would be really helpful if it could. Is there any trick to flush the buffers to disk on reload? Thanks, Markus

---

## [Mobile browser detection at server level](https://www.ruby-forum.com/t/mobile-browser-detection-at-server-level/204698)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [October 3, 2012, 2:43am UTC](https://www.ruby-forum.com/t/mobile-browser-detection-at-server-level/204698 "2012-10-03T02:43:25Z")

</div>

Just wonder if anyone’s been doing anything with detecting mobile browsers at the nginx level. Something like wurfl can be great through PHP, but if you’re serving static cached versions, the PHP doesn’t get hot for …

---

## [Nginx https rewrite turns POST to GET](https://www.ruby-forum.com/t/nginx-https-rewrite-turns-post-to-get/223402)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 3, 2012, 12:08am UTC](https://www.ruby-forum.com/t/nginx-https-rewrite-turns-post-to-get/223402 "2012-10-03T00:08:02Z")

</div>

My proxy server runs on ip A and this is how people access my web service. The nginx configuration will redirect to a virtual machine on ip B. For the proxy server on IP A, I have this in my sites-available server { …

---

## [Nginx-1.3.7](https://www.ruby-forum.com/t/nginx-1-3-7/223395)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 2, 2012, 8:01pm UTC](https://www.ruby-forum.com/t/nginx-1-3-7/223395 "2012-10-02T20:01:25Z")

</div>

Changes with nginx 1.3.7 02 Oct 2012 \*) Feature: OCSP stapling support. Thanks to Comodo, DigiCert and GlobalSign for sponsoring this work. \*) Feature: the "ssl\_trusted\_cer…

---

## [Link to the latest stable release of nginx](https://www.ruby-forum.com/t/link-to-the-latest-stable-release-of-nginx/223302)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 2, 2012, 7:13pm UTC](https://www.ruby-forum.com/t/link-to-the-latest-stable-release-of-nginx/223302 "2012-10-02T19:13:29Z")

</div>

Hi, Can you put a symbolic link in Index of /download/ that would point to the latest stable release of nginx and that would be updated with each release? Something like: http://nginx.org/download/nginx-current.tar.g…

---

## [Nginx & upstream\_response\_time](https://www.ruby-forum.com/t/nginx-upstream-response-time/223392)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 2, 2012, 4:59pm UTC](https://www.ruby-forum.com/t/nginx-upstream-response-time/223392 "2012-10-02T16:59:42Z")

</div>

Hi, Currently I’m running nginx 1.2.4 with uwsgi backend. To my understanding $upstream\_response\_time should represent time taken to deliver content by upsteam (in my case uwsgi backend). It looks like it’t not the c…

---

## [Fastcgi and $document\_uri](https://www.ruby-forum.com/t/fastcgi-and-document-uri/223390)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 2, 2012, 3:30pm UTC](https://www.ruby-forum.com/t/fastcgi-and-document-uri/223390 "2012-10-02T15:30:51Z")

</div>

Hi all, I’m trying to setup nginx as bellow: location ~ ^/git(.\*)$ { include /etc/nginx/fastcgi.conf; fastcgi\_param PATH\_INFO $1; fastcgi\_pass 127.0.0.1:8010; } For information, /etc/nginx/fastcgi.conf: …

---

## [Nginx to server secure and not secure traffic](https://www.ruby-forum.com/t/nginx-to-server-secure-and-not-secure-traffic/223360)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 2, 2012, 7:03am UTC](https://www.ruby-forum.com/t/nginx-to-server-secure-and-not-secure-traffic/223360 "2012-10-02T07:03:28Z")

</div>

We have secure and no secure domains for our website e.g. secure.xyz.com and xyz.com I used following like to make single server handle both port 80 and 443 traffic. http://nginx.org/en/docs/http/configuring\_https\_…

---

## [Max file size for proxy\_cache\_path](https://www.ruby-forum.com/t/max-file-size-for-proxy-cache-path/223367)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 9:51pm UTC](https://www.ruby-forum.com/t/max-file-size-for-proxy-cache-path/223367 "2012-10-01T21:51:48Z")

</div>

Hi. Is there any way to limit size of file, that can be cached into proxy\_cache\_path? For example, we have: proxy\_cache\_path /var/nginx/cache/html levels=1:2 keys\_zone=html-cache:18m max\_size=5g inactive=60…

---

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

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 1, 2012, 8:42pm UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-3-5-released/223366 "2012-10-01T20:42:16Z")

</div>

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

---

## [Re: Happy Birthday Igor](https://www.ruby-forum.com/t/re-happy-birthday-igor/223327)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 30, 2012, 11:53pm UTC](https://www.ruby-forum.com/t/re-happy-birthday-igor/223327 "2012-09-30T23:53:08Z")

</div>

Thank you! – Igor S.

---

## [Happy Birthday](https://www.ruby-forum.com/t/happy-birthday/223336)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [September 30, 2012, 12:36pm UTC](https://www.ruby-forum.com/t/happy-birthday/223336 "2012-09-30T12:36:42Z")

</div>

Happy birthday Igor from Sri Lanka.

---

## [Happy Birthday Igor](https://www.ruby-forum.com/t/happy-birthday-igor/223300)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 28\
**Last updated:** [September 30, 2012, 8:53am UTC](https://www.ruby-forum.com/t/happy-birthday-igor/223300 "2012-09-30T08:53:34Z")

</div>

Just seen pass on twitter the mentioning of your birthday. Happy birthday from Paris and thanks for all your work on Nginx. Félicitations/Feliz Aniversário — appa

---

## [Re:](https://www.ruby-forum.com/t/re/223334)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 30, 2012, 7:23am UTC](https://www.ruby-forum.com/t/re/223334 "2012-09-30T07:23:38Z")

</div>

On Sep 29, 2012, at 23:40 , Ian M. Evans wrote: } Is it a formatting error? This map defines $blogid variable. $blogname must be defined somewhere else. – Igor S.

---

## [Authenticated session downloads auth\_basic protected php files](https://www.ruby-forum.com/t/authenticated-session-downloads-auth-basic-protected-php-files/223333)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 30, 2012, 1:01am UTC](https://www.ruby-forum.com/t/authenticated-session-downloads-auth-basic-protected-php-files/223333 "2012-09-30T01:01:05Z")

</div>

Hi I’m a nginx newbie, but I think I’m experiencing something seriously strange. I’m not sure I can reproduce the steps needed, but the thing is that I ended up nginx downloading protected php files from the site! Ste…

---

## [Updating some old "if" statements](https://www.ruby-forum.com/t/updating-some-old-if-statements/223282)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 29, 2012, 5:47am UTC](https://www.ruby-forum.com/t/updating-some-old-if-statements/223282 "2012-09-29T05:47:57Z")

</div>

A few years back this list helped me create some locations that allowed some extensionless files to run as php and pass the rest of their path along as a variable. I’m wondering if there’s been any changes or tweaks o…

---

## [Happy Birthday Igor!](https://www.ruby-forum.com/t/happy-birthday-igor/223310)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 28, 2012, 10:24pm UTC](https://www.ruby-forum.com/t/happy-birthday-igor/223310 "2012-09-28T22:24:29Z")

</div>

Happy birthday from Poland, Igor. :slight\_smile: Pawe Marzec cojestgrane.pl

---

## [Problem with proxies, redirections and headers](https://www.ruby-forum.com/t/problem-with-proxies-redirections-and-headers/223304)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [September 28, 2012, 3:17pm UTC](https://www.ruby-forum.com/t/problem-with-proxies-redirections-and-headers/223304 "2012-09-28T15:17:17Z")

</div>

Hi all, I have to set up an infrastructure that allows the dynamic management of SCM repositories (svn/git, creation/destruction, authentication via MySQL, clone/checkout, pull/update, push/commit). This is the way …

---

## [Should we use "if ( $request\_method." or "limit\_except."?](https://www.ruby-forum.com/t/should-we-use-if-request-method-or-limit-except/223299)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [September 28, 2012, 1:05pm UTC](https://www.ruby-forum.com/t/should-we-use-if-request-method-or-limit-except/223299 "2012-09-28T13:05:12Z")

</div>

Hello list, Can anybody tell me if the bellow constructs are equivalent? server { … if ( $request\_method !~ ^(?:GET|HEAD|POST)$ ) { return 444; } … server { … location / { limit\_except GET HEAD POST { deny all;…

---

## [NGINX as proxy before apache, and localy store php generated images](https://www.ruby-forum.com/t/nginx-as-proxy-before-apache-and-localy-store-php-generated-images/223293)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 28, 2012, 11:42am UTC](https://www.ruby-forum.com/t/nginx-as-proxy-before-apache-and-localy-store-php-generated-images/223293 "2012-09-28T11:42:49Z")

</div>

Hello everyone, I am using nginx as proxy before apache a long time already. And it is really terrific what it does. Ram usage dropped like 3 times I mainly set up image cache headers in nginx config Today I’ve spot…

---

## [Code 499 and ab tools](https://www.ruby-forum.com/t/code-499-and-ab-tools/223274)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 28, 2012, 10:42am UTC](https://www.ruby-forum.com/t/code-499-and-ab-tools/223274 "2012-09-28T10:42:00Z")

</div>

HI, I am testing one of our production server with ab (ab -n 1000 -c 150 “http://www.myserver.com”) and what I get is: … Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests …

---

## [Log file empty](https://www.ruby-forum.com/t/log-file-empty/223279)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 28, 2012, 9:40am UTC](https://www.ruby-forum.com/t/log-file-empty/223279 "2012-09-28T09:40:36Z")

</div>

Dear All My system is FreeBSD 9 with latest version nginx. Here is my conf file content: #user www; worker\_processes 1; #error\_log /var/log/nginx/error.log; #pid logs/nginx.pid; events { worker\_co…

---

## [Record log of full error response?](https://www.ruby-forum.com/t/record-log-of-full-error-response/223229)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 28, 2012, 2:37am UTC](https://www.ruby-forum.com/t/record-log-of-full-error-response/223229 "2012-09-28T02:37:41Z")

</div>

Hello nginxers, I’ve read about the error\_page\[1\] config setting and it’s great. However serving a custom page instead of the error and just storing the error code in an entry in /var/nginx/log/error.log is not enough…

---

## [Working SPNEGO/GSS Negotiate](https://www.ruby-forum.com/t/working-spnego-gss-negotiate/223281)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 27, 2012, 9:33pm UTC](https://www.ruby-forum.com/t/working-spnego-gss-negotiate/223281 "2012-09-27T21:33:55Z")

</div>

Back in February, some patches were posted to the list (I patched the spnego module) that made the spnego module for nginx partially work. It did not work on non-standard ports and did not fall back to GSS Negotiate …

---

## [Echo\_location Not Working](https://www.ruby-forum.com/t/echo-location-not-working/223246)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 27, 2012, 8:02pm UTC](https://www.ruby-forum.com/t/echo-location-not-working/223246 "2012-09-27T20:02:11Z")

</div>

Anybody having issues with the echo\_location (and echo\_location\_async) directive? I have tried to get this to work with v1.1.18 and v1.3.6, and they both exhibit the same behavior. Basically, only the output from t…

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

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