# Server

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

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

---

## [Ngx\_http\_upstream\_keepalive](https://www.ruby-forum.com/t/ngx-http-upstream-keepalive/151705)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 10\
**Last updated:** [January 26, 2009, 8:55pm UTC](https://www.ruby-forum.com/t/ngx-http-upstream-keepalive/151705 "2009-01-26T20:55:16Z")

</div>

Hello! ñ ×Ó£-ÔÁËÉ ÓÄÅÌÁÌ ÏÂÅÝÁÎÎÙÊ ÍÏÄÕÌØ ÄÌÑ ÐÏÄÄÅÒÖÁÎÉÑ ÐÏÓÔÏÑÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ë ÂÅËÅÎÄÁÍ. ÷ ÎÁÓÔÏÑÝÉÊ ÍÏÍÅÎÔ ÜÔÏ ÉÍÅÅÔ ÓÍÙÓÌ ÔÏÌØËÏ ÄÌÑ ÓÏÅÄÉÎÅÎÉÊ Ë memcached’Õ. ó http É fastcgi ÍÏÖÎÏ ÄÁÖÅ É ÎÅ ÐÒÏÂÏ×ÁÔØ, ÎÉÞÅÇÏ…

---

## [Prevent Direct access to a URL](https://www.ruby-forum.com/t/prevent-direct-access-to-a-url/158588)

<div class="topic-metadata">

**Author:** [@Shamunda](https://www.ruby-forum.com/u/Shamunda)\
**Replies:** 2\
**Last updated:** [January 26, 2009, 6:25pm UTC](https://www.ruby-forum.com/t/prevent-direct-access-to-a-url/158588 "2009-01-26T18:25:23Z")

</div>

Hi all - I was given a project to research if it’s possible to prevent users from accessing a path directly using NGINX? Here’s are layout: IIS & JBoss We have an IIS server presenting clients with their login page.…

---

## [Nginx-0.6.35](https://www.ruby-forum.com/t/nginx-0-6-35/158665)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [January 26, 2009, 5:27pm UTC](https://www.ruby-forum.com/t/nginx-0-6-35/158665 "2009-01-26T17:27:42Z")

</div>

Changes with nginx 0.6.35 26 Jan 2009 \*) Bugfix: in shared memory allocations if nginx was built without debugging. Thanks to Andrey Kvasov. \*) Bugfixes in an "Expect" requ…

---

## [Realip module trouble](https://www.ruby-forum.com/t/realip-module-trouble/158660)

<div class="topic-metadata">

**Author:** [@MichaSSSSSJaszczyk](https://www.ruby-forum.com/u/MichaSSSSSJaszczyk)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 3:54pm UTC](https://www.ruby-forum.com/t/realip-module-trouble/158660 "2009-01-26T15:54:45Z")

</div>

Hi guys, I’m having some trouble using realip module. My case is rather simple, so I hope you can help me figure it out :). My Nginx is accessed either directly by clients or via a proxy. In either case I’d like to s…

---

## [Re: Nginx on Debian testing compiled without gzip\_static?](https://www.ruby-forum.com/t/re-nginx-on-debian-testing-compiled-without-gzip-static/158640)

<div class="topic-metadata">

**Author:** [@Dieter\_Zinke](https://www.ruby-forum.com/u/Dieter_Zinke)\
**Replies:** 1\
**Last updated:** [January 26, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/re-nginx-on-debian-testing-compiled-without-gzip-static/158640 "2009-01-26T12:50:06Z")

</div>

I’ ve purged nginx and installed nginx new from sources. The Debian package seems to be compiled without gzip\_static and seems also fragile while removing the package with apt-get remove nginx. This is not sufficient …

---

## [Re: Using nginx as a frontend for apache2 serving wordpress w/ super-cache](https://www.ruby-forum.com/t/re-using-nginx-as-a-frontend-for-apache2-serving-wordpress-w-super-cache/158639)

<div class="topic-metadata">

**Author:** [@Dieter\_Zinke](https://www.ruby-forum.com/u/Dieter_Zinke)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 11:05am UTC](https://www.ruby-forum.com/t/re-using-nginx-as-a-frontend-for-apache2-serving-wordpress-w-super-cache/158639 "2009-01-26T11:05:15Z")

</div>

Serving static from nginx doesnt work due to the following code in your server configuration: all other requests go to Wordpress if (!-e $request\_filename) { rewrite . /index.php last; } It’s done at server level…

---

## [Throttling uploads (incoming) traffic to nginx](https://www.ruby-forum.com/t/throttling-uploads-incoming-traffic-to-nginx/157558)

<div class="topic-metadata">

**Author:** [@jkadarusman](https://www.ruby-forum.com/u/jkadarusman)\
**Replies:** 3\
**Last updated:** [January 25, 2009, 8:55pm UTC](https://www.ruby-forum.com/t/throttling-uploads-incoming-traffic-to-nginx/157558 "2009-01-25T20:55:55Z")

</div>

I asked a similar question but no one answered and we keep failing when trying too, so I’m trying to ask again. Our organization is testing nginx, We noticed that the limit\_rate directive works for data sent out from …

---

## [Module development document for dummies](https://www.ruby-forum.com/t/module-development-document-for-dummies/158602)

<div class="topic-metadata">

**Author:** [@Eren\_TSSS\_rkay](https://www.ruby-forum.com/u/Eren_TSSS_rkay)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 7:22pm UTC](https://www.ruby-forum.com/t/module-development-document-for-dummies/158602 "2009-01-25T19:22:50Z")

</div>

Hello, I know there is Emiller’s Guide \[0\] about nginx module development but it seems really complicated for newbies, at least for me :slight\_smile: It seems that it’s for half-experts. First of all, I really wond…

---

## [Nginx on Debian testing compiled without gzip\_static?](https://www.ruby-forum.com/t/nginx-on-debian-testing-compiled-without-gzip-static/158578)

<div class="topic-metadata">

**Author:** [@Dieter\_Zinke](https://www.ruby-forum.com/u/Dieter_Zinke)\
**Replies:** 0\
**Last updated:** [January 25, 2009, 11:19am UTC](https://www.ruby-forum.com/t/nginx-on-debian-testing-compiled-without-gzip-static/158578 "2009-01-25T11:19:21Z")

</div>

I use nginx/0.6.32 from the Debian/testing repository, which might be not the best choice. For example the mime.types file was missing. I am trying to get nginx as a frontend for apache working. I am not sure, but do …

---

## [Using nginx as a frontend for apache2 serving wordpress w/ super-cache](https://www.ruby-forum.com/t/using-nginx-as-a-frontend-for-apache2-serving-wordpress-w-super-cache/158528)

<div class="topic-metadata">

**Author:** [@Dieter\_Zinke](https://www.ruby-forum.com/u/Dieter_Zinke)\
**Replies:** 1\
**Last updated:** [January 25, 2009, 10:43am UTC](https://www.ruby-forum.com/t/using-nginx-as-a-frontend-for-apache2-serving-wordpress-w-super-cache/158528 "2009-01-25T10:43:00Z")

</div>

I am trying to setup nginx as a frontend for apache2 to serve Wordpress with super-cache. I don’ t want to use this for a production server, only to speed up my old Athlon 1100 workstation, which moves sometimes into …

---

## [Verisign Intermediate CA issues](https://www.ruby-forum.com/t/verisign-intermediate-ca-issues/158494)

<div class="topic-metadata">

**Author:** [@James\_Ochs](https://www.ruby-forum.com/u/James_Ochs)\
**Replies:** 6\
**Last updated:** [January 24, 2009, 7:43pm UTC](https://www.ruby-forum.com/t/verisign-intermediate-ca-issues/158494 "2009-01-24T19:43:18Z")

</div>

Hi all, We have a verisign ssl cert and I’ve configured nginx with the .crt file containing our cert and the verisign intermediate cert (in that order in the file) In MacOs safari, both on the desktop and the iphone…

---

## [Re: Adding phpmyadmin to my default site](https://www.ruby-forum.com/t/re-adding-phpmyadmin-to-my-default-site/158492)

<div class="topic-metadata">

**Author:** [@Dieter\_Zinke](https://www.ruby-forum.com/u/Dieter_Zinke)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 9:48pm UTC](https://www.ruby-forum.com/t/re-adding-phpmyadmin-to-my-default-site/158492 "2009-01-23T21:48:58Z")

</div>

Thanks for the help, Igor, but i fixed it by myself. I forgot to delete this rule in the default config file which results in missing css files etc. : # serve static files directly location ~\* ^.+\\.(jpg|jpeg|gif|…

---

## [Starting nginx without checking for upstream server availability](https://www.ruby-forum.com/t/starting-nginx-without-checking-for-upstream-server-availability/158477)

<div class="topic-metadata">

**Author:** [@John\_Kemp](https://www.ruby-forum.com/u/John_Kemp)\
**Replies:** 3\
**Last updated:** [January 23, 2009, 9:48pm UTC](https://www.ruby-forum.com/t/starting-nginx-without-checking-for-upstream-server-availability/158477 "2009-01-23T21:48:58Z")

</div>

Hi, I am using nginx in a reverse-proxy situation, with several upstream servers on different networks. I am often testing parts of my server without access to some of the upstream servers. When I try to start nginx …

---

## [Option to disable the path in client\_body\_temp\_path?](https://www.ruby-forum.com/t/option-to-disable-the-path-in-client-body-temp-path/158488)

<div class="topic-metadata">

**Author:** [@Ask\_BjSSSSrn\_Hansen](https://www.ruby-forum.com/u/Ask_BjSSSSrn_Hansen)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 9:15pm UTC](https://www.ruby-forum.com/t/option-to-disable-the-path-in-client-body-temp-path/158488 "2009-01-23T21:15:25Z")

</div>

Hi, I wanted to add “native” support for nginx in MogileFS and ran into the “client\_body\_temp\_path must be on the device” problem. The typical setup for a mogile storage node is to have a root of /var/ mogdata and th…

---

## [Rewriting a filename in any directory](https://www.ruby-forum.com/t/rewriting-a-filename-in-any-directory/158431)

<div class="topic-metadata">

**Author:** [@aaron](https://www.ruby-forum.com/u/aaron)\
**Replies:** 5\
**Last updated:** [January 23, 2009, 7:58pm UTC](https://www.ruby-forum.com/t/rewriting-a-filename-in-any-directory/158431 "2009-01-23T19:58:36Z")

</div>

I am trying to achieve the following: Request: http://www.domain.com/images/afv-585785-something.gif Would normally retrieve from : /public/images/afv-585785-something.gif I need it to actually retrieve : /public/imag…

---

## [Wpad and firefox and nginx](https://www.ruby-forum.com/t/wpad-and-firefox-and-nginx/158474)

<div class="topic-metadata">

**Author:** [@lejeczek](https://www.ruby-forum.com/u/lejeczek)\
**Replies:** 1\
**Last updated:** [January 23, 2009, 6:50pm UTC](https://www.ruby-forum.com/t/wpad-and-firefox-and-nginx/158474 "2009-01-23T18:50:55Z")

</div>

does any of you chaps know why, when firefox looks for wpad file error.log records: open() “/usr/share/nginx/mail.dom.local/wpad.dat” failed (2: No such file or directory) this is not a vs\* wpad.dom.local’s content, …

---

## [Re: Adding phpmyadmin to my default site](https://www.ruby-forum.com/t/re-adding-phpmyadmin-to-my-default-site/158450)

<div class="topic-metadata">

**Author:** [@Dieter\_Zinke](https://www.ruby-forum.com/u/Dieter_Zinke)\
**Replies:** 1\
**Last updated:** [January 23, 2009, 2:54pm UTC](https://www.ruby-forum.com/t/re-adding-phpmyadmin-to-my-default-site/158450 "2009-01-23T14:54:12Z")

</div>

The source code for the main login page gives this: Welcome to phpMyAdmin Trying a http://localhost/phpmyadminthemes/original/img/logo\_right.png via browser results in a 404 Not Found nginx.

---

## [Wildcard servername error](https://www.ruby-forum.com/t/wildcard-servername-error/158453)

<div class="topic-metadata">

**Author:** [@Zoltan\_HERPAI](https://www.ruby-forum.com/u/Zoltan_HERPAI)\
**Replies:** 1\
**Last updated:** [January 23, 2009, 2:48pm UTC](https://www.ruby-forum.com/t/wildcard-servername-error/158453 "2009-01-23T14:48:18Z")

</div>

Hi, I would like to use the following servernames in my vhost configuration: server\_name test.domain1 test.domain2 test..domain1 test..domain2; I’ve read in the doc (http://wiki.codemongers.com/NginxVirtualHostEx…

---

## [Body decoding](https://www.ruby-forum.com/t/body-decoding/158447)

<div class="topic-metadata">

**Author:** [@Pavel\_Ivashkov](https://www.ruby-forum.com/u/Pavel_Ivashkov)\
**Replies:** 1\
**Last updated:** [January 23, 2009, 2:22pm UTC](https://www.ruby-forum.com/t/body-decoding/158447 "2009-01-23T14:22:19Z")

</div>

Hello all, I didn’t find this in documentation or in the maillist archive, so any comments appreciated. Am I correct that nginx does not decode server response, and in the case of sub\_filter it tries to operate on e…

---

## [Re: Adding phpmyadmin to my default site](https://www.ruby-forum.com/t/re-adding-phpmyadmin-to-my-default-site/158445)

<div class="topic-metadata">

**Author:** [@Dieter\_Zinke](https://www.ruby-forum.com/u/Dieter_Zinke)\
**Replies:** 1\
**Last updated:** [January 23, 2009, 1:08pm UTC](https://www.ruby-forum.com/t/re-adding-phpmyadmin-to-my-default-site/158445 "2009-01-23T13:08:47Z")

</div>

Sorry, before i move into the topic i have a problem with this mailing-list. I don’ t have to subscripe, right? But shouldn’ t there be some kind of welcome procedure? From http://gmane.org/post.php i red: –\>Here’s ho…

---

## [MP4 seeking with proxy](https://www.ruby-forum.com/t/mp4-seeking-with-proxy/158443)

<div class="topic-metadata">

**Author:** [@grymuz](https://www.ruby-forum.com/u/grymuz)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 12:40pm UTC](https://www.ruby-forum.com/t/mp4-seeking-with-proxy/158443 "2009-01-23T12:40:31Z")

</div>

Hi all, I found this http://wiki.codemongers.com/NginxMP4StreamingLite module on Nginx Wiki site and it works great but if I am not wrong - it works only for static files. What I want to do is to serve mp4 files for …

---

## [Adding phpmyadmin to my default site](https://www.ruby-forum.com/t/adding-phpmyadmin-to-my-default-site/158436)

<div class="topic-metadata">

**Author:** [@Dieter\_Zinke](https://www.ruby-forum.com/u/Dieter_Zinke)\
**Replies:** 1\
**Last updated:** [January 23, 2009, 11:42am UTC](https://www.ruby-forum.com/t/adding-phpmyadmin-to-my-default-site/158436 "2009-01-23T11:42:50Z")

</div>

Originally I had a symlink in my document root that points to my phpmyadmin install. Everything works fine, but maybe a symlink is not the best solution. I don’ t know, but i think so. I have now tried this for my def…

---

## [Redirect from www to sub-page](https://www.ruby-forum.com/t/redirect-from-www-to-sub-page/158354)

<div class="topic-metadata">

**Author:** [@hawe](https://www.ruby-forum.com/u/hawe)\
**Replies:** 6\
**Last updated:** [January 23, 2009, 10:55am UTC](https://www.ruby-forum.com/t/redirect-from-www-to-sub-page/158354 "2009-01-23T10:55:46Z")

</div>

Hi! How can I redirect from www.example.com to www.example.com/new\_location, but do not redirect if there is already a full address such as www.example.com/location? I tried this if ($host ~\* “^www.example.com$”){ …

---

## [Cookie injection / verification / redirect](https://www.ruby-forum.com/t/cookie-injection-verification-redirect/158424)

<div class="topic-metadata">

**Author:** [@Payam\_C](https://www.ruby-forum.com/u/Payam_C)\
**Replies:** 1\
**Last updated:** [January 23, 2009, 6:13am UTC](https://www.ruby-forum.com/t/cookie-injection-verification-redirect/158424 "2009-01-23T06:13:14Z")

</div>

Hey Guys, Im trying to see what the best way of doing this would be… any and all thoughts are greatly appreciated. a) client --\> proxy --\> \[cookie set?\] if yes, proxy connection to $origin. call it a day b) client -…

---

## [Two responses returned for single POST request](https://www.ruby-forum.com/t/two-responses-returned-for-single-post-request/158421)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 5:15am UTC](https://www.ruby-forum.com/t/two-responses-returned-for-single-post-request/158421 "2009-01-23T05:15:56Z")

</div>

Hi all, I’m seeing nginx return 2 response bodies for a single POST request with a body. Using netcat, I only see one response returned on the command line, but running ngrep I can see two actually on the wire. When…

---

## [Should I use upsterm for a tomcat, without having 2 tomcats?](https://www.ruby-forum.com/t/should-i-use-upsterm-for-a-tomcat-without-having-2-tomcats/158374)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 4\
**Last updated:** [January 22, 2009, 8:03pm UTC](https://www.ruby-forum.com/t/should-i-use-upsterm-for-a-tomcat-without-having-2-tomcats/158374 "2009-01-22T20:03:46Z")

</div>

I have a single server, running a single tomcat instance. I have set it up like this: upstream tomcat { server 127.0.0.1:8180; } server { listen 80; server\_name webmail.example.org \*.webmail.example.org; acces…

---

## [Body decoding](https://www.ruby-forum.com/t/body-decoding/158351)

<div class="topic-metadata">

**Author:** [@Pavel\_Ivashkov](https://www.ruby-forum.com/u/Pavel_Ivashkov)\
**Replies:** 0\
**Last updated:** [January 22, 2009, 11:39am UTC](https://www.ruby-forum.com/t/body-decoding/158351 "2009-01-22T11:39:14Z")

</div>

Hello All, Am I correct that nginx does not decode server response, and in the case of sub\_filter it tries to operate on encoded content? (There are two encodings I’m aware of - Content-Encoding and Transport-Encodin…

---

## [Proxy SSL redirects](https://www.ruby-forum.com/t/proxy-ssl-redirects/158312)

<div class="topic-metadata">

**Author:** [@Pavel\_Ivashkov](https://www.ruby-forum.com/u/Pavel_Ivashkov)\
**Replies:** 2\
**Last updated:** [January 22, 2009, 11:06am UTC](https://www.ruby-forum.com/t/proxy-ssl-redirects/158312 "2009-01-22T11:06:56Z")

</div>

Hello all, I have configured nginx-0.7.31 to proxy SSL requests (see config below; and yes - I need SSL on the back-end as well as on the front-end). While it perfectly works for cia back-end, I have an issue with p…

---

## [Phantom Redirect](https://www.ruby-forum.com/t/phantom-redirect/158226)

<div class="topic-metadata">

**Author:** [@BJ\_Clark](https://www.ruby-forum.com/u/BJ_Clark)\
**Replies:** 5\
**Last updated:** [January 21, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/phantom-redirect/158226 "2009-01-21T20:11:35Z")

</div>

Hello all, I’m having the most puzzling problem. I am getting a very strange redirect: http://kritiq.us/ GET / HTTP/1.1 Host: kritiq.us User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5…

---

## [Can some1 please convert this htaccess to nginx rewrite?](https://www.ruby-forum.com/t/can-some1-please-convert-this-htaccess-to-nginx-rewrite/157840)

<div class="topic-metadata">

**Author:** [@lemonhead](https://www.ruby-forum.com/u/lemonhead)\
**Replies:** 16\
**Last updated:** [January 20, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/can-some1-please-convert-this-htaccess-to-nginx-rewrite/157840 "2009-01-20T23:00:06Z")

</div>

i got a signup verification script for my forum that shows images and asks the user to match it with the provided word it worked fine when i was using apache but today after i made the switch to nginx the images dont …

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

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