# Server

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

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

---

## [Updated hotlink protection with new Google Image Search](https://www.ruby-forum.com/t/updated-hotlink-protection-with-new-google-image-search/229496)

<div class="topic-metadata">

**Author:** [@peterpiper](https://www.ruby-forum.com/u/peterpiper)\
**Replies:** 4\
**Last updated:** [February 24, 2013, 3:42am UTC](https://www.ruby-forum.com/t/updated-hotlink-protection-with-new-google-image-search/229496 "2013-02-24T03:42:46Z")

</div>

As you can see from this thread on Webmasterworld (Google Images' New (Bing-like) Layout - Google Search and SEO forum at WebmasterWorld - WebmasterWorld), a lot of people are upset about the new Google Image Search ch…

---

## [Shell environment variables in "include"-directive not working](https://www.ruby-forum.com/t/shell-environment-variables-in-include-directive-not-working/188502)

<div class="topic-metadata">

**Author:** [@Markus\_Grobelin](https://www.ruby-forum.com/u/Markus_Grobelin)\
**Replies:** 6\
**Last updated:** [February 24, 2013, 12:02am UTC](https://www.ruby-forum.com/t/shell-environment-variables-in-include-directive-not-working/188502 "2013-02-24T00:02:22Z")

</div>

Hy everybody, i’m doing my first steps with nginx/0.8.36 and trying to get \*NIX shell environment variables working inside the configuration files. Sadly, it’s seems they aren’t working inside the “include”-directive!…

---

## [Problem with auth\_basic + proxy\_pass + transmission-daemon](https://www.ruby-forum.com/t/problem-with-auth-basic-proxy-pass-transmission-daemon/226864)

<div class="topic-metadata">

**Author:** [@larios](https://www.ruby-forum.com/u/larios)\
**Replies:** 0\
**Last updated:** [February 23, 2013, 10:12pm UTC](https://www.ruby-forum.com/t/problem-with-auth-basic-proxy-pass-transmission-daemon/226864 "2013-02-23T22:12:00Z")

</div>

Hello list, While using nginx 1.3.12 + transmission-daemon 2.77 + Ubuntu 12.04, /etc/transmission-daemon/settings.json ... "rpc-bind-address": "127.0.0.1", "rpc-port": 9091, "rpc-url": "/transmission/", ... ls -l /et…

---

## [Deb package with websocket support](https://www.ruby-forum.com/t/deb-package-with-websocket-support/226860)

<div class="topic-metadata">

**Author:** [@pablo\_platt](https://www.ruby-forum.com/u/pablo_platt)\
**Replies:** 0\
**Last updated:** [February 23, 2013, 4:41pm UTC](https://www.ruby-forum.com/t/deb-package-with-websocket-support/226860 "2013-02-23T16:41:54Z")

</div>

Hi, Is there a 1.3.13 deb package for ubuntu with a websocket support? The ppa has 1.3.12 Is this ppa official and can be trusted? Is it safe to use 1.3.13 in production as a replacement for the package from the ub…

---

## [Ngx\_openresty devel version 1.2.7.1 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-7-1-released/226854)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [February 23, 2013, 8:13am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-7-1-released/226854 "2013-02-23T08:13:00Z")

</div>

Hello! I am happy to announce that the new development version of ngx\_openresty, 1.2.7.1, is now released: http://openresty.org/#Download Below is the complete change log for this release, as compared to the last (s…

---

## [Reverse proxy and rewrite](https://www.ruby-forum.com/t/reverse-proxy-and-rewrite/226844)

<div class="topic-metadata">

**Author:** [@jims](https://www.ruby-forum.com/u/jims)\
**Replies:** 1\
**Last updated:** [February 23, 2013, 1:15am UTC](https://www.ruby-forum.com/t/reverse-proxy-and-rewrite/226844 "2013-02-23T01:15:34Z")

</div>

nginx 1.2.7 on CentOS 6.3. Reverse-proxy with two upstream servers. One server should be default, the other should only be used when called from a link on a specific web server. I have the reverse proxy working fin…

---

## [Serve different static page depending of the server load](https://www.ruby-forum.com/t/serve-different-static-page-depending-of-the-server-load/226845)

<div class="topic-metadata">

**Author:** [@SSFrSSdSSric\_Bastie](https://www.ruby-forum.com/u/SSFrSSdSSric_Bastie)\
**Replies:** 0\
**Last updated:** [February 22, 2013, 9:22pm UTC](https://www.ruby-forum.com/t/serve-different-static-page-depending-of-the-server-load/226845 "2013-02-22T21:22:48Z")

</div>

Hi, We are planning releasing a new web site shortly and we try to get slash-dotted. Our website is hosted with nginx, but I currently set the images of the main page on amazon S3 as it won’t be able to serve them if…

---

## [Fwd: nginx performance on Amazon EC2](https://www.ruby-forum.com/t/fwd-nginx-performance-on-amazon-ec2/226771)

<div class="topic-metadata">

**Author:** [@Rakan\_Alhneiti](https://www.ruby-forum.com/u/Rakan_Alhneiti)\
**Replies:** 8\
**Last updated:** [February 22, 2013, 4:11pm UTC](https://www.ruby-forum.com/t/fwd-nginx-performance-on-amazon-ec2/226771 "2013-02-22T16:11:55Z")

</div>

Hello, I am running a django app with nginx & uwsgi on an amazon ec2 instance and a vmware machine almost the same size as the ec2 one. Here’s how i run uwsgi: sudo uwsgi -b 25000 --chdir=/www/python/apps/pyapp –mo…

---

## [Issue with auto subdomain nd trailing slash](https://www.ruby-forum.com/t/issue-with-auto-subdomain-nd-trailing-slash/226828)

<div class="topic-metadata">

**Author:** [@shumisha](https://www.ruby-forum.com/u/shumisha)\
**Replies:** 2\
**Last updated:** [February 22, 2013, 2:40pm UTC](https://www.ruby-forum.com/t/issue-with-auto-subdomain-nd-trailing-slash/226828 "2013-02-22T14:40:10Z")

</div>

Hi All, I am running into a weird issue, after having configured nginx 0.7.67 (comes with debian 6) for serving PHP pages, with automatic subdomains. It works fine for the most part, but when requesting a url that c…

---

## [Proxying non-ssl SMTP/POP to ssl SMTP/POP](https://www.ruby-forum.com/t/proxying-non-ssl-smtp-pop-to-ssl-smtp-pop/226765)

<div class="topic-metadata">

**Author:** [@huynq](https://www.ruby-forum.com/u/huynq)\
**Replies:** 1\
**Last updated:** [February 22, 2013, 9:34am UTC](https://www.ruby-forum.com/t/proxying-non-ssl-smtp-pop-to-ssl-smtp-pop/226765 "2013-02-22T09:34:33Z")

</div>

Hi everyone, I’m now using nginx in setting up a proxying mail system in my company. The model is as below: Mail client \<=========\> Nginx proxy \<===========\> Mail server The stream between mail client and nginx is n…

---

## [1.3.12 occasional segfaults](https://www.ruby-forum.com/t/1-3-12-occasional-segfaults/226786)

<div class="topic-metadata">

**Author:** [@digitalpoint](https://www.ruby-forum.com/u/digitalpoint)\
**Replies:** 2\
**Last updated:** [February 22, 2013, 1:52am UTC](https://www.ruby-forum.com/t/1-3-12-occasional-segfaults/226786 "2013-02-22T01:52:26Z")

</div>

It’s a fairly vanilla install of nginx (with the exception of the SPDY patch). We are seeing roughly 1 segfault every hour or so on each web server… I didn’t generate a debugging log, because I wasn’t sure how big s…

---

## [Proxying websocket (to e.g. tomcat)](https://www.ruby-forum.com/t/proxying-websocket-to-e-g-tomcat/226798)

<div class="topic-metadata">

**Author:** [@Nikolai\_Zhubr](https://www.ruby-forum.com/u/Nikolai_Zhubr)\
**Replies:** 4\
**Last updated:** [February 21, 2013, 5:04pm UTC](https://www.ruby-forum.com/t/proxying-websocket-to-e-g-tomcat/226798 "2013-02-21T17:04:30Z")

</div>

Hello all! I’ve installed the latest version 1.3.13 (supposedly supporing websocket) and was trying to push websocket connections through nginx to tomcat while leaving all other (static) content to nginx. To do this, …

---

## [Invalidation After Updates or Deletions](https://www.ruby-forum.com/t/invalidation-after-updates-or-deletions/226805)

<div class="topic-metadata">

**Author:** [@SS\_SSSSS\_SSSSSSSS](https://www.ruby-forum.com/u/SS_SSSSS_SSSSSSSS)\
**Replies:** 0\
**Last updated:** [February 21, 2013, 4:59pm UTC](https://www.ruby-forum.com/t/invalidation-after-updates-or-deletions/226805 "2013-02-21T16:59:49Z")

</div>

Hello everyone, Is there any way to configure nginx proxy cache invalidation on unsafe requests as it is supposed in RFC? http://www.ietf.org/rfc/rfc2616.txt section 9.1.1 section 13.10

---

## [502 bad gateway error with php5-fpm on Debian 7](https://www.ruby-forum.com/t/502-bad-gateway-error-with-php5-fpm-on-debian-7/226781)

<div class="topic-metadata">

**Author:** [@SSGASPARD\_KSSvinSS\_S](https://www.ruby-forum.com/u/SSGASPARD_KSSvinSS_S)\
**Replies:** 18\
**Last updated:** [February 21, 2013, 2:09pm UTC](https://www.ruby-forum.com/t/502-bad-gateway-error-with-php5-fpm-on-debian-7/226781 "2013-02-21T14:09:08Z")

</div>

Hello, First, I’m new to this Mailing List. As say my signature I’m non-English and I’m trying the best to be understandable. If something isn’t clear or noisy, please tell me. I’m using Nginx 1.2.1 on Debian Wheezy…

---

## [Proxying non-ssl SMTP/POP to ssl SMTP/POP](https://www.ruby-forum.com/t/proxying-non-ssl-smtp-pop-to-ssl-smtp-pop/226784)

<div class="topic-metadata">

**Author:** [@Nguyen\_Huy](https://www.ruby-forum.com/u/Nguyen_Huy)\
**Replies:** 0\
**Last updated:** [February 21, 2013, 5:06am UTC](https://www.ruby-forum.com/t/proxying-non-ssl-smtp-pop-to-ssl-smtp-pop/226784 "2013-02-21T05:06:48Z")

</div>

Hi everyone, I’m now using nginx in setting up a proxying mail system in my company. The model is as below: Mail client \<=========\> Nginx proxy \<===========\> Mail server The stream between mail client and nginx is …

---

## [Nginx serving R scripts via CGI/FastRWeb](https://www.ruby-forum.com/t/nginx-serving-r-scripts-via-cgi-fastrweb/226726)

<div class="topic-metadata">

**Author:** [@iamstef](https://www.ruby-forum.com/u/iamstef)\
**Replies:** 10\
**Last updated:** [February 20, 2013, 10:44pm UTC](https://www.ruby-forum.com/t/nginx-serving-r-scripts-via-cgi-fastrweb/226726 "2013-02-20T22:44:55Z")

</div>

Hi, Anyone here testing, experimenting with R and nginx ? Im trying to setup nginx to serve R scripts via CGI using Rserve, FastRWeb modules as described here: My nginx is configured like: location ~ ^/cgi-bin/…

---

## [Nginx-1.3.13](https://www.ruby-forum.com/t/nginx-1-3-13/226729)

<div class="topic-metadata">

**Author:** [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Replies:** 1\
**Last updated:** [February 20, 2013, 9:24pm UTC](https://www.ruby-forum.com/t/nginx-1-3-13/226729 "2013-02-20T21:24:12Z")

</div>

Changes with nginx 1.3.13 19 Feb 2013 \*) Change: a compiler with name "cc" is now used by default. \*) Feature: support for proxying of WebSocket connections. Thanks to Apcera …

---

## [Reverse proxy configuration help](https://www.ruby-forum.com/t/reverse-proxy-configuration-help/226699)

<div class="topic-metadata">

**Author:** [@jims](https://www.ruby-forum.com/u/jims)\
**Replies:** 3\
**Last updated:** [February 20, 2013, 6:17pm UTC](https://www.ruby-forum.com/t/reverse-proxy-configuration-help/226699 "2013-02-20T18:17:43Z")

</div>

I am new to nginx, it being recommended to solve a problem. The problem: I have a VPS hosting a website and an application server in my DMZ. I have a test and prod version of each. I want both DMZ’ed servers reve…

---

## [WebSockets - connection keeps closing after 1 minute](https://www.ruby-forum.com/t/websockets-connection-keeps-closing-after-1-minute/226763)

<div class="topic-metadata">

**Author:** [@WGH](https://www.ruby-forum.com/u/WGH)\
**Replies:** 2\
**Last updated:** [February 20, 2013, 5:17pm UTC](https://www.ruby-forum.com/t/websockets-connection-keeps-closing-after-1-minute/226763 "2013-02-20T17:17:31Z")

</div>

Hello! My WebSocket connections keep closing after precisely one minute. The configuration is the same as provided in that commit comment. http://trac.nginx.org/nginx/changeset/5073/nginx Direct connections to the se…

---

## [How about an nginx repository mirror list?](https://www.ruby-forum.com/t/how-about-an-nginx-repository-mirror-list/226731)

<div class="topic-metadata">

**Author:** [@antituhan](https://www.ruby-forum.com/u/antituhan)\
**Replies:** 5\
**Last updated:** [February 20, 2013, 5:15pm UTC](https://www.ruby-forum.com/t/how-about-an-nginx-repository-mirror-list/226731 "2013-02-20T17:15:46Z")

</div>

I see here http://wiki.nginx.org/Install for the Nginx Repository, especially RHEL/CentOS don’t have any mirror likes IP Based to Location. Or, is there a plan to build it?

---

## [Websockets support for uwsgi protocol](https://www.ruby-forum.com/t/websockets-support-for-uwsgi-protocol/226754)

<div class="topic-metadata">

**Author:** [@Roberto\_De\_Ioris](https://www.ruby-forum.com/u/Roberto_De_Ioris)\
**Replies:** 6\
**Last updated:** [February 20, 2013, 4:21pm UTC](https://www.ruby-forum.com/t/websockets-support-for-uwsgi-protocol/226754 "2013-02-20T16:21:22Z")

</div>

Hi, the (tiny) attached patch enable support for new websockets handling when the uwsgi protocol is used instead of HTTP. I have tested it with various websocket libraries and with the api available in uWSGI 1.9. Fro…

---

## [PHP as FastCGI on Windows: Simple how-to setup PHP as a service](https://www.ruby-forum.com/t/php-as-fastcgi-on-windows-simple-how-to-setup-php-as-a-service/226757)

<div class="topic-metadata">

**Author:** [@BrentNewland](https://www.ruby-forum.com/u/BrentNewland)\
**Replies:** 0\
**Last updated:** [February 20, 2013, 3:00pm UTC](https://www.ruby-forum.com/t/php-as-fastcgi-on-windows-simple-how-to-setup-php-as-a-service/226757 "2013-02-20T15:00:06Z")

</div>

The official guide on setting up PHP as FastCGI on Windows PHP-FastCGI on Windows | NGINX makes use of batch files. After extensive research and some new information, I’ve managed to make a fairly simple guide on set…

---

## [Nginx redirect domain and sub-domain without www](https://www.ruby-forum.com/t/nginx-redirect-domain-and-sub-domain-without-www/226742)

<div class="topic-metadata">

**Author:** [@la\_chouette](https://www.ruby-forum.com/u/la_chouette)\
**Replies:** 1\
**Last updated:** [February 20, 2013, 12:21am UTC](https://www.ruby-forum.com/t/nginx-redirect-domain-and-sub-domain-without-www/226742 "2013-02-20T00:21:58Z")

</div>

Hello, for saas web application project I need to redirect subdomains to a specific directory (app-saas /) without the www. The domain name must also be without redirecting to the www root. Ex. www.domain.tdl to d…

---

## [SPDY Patch fails to compile](https://www.ruby-forum.com/t/spdy-patch-fails-to-compile/226735)

<div class="topic-metadata">

**Author:** [@manacit](https://www.ruby-forum.com/u/manacit)\
**Replies:** 1\
**Last updated:** [February 19, 2013, 6:23pm UTC](https://www.ruby-forum.com/t/spdy-patch-fails-to-compile/226735 "2013-02-19T18:23:09Z")

</div>

Attempting to compile the SPDY patch with the new 1.3.13 release gives: $ make make -f objs/Makefile make\[1\]: Entering directory /home/nick/src/nginx-1.3.13' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parame…

---

## ['no input file specified' on LEMP setup](https://www.ruby-forum.com/t/no-input-file-specified-on-lemp-setup/226713)

<div class="topic-metadata">

**Author:** [@mottwsc](https://www.ruby-forum.com/u/mottwsc)\
**Replies:** 2\
**Last updated:** [February 19, 2013, 5:43pm UTC](https://www.ruby-forum.com/t/no-input-file-specified-on-lemp-setup/226713 "2013-02-19T17:43:58Z")

</div>

I followed the article “How to Install Linux, nginx, MySQL, PHP (LEMP) stack on CentOS 6” (https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-6) and could see th…

---

## [Limit request + whitelist = not using response code from backend? 0.8.54](https://www.ruby-forum.com/t/limit-request-whitelist-not-using-response-code-from-backend-0-8-54/226725)

<div class="topic-metadata">

**Author:** [@DreamWerx](https://www.ruby-forum.com/u/DreamWerx)\
**Replies:** 2\
**Last updated:** [February 19, 2013, 2:35pm UTC](https://www.ruby-forum.com/t/limit-request-whitelist-not-using-response-code-from-backend-0-8-54/226725 "2013-02-19T14:35:11Z")

</div>

Hi all, I’m hoping someone can help me with a small issue. I’m trying to implement rate limiting with a whitelist, and all in all it seems to be working, but the wrong response code is being sent back to the browser…

---

## [\*\*\* glibc detected \*\*\* nginx: master process /data/nginx/sbin/nginx -c /data/nginx/conf/nginx.conf:](https://www.ruby-forum.com/t/glibc-detected-nginx-master-process-data-nginx-sbin-nginx-c-data-nginx-conf-nginx-conf/226724)

<div class="topic-metadata">

**Author:** [@disney2002](https://www.ruby-forum.com/u/disney2002)\
**Replies:** 1\
**Last updated:** [February 19, 2013, 1:33pm UTC](https://www.ruby-forum.com/t/glibc-detected-nginx-master-process-data-nginx-sbin-nginx-c-data-nginx-conf-nginx-conf/226724 "2013-02-19T13:33:49Z")

</div>

I got a Serious problem，here is the nginx config: nginx version: nginx/0.8.55 built by gcc 4.1.2 20080704 (Red Hat 4.1.2-52) TLS SNI support enabled configure arguments: --user=www --group=www --prefix=/data/nginx/ …

---

## [Installing nginx on centos should be straightforward](https://www.ruby-forum.com/t/installing-nginx-on-centos-should-be-straightforward/226660)

<div class="topic-metadata">

**Author:** [@mottwsc](https://www.ruby-forum.com/u/mottwsc)\
**Replies:** 11\
**Last updated:** [February 19, 2013, 1:27pm UTC](https://www.ruby-forum.com/t/installing-nginx-on-centos-should-be-straightforward/226660 "2013-02-19T13:27:58Z")

</div>

I have set up a virtual server with a LAMP stack (Centos 6.3) and am now trying to install nginx to use as a proxy server. I have been told to download from sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/e…

---

## [Nginx can't run php only 'PAGE NOT FOUND'](https://www.ruby-forum.com/t/nginx-cant-run-php-only-page-not-found/226717)

<div class="topic-metadata">

**Author:** [@leejaycoke](https://www.ruby-forum.com/u/leejaycoke)\
**Replies:** 2\
**Last updated:** [February 19, 2013, 12:57pm UTC](https://www.ruby-forum.com/t/nginx-cant-run-php-only-page-not-found/226717 "2013-02-19T12:57:34Z")

</div>

I’m sorry for my English… nginx has default html page it’s /usr/share/nginx/html. But I changed custom new path it’s /home/norrent/public\_html. If I put php and html files in the original path, works well. But if I p…

---

## [Upgrading Executable on the Fly - wrong docs?](https://www.ruby-forum.com/t/upgrading-executable-on-the-fly-wrong-docs/229804)

<div class="topic-metadata">

**Author:** [@piotr.dobrogost](https://www.ruby-forum.com/u/piotr.dobrogost)\
**Replies:** 5\
**Last updated:** [February 19, 2013, 12:55pm UTC](https://www.ruby-forum.com/t/upgrading-executable-on-the-fly-wrong-docs/229804 "2013-02-19T12:55:48Z")

</div>

Hi! After reading the section titled “Upgrading Executable on the Fly” in the docs (at Controlling nginx) I have an impression the information given is wrong. In the first bullet one reads “Send the HUP signal to t…

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

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