# Server

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

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

---

## [Try\_files, POST, and redirecting requests to Passenger](https://www.ruby-forum.com/t/try-files-post-and-redirecting-requests-to-passenger/225443)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [January 9, 2013, 8:39pm UTC](https://www.ruby-forum.com/t/try-files-post-and-redirecting-requests-to-passenger/225443 "2013-01-09T20:39:33Z")

</div>

The application I’m working on (CMS) has a few interesting requirements: Custom user domains Very heavily page cached. Any page can be POSTed to (page has a form on it) In Apache, this was easily handled. If GET, then…

---

## [Use pcre-config to set ngx\_feature\_path and ngx\_feature\_libs](https://www.ruby-forum.com/t/use-pcre-config-to-set-ngx-feature-path-and-ngx-feature-libs/225464)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 9, 2013, 5:47pm UTC](https://www.ruby-forum.com/t/use-pcre-config-to-set-ngx-feature-path-and-ngx-feature-libs/225464 "2013-01-09T17:47:01Z")

</div>

Hi, there. Here is a patch for using pcre-config to set ngx\_feature\_path and ngx\_feature\_libs. I need this since I would like to use pcre 8.32 built from source and installed in /opt/lib64/libpcre.so.1. Could you r…

---

## [Upstream fast\_cgi no port error](https://www.ruby-forum.com/t/upstream-fast-cgi-no-port-error/199753)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [January 9, 2013, 7:12am UTC](https://www.ruby-forum.com/t/upstream-fast-cgi-no-port-error/199753 "2013-01-09T07:12:31Z")

</div>

