# Server

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

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

---

## [NGINX 403 forbidden](https://www.ruby-forum.com/t/nginx-403-forbidden/220106)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [May 29, 2012, 9:07am UTC](https://www.ruby-forum.com/t/nginx-403-forbidden/220106 "2012-05-29T09:07:23Z")

</div>

why my NGINX, as in the open in the browser 403 forbidden. to friends for help. thks. regrads.

---

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

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [May 29, 2012, 6:53am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-0-15-7-released/220104 "2012-05-29T06:53:37Z")

</div>

Hello! After about two weeks’ active development, the new development release of ngx\_openresty, 1.0.15.7, is now released: OpenResty® - Open source Below is the change log for this release: bugfix: applied the ad…

---

## [All workers in 'D' state using sendfile](https://www.ruby-forum.com/t/all-workers-in-d-state-using-sendfile/219701)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 29, 2012, 6:51am UTC](https://www.ruby-forum.com/t/all-workers-in-d-state-using-sendfile/219701 "2012-05-29T06:51:09Z")

</div>

Hello, I have tried to summarize this as much as possible but it’s still a lot of text. I apologize but wanted to make sure that I provide enough information to explain the issue properly. I’m hoping that somebody …

---

## [Problem with uploading large video files - IO/HTTP error](https://www.ruby-forum.com/t/problem-with-uploading-large-video-files-io-http-error/220076)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 29, 2012, 3:17am UTC](https://www.ruby-forum.com/t/problem-with-uploading-large-video-files-io-http-error/220076 "2012-05-29T03:17:17Z")

</div>

Hello, I recently moved one of my projects to new server using NGINX + php-fpm .The problem is, that when I upload ~50 MB video it works well, but when I try to upload bigger file - it gives me IO or sometimes HTTP er…

---

