# Server

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

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

---

## [Unbreakable 90 sec timeout](https://www.ruby-forum.com/t/unbreakable-90-sec-timeout/202751)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 9, 2011, 2:34pm UTC](https://www.ruby-forum.com/t/unbreakable-90-sec-timeout/202751 "2011-02-09T14:34:50Z")

</div>

Hello. I’m spent half day to googling, reading documentation and try… I have simple file to test what just sleep 120 second: \<? sleep(120); echo 'Done'; file\_put\_contents('test.date', date('c')); ?\> But nginx (binary …

---

## [Internet explorer sql error](https://www.ruby-forum.com/t/internet-explorer-sql-error/202943)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 9, 2011, 1:11pm UTC](https://www.ruby-forum.com/t/internet-explorer-sql-error/202943 "2011-02-09T13:11:48Z")

</div>

hi im trying to working out with nginx expcially i am facing many error after changing webserver from apache to nginx i solved most of error except this i am running search engine script and keyword suggesstion doesnt…

---

## [Moodle](https://www.ruby-forum.com/t/moodle/202930)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 9, 2011, 5:53am UTC](https://www.ruby-forum.com/t/moodle/202930 "2011-02-09T05:53:59Z")

</div>

Hi Anyone experienced running Moodle under Nginx instead of Apache? If yes, how to get fastest possible Moodle access under Nginx? I thought Nginx doesn’t handle dynamic pages well? Can I do away with Apache then? F…

---

## [Trouble getting the Request Body of a HTTP Post](https://www.ruby-forum.com/t/trouble-getting-the-request-body-of-a-http-post/180463)

<div class="topic-metadata">

**Author:** [@Tronman](https://www.ruby-forum.com/u/Tronman)\
**Replies:** 9\
**Last updated:** [February 9, 2011, 12:39am UTC](https://www.ruby-forum.com/t/trouble-getting-the-request-body-of-a-http-post/180463 "2011-02-09T00:39:54Z")

</div>

Hi there, I recently created a custom Nginx module, and successfully compiled it into the Nginx source and used a location directive to direct traffic to my module (good job me). In my modules handler, I of course ha…

---

## [Logging POST data from $request\_body](https://www.ruby-forum.com/t/logging-post-data-from-request-body/202916)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 8, 2011, 10:33pm UTC](https://www.ruby-forum.com/t/logging-post-data-from-request-body/202916 "2011-02-08T22:33:15Z")

</div>

I have my config setup to handle a bunch of GET requests which render pixels that work fine to handle analytics and parse query strings for logging. With an additional third party data stream, I need to handle a POST …

---

## [Return 408 does not return body and status = 200](https://www.ruby-forum.com/t/return-408-does-not-return-body-and-status-200/202889)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 8, 2011, 5:48pm UTC](https://www.ruby-forum.com/t/return-408-does-not-return-body-and-status-200/202889 "2011-02-08T17:48:32Z")

</div>

Hello! If i set return 408; there is no return status 408 and no body response. Posted at Nginx Forum:

---

## [Forcing SSL;](https://www.ruby-forum.com/t/forcing-ssl/202901)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 8, 2011, 5:15pm UTC](https://www.ruby-forum.com/t/forcing-ssl/202901 "2011-02-08T17:15:12Z")

</div>

What is the best way to force all connections to use SSL? if($scheme == ‘http’)… redirect to https://

---

## [Error: insufficient authorization](https://www.ruby-forum.com/t/error-insufficient-authorization/202890)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 8, 2011, 4:31pm UTC](https://www.ruby-forum.com/t/error-insufficient-authorization/202890 "2011-02-08T16:31:06Z")

</div>

Hello, i do some tests with nginx and the mail proxy modules. running imap/pop3 seems to work. Now i try with smtp. My auth-server is a little php-script: \<? header("HTTP/1.0 200 OK"); header("Auth-Status: OK"); head…

---

## [HTTPS Speed](https://www.ruby-forum.com/t/https-speed/202892)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 8, 2011, 3:48pm UTC](https://www.ruby-forum.com/t/https-speed/202892 "2011-02-08T15:48:23Z")

</div>

Hello I was using Pound for negotiating ssl but recently someone told me that nginx https module is quite better. I have setup nginx 0.8.54 on my ubuntu 10.10 64bit, and did a basic setup of ssl but dont experience a…

---

## [Run an action every 30 seconds](https://www.ruby-forum.com/t/run-an-action-every-30-seconds/202884)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [February 8, 2011, 1:04pm UTC](https://www.ruby-forum.com/t/run-an-action-every-30-seconds/202884 "2011-02-08T13:04:26Z")

</div>

Hello, I would like my Nginx server to run every 30 seconds a service job. This job will just send a message to another server that the nginx is running and OK. Does anybody know how to do it? I have just one idea - …

---

## [URI pattern baffling problem](https://www.ruby-forum.com/t/uri-pattern-baffling-problem/202849)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 13\
**Last updated:** [February 8, 2011, 11:57am UTC](https://www.ruby-forum.com/t/uri-pattern-baffling-problem/202849 "2011-02-08T11:57:12Z")

</div>

Hi, I am trying to work out a regular expression. What I am looking for is to redirect any request that does not match a specific URI pattern. The exact pattern is documents/{VAR1}/pages/{VAR2}/items/{VAR3} where {V…

---

## [Potential Contract Development Work](https://www.ruby-forum.com/t/potential-contract-development-work/199519)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [February 8, 2011, 10:05am UTC](https://www.ruby-forum.com/t/potential-contract-development-work/199519 "2011-02-08T10:05:20Z")

</div>

After reading through the NGINX MAIL module code, I emailed Evan M. (http://evanmiller.org/nginx-modules-guide.html), George M. (http://nutrun.com/weblog/hello-world-nginx-module/), Joshua Z. (ZhuZhaoyuan.com is for s…

---

## [Trying to working our with javascript](https://www.ruby-forum.com/t/trying-to-working-our-with-javascript/202795)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 7, 2011, 4:23am UTC](https://www.ruby-forum.com/t/trying-to-working-our-with-javascript/202795 "2011-02-07T04:23:49Z")

</div>

hi i have java script document in /js/test.js when i try to access that file i am getting error www.domain.com/js/test.js 500 Internal Server Error nginx/0.8.53 error log showing me this 2011/02/06 15:12:44 \[error\]…

---

## [Fastcgi 9000 listening killing sometimes](https://www.ruby-forum.com/t/fastcgi-9000-listening-killing-sometimes/202788)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 7, 2011, 4:23am UTC](https://www.ruby-forum.com/t/fastcgi-9000-listening-killing-sometimes/202788 "2011-02-07T04:23:11Z")

</div>

Hi, I have sites and connect fastcgi app :9000 sometimes fastcgi app closing unexceptly so my websites also down i have to start fastcgi app manually is there any possiblity that i can find out why fastcgi killing its…

---

## [Reverse proxy & my CA certificate](https://www.ruby-forum.com/t/reverse-proxy-my-ca-certificate/202824)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 7, 2011, 3:19am UTC](https://www.ruby-forum.com/t/reverse-proxy-my-ca-certificate/202824 "2011-02-07T03:19:54Z")

</div>

Hi all. My website’s work process is the bleow: client\_browser:443 → nginx\_reverse\_proxy:443 → nginx\_webserver:443 in my nginx webserver config file, I setup some ssl options: ssl\_verify\_client on; ssl\_verify\_dept…

---

## [Convert .htaccess for nginx](https://www.ruby-forum.com/t/convert-htaccess-for-nginx/202812)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 6, 2011, 8:37pm UTC](https://www.ruby-forum.com/t/convert-htaccess-for-nginx/202812 "2011-02-06T20:37:32Z")

</div>

Hello, I have tryed to read about rewrite rules but I’m not able to handle this, Have already tryed online convert for .htaccess to nginx but when I restart my ngnix server I get error message \[emerg\]: invalid parame…

---

## [Nginx vhosts in database](https://www.ruby-forum.com/t/nginx-vhosts-in-database/202752)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 6, 2011, 1:38pm UTC](https://www.ruby-forum.com/t/nginx-vhosts-in-database/202752 "2011-02-06T13:38:51Z")

</div>

Hey Everyone, Has anyone setup nginx to use a database to hold vhost configuration? Mark

---

## [Redirector - unescaping query parameters](https://www.ruby-forum.com/t/redirector-unescaping-query-parameters/202562)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 4, 2011, 10:35pm UTC](https://www.ruby-forum.com/t/redirector-unescaping-query-parameters/202562 "2011-02-04T22:35:45Z")

</div>

I am trying to use nginx as a redirector that logs some data about the request and then redirects the user to a user-specified URL. This works well unless the user-specified URL contains query parameters. For example,…

---

## [Images are missing in drupal 7 working on nginx](https://www.ruby-forum.com/t/images-are-missing-in-drupal-7-working-on-nginx/202724)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [February 4, 2011, 7:34pm UTC](https://www.ruby-forum.com/t/images-are-missing-in-drupal-7-working-on-nginx/202724 "2011-02-04T19:34:21Z")

</div>

I welcome, I am here new and if I am writing in the bad department I apologise. Around drupalem earlier I already had the contact but now already on seriously and wants on the base drupal 7 to build the web page. My …

---

## [Auth\_basic restricted files with php](https://www.ruby-forum.com/t/auth-basic-restricted-files-with-php/186802)

<div class="topic-metadata">

**Author:** [@clinisbud](https://www.ruby-forum.com/u/clinisbud)\
**Replies:** 2\
**Last updated:** [February 4, 2011, 4:53pm UTC](https://www.ruby-forum.com/t/auth-basic-restricted-files-with-php/186802 "2011-02-04T16:53:00Z")

</div>

Hi, I’ve read a lot of threads (like this ) but I can’t solve my problem. It’s my first day working with nginx, so I’m a really newbie. Here is a part of my nginx.conf server { listen 80; server\_name myser…

---

## [PHP redirect fails when XSLT is used](https://www.ruby-forum.com/t/php-redirect-fails-when-xslt-is-used/202722)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 4, 2011, 10:48am UTC](https://www.ruby-forum.com/t/php-redirect-fails-when-xslt-is-used/202722 "2011-02-04T10:48:08Z")

</div>

Hi all, I have a site that is using php, and xslt transformations. PHP-FPM is responsible for dealing with php, and its response is then parsed with XSLT. This setup works fine (currently running phpBB and Plone in h…

---

## [Redmine and nginx](https://www.ruby-forum.com/t/redmine-and-nginx/202687)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 3, 2011, 11:12pm UTC](https://www.ruby-forum.com/t/redmine-and-nginx/202687 "2011-02-03T23:12:10Z")

</div>

Hello everyone! Why this config worked server { ... #location / { # root path\_to\_my\_site; # index index.php index.html index.htm; #} location / { ro…

---

## [Install with ssl](https://www.ruby-forum.com/t/install-with-ssl/202696)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 3, 2011, 8:45pm UTC](https://www.ruby-forum.com/t/install-with-ssl/202696 "2011-02-03T20:45:52Z")

</div>

I want to install nginx with support for ssl. I know how to do that. –with-http\_ssl\_module --with-openssl=/… I’m uncertain what path I should use for the last argument. I have openssl installed on Debian. which openss…

---

## [Ngx\_lua v0.1.4: ability to disable the Lua code cache](https://www.ruby-forum.com/t/ngx-lua-v0-1-4-ability-to-disable-the-lua-code-cache/202193)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 3, 2011, 8:24pm UTC](https://www.ruby-forum.com/t/ngx-lua-v0-1-4-ability-to-disable-the-lua-code-cache/202193 "2011-02-03T20:24:09Z")

</div>

Hi, folks! I’m delighted to announce the ngx\_lua v0.1.4 release which features the ability to disable the Lua code cache to ease Lua development. You can get the release tarball from the download page: https://github…

---

## [Proxy\_ignore\_client\_abort ignored](https://www.ruby-forum.com/t/proxy-ignore-client-abort-ignored/202688)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 3, 2011, 6:56pm UTC](https://www.ruby-forum.com/t/proxy-ignore-client-abort-ignored/202688 "2011-02-03T18:56:07Z")

</div>

Is ‘proxy\_ignore\_client\_abort’ ignored when either ‘proxy\_cache’ or ‘proxy\_store’ is set? I have tried setting it to ‘on’ and ‘off’, but nginx/0.9.4 continues to download large files even after the requesting client h…

---

## [Fw: multiple ssl certificates for multiple domains but just one IP](https://www.ruby-forum.com/t/fw-multiple-ssl-certificates-for-multiple-domains-but-just-one-ip/202684)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 3, 2011, 5:49pm UTC](https://www.ruby-forum.com/t/fw-multiple-ssl-certificates-for-multiple-domains-but-just-one-ip/202684 "2011-02-03T17:49:31Z")

</div>

The following must be interesting to Nginx main developers: ---------- Forwarded message ---------- Date: Thu, 3 Feb 2011 10:30:33 -0500 (EST) From: Wietse V. removed\_email\_address@domain.invalid To: Postfix users re…

---

## [Nginx on Windows stops responding](https://www.ruby-forum.com/t/nginx-on-windows-stops-responding/202636)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [February 2, 2011, 11:42pm UTC](https://www.ruby-forum.com/t/nginx-on-windows-stops-responding/202636 "2011-02-02T23:42:44Z")

</div>

Hi, I have an odd problem. I’ve tried both .8.54 and .9.4 and on both if i refresh a page after a few times it just locks up and I have to close all nginx processes and restart it. I’m using it with PHP 5.3 fast-cgi …

---

## [Nginx + PHP-fpm + NFS poor performance](https://www.ruby-forum.com/t/nginx-php-fpm-nfs-poor-performance/202624)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 5:47pm UTC](https://www.ruby-forum.com/t/nginx-php-fpm-nfs-poor-performance/202624 "2011-02-02T17:47:52Z")

</div>

Hi. I’m new with nginx and want to know if it is possible to implement this architecture because we’re having a very poor performance over the same tests against local installations. For test we have 2 hosts. One wit…

---

## [Multiple subrequests, each with a proxy\_pass](https://www.ruby-forum.com/t/multiple-subrequests-each-with-a-proxy-pass/202609)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 12:42pm UTC](https://www.ruby-forum.com/t/multiple-subrequests-each-with-a-proxy-pass/202609 "2011-02-02T12:42:23Z")

</div>

For a certain endpoint (/upload), I would like to sometimes (when content-type matches) create a subrequest which calls an upstream with proxy\_pass to include content before the actual response, which is also provided…

---

## [RewriteCond command](https://www.ruby-forum.com/t/rewritecond-command/202591)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 2, 2011, 11:02am UTC](https://www.ruby-forum.com/t/rewritecond-command/202591 "2011-02-02T11:02:30Z")

</div>

hi i’ve seen many example that answered this forum and they use RewriteCond but if i put that command i get error nginx 0.8.3 RewriteCond %{request\_uri} !^index.php if put my conf file it says \[emerg\]: unknown direct…

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

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