Hi, I’m trying out nginx and some of its features. I’m using stable version: nginx/0.8.53 on ubuntu server. If I try to configure fast\_cgi to use an upstream backend as in the wiki: upstream backend { server lo…

---

## [Htaccess to nginx, real nightmare - Any advice?](https://www.ruby-forum.com/t/htaccess-to-nginx-real-nightmare-any-advice/225448)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 9, 2013, 7:01am UTC](https://www.ruby-forum.com/t/htaccess-to-nginx-real-nightmare-any-advice/225448 "2013-01-09T07:01:25Z")

</div>

Hello I’m using Nginx from 3 weeks for wordpress and scripts like phplinkdirectory. Unfortunately i’m still noob converting htaccess rules to nginx and sometimes a simple conversion is a real nightmare. I cannot sol…

---

## [Primary script unknown error - can't figure out how to fix](https://www.ruby-forum.com/t/primary-script-unknown-error-cant-figure-out-how-to-fix/225435)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [January 8, 2013, 11:10pm UTC](https://www.ruby-forum.com/t/primary-script-unknown-error-cant-figure-out-how-to-fix/225435 "2013-01-08T23:10:31Z")

</div>

Hi all, I’m new to nginx and trying to setup a piwik virtual hosts on an up-to-date CentOS 6.3 box with nginx 1.2.6, php-5.3.3 with php-fpm src from the 5.3.20 release. I’m seeing some “Primary script unknown” errors …

---

## [Nginx post response doesn't get cached](https://www.ruby-forum.com/t/nginx-post-response-doesnt-get-cached/225327)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [January 8, 2013, 12:57pm UTC](https://www.ruby-forum.com/t/nginx-post-response-doesnt-get-cached/225327 "2013-01-08T12:57:29Z")

</div>

I’m using an old version of nginx (0.8) on centos as reverse proxy for caching POST requests in front of two upstream servers. The servers are built for receiving post requests and returning media, sometimes 10 MB in …

---

## [Http 500 errors are not cached but go to the backend](https://www.ruby-forum.com/t/http-500-errors-are-not-cached-but-go-to-the-backend/229336)

<div class="topic-metadata">

**Author:** [@brama](https://www.ruby-forum.com/u/brama)\
**Replies:** 2\
**Last updated:** [January 8, 2013, 11:19am UTC](https://www.ruby-forum.com/t/http-500-errors-are-not-cached-but-go-to-the-backend/229336 "2013-01-08T11:19:53Z")

</div>

Hi, I’ve set up nginx (tested with 1.2.6 and 1.3.10) to cache all requests to our fastcgi backends. If a cache entry expires, stale entries wil be served while nginx is updating the cache. I’m using the fastcgi\_cach…

---

## [Why does nginx sometimes send Connection: close to Connection: keep-alive requests?](https://www.ruby-forum.com/t/why-does-nginx-sometimes-send-connection-close-to-connection-keep-alive-requests/225401)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 8, 2013, 4:42am UTC](https://www.ruby-forum.com/t/why-does-nginx-sometimes-send-connection-close-to-connection-keep-alive-requests/225401 "2013-01-08T04:42:39Z")

</div>

This may be a bit difficult to explain but I will try my best: We have the following setup: \[ BOX 1 : NGINX Frontend \] —reverse-proxy—\> \[ BOX 2: NGINX Backend —\> PHP-FPM \] Upstream keepalives are enabled on BOX 1 as…

---

## [How to cap server load?](https://www.ruby-forum.com/t/how-to-cap-server-load/229595)

<div class="topic-metadata">

**Author:** [@KT\_Walrus](https://www.ruby-forum.com/u/KT_Walrus)\
**Replies:** 3\
**Last updated:** [January 6, 2013, 12:35am UTC](https://www.ruby-forum.com/t/how-to-cap-server-load/229595 "2013-01-06T00:35:50Z")

</div>

I really want to ensure that my web servers are not overloaded. Can I do this with nginx? That is, is there a variable I could test to decide whether nginx should send the request to the local PHP backend or to forwar…

---

## [Nginx + FollowSymLinks owner verification](https://www.ruby-forum.com/t/nginx-followsymlinks-owner-verification/218755)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 12\
**Last updated:** [January 5, 2013, 6:42pm UTC](https://www.ruby-forum.com/t/nginx-followsymlinks-owner-verification/218755 "2013-01-05T18:42:26Z")

</div>

i have made a test security and i have found the fallowing : we have the fallowing synoposis : \[root@server4 www\]# ls -alh total 144K drwxr-x— 6 usertest nobody 4.0K Apr 10 20:09 . drwx–x–x 13 usertest usertest 4…

---

## [Default server showing incorrectly for site homepage only](https://www.ruby-forum.com/t/default-server-showing-incorrectly-for-site-homepage-only/229317)

<div class="topic-metadata">

**Author:** [@EricHarth](https://www.ruby-forum.com/u/EricHarth)\
**Replies:** 0\
**Last updated:** [January 5, 2013, 10:20am UTC](https://www.ruby-forum.com/t/default-server-showing-incorrectly-for-site-homepage-only/229317 "2013-01-05T10:20:04Z")

</div>

Hi All I have a rather strange issue that appears to have only started in the last few days (no changes have been made in the last few days) . I’ll try and describe it as best I can but please let me know if I need t…

---

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

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 5, 2013, 8:54am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-6-1-released/225390 "2013-01-05T08:54:13Z")

</div>

Hello, folks! I am delighted to announce the new development version of ngx\_openresty, 1.2.6.1: http://openresty.org/#Download Special thanks go to all our contributors and users for helping make this happen! Belo…

---

## [For the nginx community](https://www.ruby-forum.com/t/for-the-nginx-community/229271)

<div class="topic-metadata">

**Author:** [@Anoop\_A](https://www.ruby-forum.com/u/Anoop_A)\
**Replies:** 0\
**Last updated:** [January 5, 2013, 7:56am UTC](https://www.ruby-forum.com/t/for-the-nginx-community/229271 "2013-01-05T07:56:24Z")

</div>

Hello, Here is a sneak preview of cpXstack . The plugin for cpanel powered servers to use the full potential of nginX + PHP-FPM === http://youtu.be/UAmXOJIC93o

---

## [Process a PHP5 file through a socket](https://www.ruby-forum.com/t/process-a-php5-file-through-a-socket/225387)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 4, 2013, 11:19pm UTC](https://www.ruby-forum.com/t/process-a-php5-file-through-a-socket/225387 "2013-01-04T23:19:43Z")

</div>

Hello, is it possible to process a php file directly in a socket without nginx? Thanks for any ideas and help! Greets, Patschi

---

## [Dynamic upstream configuration](https://www.ruby-forum.com/t/dynamic-upstream-configuration/229587)

<div class="topic-metadata">

**Author:** [@KT\_Walrus](https://www.ruby-forum.com/u/KT_Walrus)\
**Replies:** 0\
**Last updated:** [January 4, 2013, 9:19pm UTC](https://www.ruby-forum.com/t/dynamic-upstream-configuration/229587 "2013-01-04T21:19:22Z")

</div>

I’m new to this mailing list, but have used nginx for simple websites for years. Now, I am planning a more complicated website which will require multiple upstream servers and more dynamic reconfiguration events. I …

---

## ["first" load balancing](https://www.ruby-forum.com/t/first-load-balancing/229334)

<div class="topic-metadata">

**Author:** [@KT\_Walrus](https://www.ruby-forum.com/u/KT_Walrus)\
**Replies:** 0\
**Last updated:** [January 4, 2013, 6:34pm UTC](https://www.ruby-forum.com/t/first-load-balancing/229334 "2013-01-04T18:34:03Z")

</div>

The purpose of this message is to request a new feature be added to NGINX - “first” load balancing algorithm and MAXCONN setting for upstream servers. I am setting up a new site that will require multiple upstream ser…

---

## [Wordpress in a subfolder](https://www.ruby-forum.com/t/wordpress-in-a-subfolder/225382)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [January 4, 2013, 3:15pm UTC](https://www.ruby-forum.com/t/wordpress-in-a-subfolder/225382 "2013-01-04T15:15:27Z")

</div>

Hi, I have a setup where there are 2 installations of wordpress .One under / and one under /wordpress . The configs are as below ############################## location / { try\_files $uri $uri/ /index.php?q=$uri&$ar…

---

## [Dynamic set upstream severs weight?](https://www.ruby-forum.com/t/dynamic-set-upstream-severs-weight/225289)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 4, 2013, 6:18am UTC](https://www.ruby-forum.com/t/dynamic-set-upstream-severs-weight/225289 "2013-01-04T06:18:36Z")

</div>

Hi Is it possible to change server weight or take them offline without modifying the config and reload? We want to change server weight from a script that monitor backend load average, is it possible? p.s. something…

---

## [Prevent Chrome SSL Domain Mismatch Warning When Redirecting](https://www.ruby-forum.com/t/prevent-chrome-ssl-domain-mismatch-warning-when-redirecting/229357)

<div class="topic-metadata">

**Author:** [@isabull](https://www.ruby-forum.com/u/isabull)\
**Replies:** 3\
**Last updated:** [January 3, 2013, 8:04pm UTC](https://www.ruby-forum.com/t/prevent-chrome-ssl-domain-mismatch-warning-when-redirecting/229357 "2013-01-03T20:04:49Z")

</div>

Hello, I have a SSL cert setup for a domain with no subdomain, i.e. mydomain.org. And a server block setup to redirect all https ‘www’ subdomain requests to the non subdomain server block. This works fine in Safar…

---

## [Path\_info in alias environment](https://www.ruby-forum.com/t/path-info-in-alias-environment/225363)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 3, 2013, 12:53pm UTC](https://www.ruby-forum.com/t/path-info-in-alias-environment/225363 "2013-01-03T12:53:43Z")

</div>

Hi There I need to get this working on nginx with php-fpm: example.com/studip/dispatch.php/admin/user/ The Problem seems to be, that /studip isn’t a subfolder under root but a alias to /usr/local/studip/public/ Here…

---

## [SSL pass through](https://www.ruby-forum.com/t/ssl-pass-through/229286)

<div class="topic-metadata">

**Author:** [@zuger](https://www.ruby-forum.com/u/zuger)\
**Replies:** 5\
**Last updated:** [January 2, 2013, 11:12pm UTC](https://www.ruby-forum.com/t/ssl-pass-through/229286 "2013-01-02T23:12:57Z")

</div>

Hello, I would like to use NGINX as a reverse proxy and pass https requests to a back-end server without having to install certificates on the NGINX reverse proxy because the backend servers are already set up to ha…

---

## [Gssapi](https://www.ruby-forum.com/t/gssapi/229663)

<div class="topic-metadata">

**Author:** [@Friedrich\_L](https://www.ruby-forum.com/u/Friedrich_L)\
**Replies:** 1\
**Last updated:** [January 2, 2013, 7:09pm UTC](https://www.ruby-forum.com/t/gssapi/229663 "2013-01-02T19:09:17Z")

</div>

I am using kerberos to implement SSO in my network. Does nginx support gssapi autentication or even fetching passwords from kerberos ? Thanks for your help.

---

## [Multilanguage Websites](https://www.ruby-forum.com/t/multilanguage-websites/225291)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 13\
**Last updated:** [January 2, 2013, 4:06pm UTC](https://www.ruby-forum.com/t/multilanguage-websites/225291 "2013-01-02T16:06:25Z")

</div>

I would like to realize a website in multiple languages. Is there a way to implement the project with Nginx, or recommends you other ways? Thanks for help and Greetings Silvio

---

## [Support for kerberos](https://www.ruby-forum.com/t/support-for-kerberos/225354)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [January 2, 2013, 2:54pm UTC](https://www.ruby-forum.com/t/support-for-kerberos/225354 "2013-01-02T14:54:00Z")

</div>

Hi folks, i wonder if nginx support for authentication via kerberos ticket or even fetching passwords from kerberos! Thanks in advance.

---

## [Can't figure out secure PHP incantation for owncloud](https://www.ruby-forum.com/t/cant-figure-out-secure-php-incantation-for-owncloud/229489)

<div class="topic-metadata">

**Author:** [@ewildgoose](https://www.ruby-forum.com/u/ewildgoose)\
**Replies:** 0\
**Last updated:** [January 2, 2013, 12:19pm UTC](https://www.ruby-forum.com/t/cant-figure-out-secure-php-incantation-for-owncloud/229489 "2013-01-02T12:19:13Z")

</div>

Hi, I’m using php-fpm to run an “owncloud” install. The application in question is a bit icky in that it has PHP files spread across the filesystem, uploadable data files in the htdocs root, all PHP files default to …

---

## [Purge whole cache zone](https://www.ruby-forum.com/t/purge-whole-cache-zone/229559)

<div class="topic-metadata">

**Author:** [@oleksandr-shb](https://www.ruby-forum.com/u/oleksandr-shb)\
**Replies:** 4\
**Last updated:** [January 2, 2013, 9:47am UTC](https://www.ruby-forum.com/t/purge-whole-cache-zone/229559 "2013-01-02T09:47:22Z")

</div>

Hi, I am interested if it is possible to invalidate whole cache zone. Now it is possible to invalidate single cache item using cache key and third party module Cache Purge. What I need is to remove all cache items wh…

---

## [Nginx FastCGI question](https://www.ruby-forum.com/t/nginx-fastcgi-question/229450)

<div class="topic-metadata">

**Author:** [@newdude](https://www.ruby-forum.com/u/newdude)\
**Replies:** 4\
**Last updated:** [January 1, 2013, 9:45pm UTC](https://www.ruby-forum.com/t/nginx-fastcgi-question/229450 "2013-01-01T21:45:58Z")

</div>

Hi, When you run a FastCGI application behind Nginx does Nginx pass all the HTTP request headers to the FastCGI server / app? Or do you need to explicitly pass them using fastcgi\_param? If Nginx does pass them, does …

---

## [Nginx crash only when using Chromium (in ubuntu)](https://www.ruby-forum.com/t/nginx-crash-only-when-using-chromium-in-ubuntu/225337)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [January 1, 2013, 4:06pm UTC](https://www.ruby-forum.com/t/nginx-crash-only-when-using-chromium-in-ubuntu/225337 "2013-01-01T16:06:34Z")

</div>

i could not find the cause that only when using Chromium i get a crash but when using Firefox i never don’t. some hints to the nginx experts that might help: i use my handler module + filter module. (when module is …

---

## [On-the-fly conf reload retrieves errors](https://www.ruby-forum.com/t/on-the-fly-conf-reload-retrieves-errors/225340)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 30, 2012, 9:59pm UTC](https://www.ruby-forum.com/t/on-the-fly-conf-reload-retrieves-errors/225340 "2012-12-30T21:59:09Z")

</div>

I tried to run a “nginx -c /etc/nginx/nginx.conf” but I got: nginx: \[emerg\] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: \[emerg\] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: \[emer…

---

## [Feature idea: retrieve set\_real\_ip\_from (HttpRealipModule) from a text file online](https://www.ruby-forum.com/t/feature-idea-retrieve-set-real-ip-from-httprealipmodule-from-a-text-file-online/225332)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [December 30, 2012, 9:18pm UTC](https://www.ruby-forum.com/t/feature-idea-retrieve-set-real-ip-from-httprealipmodule-from-a-text-file-online/225332 "2012-12-30T21:18:50Z")

</div>

What about adding the possibility to retrieve a list of set\_real\_ip\_from from a text file online? I’m thinking about CloudFlare, that provides this 2 files (plain text): https://www.cloudflare.com/ips-v4 and https://…

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

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