## [Php-fpm works with some sites but not others?](https://www.ruby-forum.com/t/php-fpm-works-with-some-sites-but-not-others/220097)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 11\
**Last updated:** [May 28, 2012, 8:14pm UTC](https://www.ruby-forum.com/t/php-fpm-works-with-some-sites-but-not-others/220097 "2012-05-28T20:14:14Z")

</div>

This is a weird one, and I’m turning to the mailing list as a last resort after searching for a few hours to no avail. Our server hosts a number of websites, each with an individual nginx config file. We recently had…

---

## [Tengine-1.3.0](https://www.ruby-forum.com/t/tengine-1-3-0/220091)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 28, 2012, 11:12am UTC](https://www.ruby-forum.com/t/tengine-1-3-0/220091 "2012-05-28T11:12:56Z")

</div>

Hi folks, We’re glad to announce that Tengine-1.3.0 has been released. As this release, we’ll follow the standard Nginx way, i.e. we’ll have two branches, the ‘stable’ branch (currently 1.3.x) and the ‘development’ b…

---

## [Active connections of nginx continually increase](https://www.ruby-forum.com/t/active-connections-of-nginx-continually-increase/220049)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [May 28, 2012, 6:11am UTC](https://www.ruby-forum.com/t/active-connections-of-nginx-continually-increase/220049 "2012-05-28T06:11:56Z")

</div>

I have several nginx web servers as reverse proxy. I found out that the active connections(including reading writing and waiting , seen from http\_stub\_status module) in some of the servers(not all of them) are keep…

---

## [Upgrade nginx 1.3.0 on Centos 6](https://www.ruby-forum.com/t/upgrade-nginx-1-3-0-on-centos-6/220080)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 28, 2012, 12:55am UTC](https://www.ruby-forum.com/t/upgrade-nginx-1-3-0-on-centos-6/220080 "2012-05-28T00:55:31Z")

</div>

Hi, why the 1.3.0 version isn’t it in repository? http://nginx.org/packages/centos/6/x86\_64/RPMS/ I’d like upgrade to last version… Thanks. Posted at Nginx Forum:

---

## [Is $http\_host dangerous?](https://www.ruby-forum.com/t/is-http-host-dangerous/220070)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [May 28, 2012, 12:16am UTC](https://www.ruby-forum.com/t/is-http-host-dangerous/220070 "2012-05-28T00:16:37Z")

</div>

No one has an answer to my question, so I figured out a solution: I had to replace $host with $http\_host to get my problem resolved… But is this safe? It seems like all $http\_host is doing is to exposed the whole HO…

---

## [Preventing hotlinking at "http" level, not server by server](https://www.ruby-forum.com/t/preventing-hotlinking-at-http-level-not-server-by-server/219795)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 26, 2012, 7:42pm UTC](https://www.ruby-forum.com/t/preventing-hotlinking-at-http-level-not-server-by-server/219795 "2012-05-26T19:42:34Z")

</div>

Hi. There are many code samples on the web for simple hotlinking. I have some questions on how to do this in a better way, and all my trial code has not worked, so hope some Nginx guru here can help. Here’s what I am …

---

## [Ssh-tunnel into website nginx strips out port number in response](https://www.ruby-forum.com/t/ssh-tunnel-into-website-nginx-strips-out-port-number-in-response/220038)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 26, 2012, 9:02am UTC](https://www.ruby-forum.com/t/ssh-tunnel-into-website-nginx-strips-out-port-number-in-response/220038 "2012-05-26T09:02:35Z")

</div>

Same post is made here: But I will make a shorter version (as much as possible) I want to be able to ssh-tunnel into my Django website, so I can work remotely. I’ve tested a simple Django project on my personal compu…

---

## [Hotlink protection before proxy when using proxy\_pass?](https://www.ruby-forum.com/t/hotlink-protection-before-proxy-when-using-proxy-pass/220051)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 25, 2012, 8:51pm UTC](https://www.ruby-forum.com/t/hotlink-protection-before-proxy-when-using-proxy-pass/220051 "2012-05-25T20:51:43Z")

</div>

Hi, I have nginx 1.3.0 configured for a server that forwards to a proxy server { server\_name dev.local.lan; listen 192.168.1.100:80; root /var/empty; access\_log /var/log/ngi…

---

## [How Evil is If?](https://www.ruby-forum.com/t/how-evil-is-if/220035)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 25, 2012, 5:54pm UTC](https://www.ruby-forum.com/t/how-evil-is-if/220035 "2012-05-25T17:54:07Z")

</div>

In my wordpress Multisite config, I have the below lines. I’ve read if-is-evil and so I’m curious if these ifs need to be replaced and with what? For multisite: Use a caching plugin/script that creates symlinks to …

---

## [Rewrite rule and the try\_files directive](https://www.ruby-forum.com/t/rewrite-rule-and-the-try-files-directive/220046)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 25, 2012, 3:01pm UTC](https://www.ruby-forum.com/t/rewrite-rule-and-the-try-files-directive/220046 "2012-05-25T15:01:48Z")

</div>

Hi guys, I’m a little stuck here and wondered if anyone could help, I have a customer’s website with the following rewrite rule: ‘rewrite ^/(.\*)$ /index.php?town=$1 last;’ This has functioned just fine until they’ve …

---

## [Charset utf-8](https://www.ruby-forum.com/t/charset-utf-8/220036)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 25, 2012, 11:37am UTC](https://www.ruby-forum.com/t/charset-utf-8/220036 "2012-05-25T11:37:41Z")

</div>

Hi guys, I’m using nginx 1.2 with php-fpm (php 5.3.11). The problem is, the PHP page is delivered as Content-Type: text/html; charset: Windows-1251 I want the charset UTF-8, or at least none at all. I tried putting c…

---

## [Preparing for Large-scale Wordpress MU Usage](https://www.ruby-forum.com/t/preparing-for-large-scale-wordpress-mu-usage/219996)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 25, 2012, 4:19am UTC](https://www.ruby-forum.com/t/preparing-for-large-scale-wordpress-mu-usage/219996 "2012-05-25T04:19:41Z")

</div>

I’m preparing to deploy a new Nginx server hosting Wordpress MU to our school. Each wordpress site will serve as a student ePortfolio. I’m concerned about when all 500 students hit the site and start editing at the …

---

## [$document\_root variable not working](https://www.ruby-forum.com/t/document-root-variable-not-working/220027)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 25, 2012, 12:43am UTC](https://www.ruby-forum.com/t/document-root-variable-not-working/220027 "2012-05-25T00:43:26Z")

</div>

Hi, I’m running nginx 1.2.0 under FreeBSD 9.0. I configured phpMyAdmin to execute unter https://server/pma which is working fine, but php scripts outside /pma I get “File not found.” (e.g. https://server/info.php) …

---

## [How much work for Windows Multiple Process support?](https://www.ruby-forum.com/t/how-much-work-for-windows-multiple-process-support/219560)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 7\
**Last updated:** [May 24, 2012, 3:03pm UTC](https://www.ruby-forum.com/t/how-much-work-for-windows-multiple-process-support/219560 "2012-05-24T15:03:35Z")

</div>

How much work do you think it will take to get the Windows build to support having multiple worker processes? Is anyone already working on this? I volunteer to help later this month if I get a little guidance on wha…

---

## [Not found file on symlink](https://www.ruby-forum.com/t/not-found-file-on-symlink/219994)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 24, 2012, 2:43pm UTC](https://www.ruby-forum.com/t/not-found-file-on-symlink/219994 "2012-05-24T14:43:04Z")

</div>

Hi, I use symlink on files, but nginx got error 404 on files. I can access the file like this (no error): http://static.xxx.tld/kvr2wery235cd57uio457azd4a5Tf78sR/2012/20126190.pdf but not like this http://static.xxx…

---

## [Apmersand in rewrite rule is escaped if url encoded value exists](https://www.ruby-forum.com/t/apmersand-in-rewrite-rule-is-escaped-if-url-encoded-value-exists/220000)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 24, 2012, 1:30pm UTC](https://www.ruby-forum.com/t/apmersand-in-rewrite-rule-is-escaped-if-url-encoded-value-exists/220000 "2012-05-24T13:30:23Z")

</div>

I want to transfer /script/action/var1\_\_\_val1/var2\_\_\_val2/…/varN\_\_\_valN/ to /script/action?var1=val1&var2=val2&…&varN=valN. My rewrite rules are: rewrite ^/script/(.)/(\\w+)\_\_\_(\[^/\]+)/(.)$ /script/$1/$2=$3&$4? last; r…

---

## [When reloading nginx-0.8.54, number of workers increases](https://www.ruby-forum.com/t/when-reloading-nginx-0-8-54-number-of-workers-increases/219998)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 24, 2012, 1:27pm UTC](https://www.ruby-forum.com/t/when-reloading-nginx-0-8-54-number-of-workers-increases/219998 "2012-05-24T13:27:55Z")

</div>

Hello. This is the situation: I giva heavy traffic continually by using ApacheBench, say: while :; do ab -n 100000 -c 1000 'http://localhost/; done. And also I reload nginx continually by using while syntax. When lo…

---

## [Nginx proxy config problem](https://www.ruby-forum.com/t/nginx-proxy-config-problem/219995)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 24, 2012, 1:27pm UTC](https://www.ruby-forum.com/t/nginx-proxy-config-problem/219995 "2012-05-24T13:27:17Z")

</div>

2 question: i want to put the pic,css,js etc. files on the frontend server, but with below config, i put a tar file to /var/www/a.com/test.tar and visite http://a.com/test.tar it return a 404 herder. how can i fix i…

---

## [How can nginx supports more than 64511 concurrent backend connections?](https://www.ruby-forum.com/t/how-can-nginx-supports-more-than-64511-concurrent-backend-connections/219928)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 23, 2012, 6:47pm UTC](https://www.ruby-forum.com/t/how-can-nginx-supports-more-than-64511-concurrent-backend-connections/219928 "2012-05-23T18:47:14Z")

</div>

Hello nginx fans, I’m using nginx (with ngx\_redis2 module) as a redis client, and would like to establish more than 64511 keep alive connections with a redis instance. The local port range of Linux is limited to 64511…

---

## [Bad Decompression error after default ssl\_session\_timeout](https://www.ruby-forum.com/t/bad-decompression-error-after-default-ssl-session-timeout/219929)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [May 23, 2012, 11:50am UTC](https://www.ruby-forum.com/t/bad-decompression-error-after-default-ssl-session-timeout/219929 "2012-05-23T11:50:43Z")

</div>

Hi, I have an LB setup with nginx for an ssl enabled site which load balance with 2 apache servers. All the servers are CentOS5.5\* and OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008. Also we are using the same SSL certificat…

---

## [Keepalive option without ngx\_http\_upstream\_keepalive](https://www.ruby-forum.com/t/keepalive-option-without-ngx-http-upstream-keepalive/219963)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 23, 2012, 10:55am UTC](https://www.ruby-forum.com/t/keepalive-option-without-ngx-http-upstream-keepalive/219963 "2012-05-23T10:55:03Z")

</div>

Hi, is it a bug or a feature that nginx didn’t warn if keepalive is enable in upstream {} config, but without ngx\_http\_upstream\_keepalive module loaded ? Regards,

---

## [Strange repeated errors](https://www.ruby-forum.com/t/strange-repeated-errors/219940)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 23, 2012, 10:41am UTC](https://www.ruby-forum.com/t/strange-repeated-errors/219940 "2012-05-23T10:41:58Z")

</div>

Hi, I’ve a tail -f error.log running, and saw some strange errors, repeated each minutes at same second (26), from same host and same URL : 2012/05/22 15:13:26 \[error\] 12410#0: \*4714521 upstream timed out (110: Conne…

---

## [Nginx Proxy Returns Odd Results](https://www.ruby-forum.com/t/nginx-proxy-returns-odd-results/219922)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 23, 2012, 9:57am UTC](https://www.ruby-forum.com/t/nginx-proxy-returns-odd-results/219922 "2012-05-23T09:57:04Z")

</div>

Hi, I’m trying to configure nginx as a proxy essentially imitating this apache server (http://pastebin.com/1Tv4usjf). The configuration I’ve put together (http://pastebin.com/MtsvJ9Cb) produces odd results. For examp…

---

## [Lua-resty-mongol - table insertion](https://www.ruby-forum.com/t/lua-resty-mongol-table-insertion/219933)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 23, 2012, 8:23am UTC](https://www.ruby-forum.com/t/lua-resty-mongol-table-insertion/219933 "2012-05-23T08:23:09Z")

</div>

Hi list, I’m currently moving into lua-resty-mongol, and I’m facing this issue: local versions = {} local t = {} table.insert(t,{a = “aa”}) table.insert(t,{b = “bb”}) versions={{name=“dog”,container=“mycontainer”,t…

---

## [Magento installed in a subdirectory](https://www.ruby-forum.com/t/magento-installed-in-a-subdirectory/219958)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 23, 2012, 5:04am UTC](https://www.ruby-forum.com/t/magento-installed-in-a-subdirectory/219958 "2012-05-23T05:04:17Z")

</div>

I followed the instructions on the wiki article (link 1) for configuring nginx and magento, which works great… if magento is installed in the document root folder. I have magento installed in a subfolder, e.g. /store/…

---

## [Xcache admin kills fpm childs on debian 64bit nginx php5-fpm mysql](https://www.ruby-forum.com/t/xcache-admin-kills-fpm-childs-on-debian-64bit-nginx-php5-fpm-mysql/219937)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 22, 2012, 5:27pm UTC](https://www.ruby-forum.com/t/xcache-admin-kills-fpm-childs-on-debian-64bit-nginx-php5-fpm-mysql/219937 "2012-05-22T17:27:33Z")

</div>

Hello people, I have a minimal debian 64bit server with nginx php5-fpm mysql and xcache installed on it. Seems everything is ok, but as soon as I decided to use xcache-admin skripts accessing them are ok, it asks the …

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

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