# Server

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

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

---

## [I can't find the reson of this error ,maybe about php-fpm?](https://www.ruby-forum.com/t/i-cant-find-the-reson-of-this-error-maybe-about-php-fpm/189520)

<div class="topic-metadata">

**Author:** [@ultrawind](https://www.ruby-forum.com/u/ultrawind)\
**Replies:** 13\
**Last updated:** [June 3, 2010, 4:08am UTC](https://www.ruby-forum.com/t/i-cant-find-the-reson-of-this-error-maybe-about-php-fpm/189520 "2010-06-03T04:08:23Z")

</div>

Today , my local web http://192.168.1.140/ can’t be visited , but it can visit html file , just can’t visit php file. so i think it is php problem. I do not did any change about the nginx.conf and php-fpm.conf , and I …

---

## [Nginx-0.8.38/39 problem with mp4 stream module](https://www.ruby-forum.com/t/nginx-0-8-38-39-problem-with-mp4-stream-module/189506)

<div class="topic-metadata">

**Author:** [@gregbugaj](https://www.ruby-forum.com/u/gregbugaj)\
**Replies:** 3\
**Last updated:** [June 2, 2010, 9:32pm UTC](https://www.ruby-forum.com/t/nginx-0-8-38-39-problem-with-mp4-stream-module/189506 "2010-06-02T21:32:41Z")

</div>

Hello With new version of nginx I have problem while make with nginx\_mod\_h264\_streaming-2.2.7. Error below. -o objs/addon/src/ngx\_http\_h264\_streaming\_module.o \\ /usr/src/nginx\_mod\_h264\_streaming-2.2.7/src/ngx\_http\_h2…

---

## [Configuratioin fastcgi C/C++ program](https://www.ruby-forum.com/t/configuratioin-fastcgi-c-c-program/189498)

<div class="topic-metadata">

**Author:** [@JCR](https://www.ruby-forum.com/u/JCR)\
**Replies:** 6\
**Last updated:** [June 2, 2010, 9:31pm UTC](https://www.ruby-forum.com/t/configuratioin-fastcgi-c-c-program/189498 "2010-06-02T21:31:30Z")

</div>

hello I have a fastcgi program like this 1 #include "/usr/local/include/fcgi\_stdio.h" 2 #include \<stdlib.h\> 3 int count; 4 void initialize(void) 5 { 6 count=0; 7 } 8 in…

---

## [Login.html](https://www.ruby-forum.com/t/login-html/189485)

<div class="topic-metadata">

**Author:** [@Scott\_Behrens](https://www.ruby-forum.com/u/Scott_Behrens)\
**Replies:** 9\
**Last updated:** [June 2, 2010, 9:20pm UTC](https://www.ruby-forum.com/t/login-html/189485 "2010-06-02T21:20:58Z")

</div>

Hello, I am having an issue with Reverse Proxy to a site that uses login.html as it’s index page. I went ahead and used this as my index: location / { proxy\_pass http://10.10.1.158:9080/; …

---

## [Ngx\_headers\_more v0.09: wildcard support in more\_clear\_headers](https://www.ruby-forum.com/t/ngx-headers-more-v0-09-wildcard-support-in-more-clear-headers/189524)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 2:08pm UTC](https://www.ruby-forum.com/t/ngx-headers-more-v0-09-wildcard-support-in-more-clear-headers/189524 "2010-06-02T14:08:21Z")

</div>

Hi, folks! I’m delighted to announce the v0.09 release of the ngx\_headers\_more module: http://github.com/agentzh/headers-more-nginx-module/tarball/v0.09 This module allows you to add, set, or clear any output or inpu…

---

## [Client\_max\_body\_size not working?](https://www.ruby-forum.com/t/client-max-body-size-not-working/189508)

<div class="topic-metadata">

**Author:** [@cliffwiggs](https://www.ruby-forum.com/u/cliffwiggs)\
**Replies:** 1\
**Last updated:** [June 2, 2010, 12:57am UTC](https://www.ruby-forum.com/t/client-max-body-size-not-working/189508 "2010-06-02T00:57:37Z")

</div>

I have: client\_max\_body\_size 10m; in server section of nginx.conf (also tried in http section), but I receive: 2010/05/09 20:55:18 \[error\] 3361#0: \*6975 client intended to send too large body: 1806129 bytes, client:…

---

## [Expires header for cache](https://www.ruby-forum.com/t/expires-header-for-cache/189501)

<div class="topic-metadata">

**Author:** [@discCIT](https://www.ruby-forum.com/u/discCIT)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 10:32pm UTC](https://www.ruby-forum.com/t/expires-header-for-cache/189501 "2010-06-01T22:32:27Z")

</div>

I am trying to get the expires header to work on the cache module. I am limiting what content can be accessed and then would like to cache that content. It is working to only server the specified content but it is n…

---

## [Load Balancing PHP](https://www.ruby-forum.com/t/load-balancing-php/189423)

<div class="topic-metadata">

**Author:** [@Mickie\_D](https://www.ruby-forum.com/u/Mickie_D)\
**Replies:** 15\
**Last updated:** [June 1, 2010, 6:48pm UTC](https://www.ruby-forum.com/t/load-balancing-php/189423 "2010-06-01T18:48:50Z")

</div>

Hi there I am trying to load balance my website between 2 servers. I have set them both up to mirror each other But they are a forum and using PHP ??? This is the code I have but it will only use one site. It only us…

---

## [Serving Images and attachments via nginx](https://www.ruby-forum.com/t/serving-images-and-attachments-via-nginx/189461)

<div class="topic-metadata">

**Author:** [@Mickie\_D](https://www.ruby-forum.com/u/Mickie_D)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 12:08pm UTC](https://www.ruby-forum.com/t/serving-images-and-attachments-via-nginx/189461 "2010-06-01T12:08:19Z")

</div>

Hi there I changed the way my servers act so I could reduce the load from my machines but would like some help with setting it up. It would be really nice to let all users hit my main server (PHP), and then nginx can…

---

## [Nginx-0.8.38](https://www.ruby-forum.com/t/nginx-0-8-38/189095)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 13\
**Last updated:** [June 1, 2010, 6:54am UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095 "2010-06-01T06:54:01Z")

</div>

Changes with nginx 0.8.38 24 May 2010 \*) Feature: the "proxy\_no\_cache" and "fastcgi\_no\_cache" directives. \*) Feature: now the "rewrite" directive does a redirect automatically …

---

## [Nginx-0.8.39](https://www.ruby-forum.com/t/nginx-0-8-39/189416)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 3\
**Last updated:** [June 1, 2010, 5:39am UTC](https://www.ruby-forum.com/t/nginx-0-8-39/189416 "2010-06-01T05:39:25Z")

</div>

Changes with nginx 0.8.39 31 May 2010 \*) Bugfix: an inherited "alias" directive worked incorrectly in inclusive location. \*) Bugfix: in "alias" with variables and "try\_files" …

---

## [Dynamic Upstream Provider List](https://www.ruby-forum.com/t/dynamic-upstream-provider-list/189417)

<div class="topic-metadata">

**Author:** [@rovar](https://www.ruby-forum.com/u/rovar)\
**Replies:** 3\
**Last updated:** [June 1, 2010, 4:41am UTC](https://www.ruby-forum.com/t/dynamic-upstream-provider-list/189417 "2010-06-01T04:41:44Z")

</div>

I am working on a load balancing system where the upstream providers need to change at runtime. The available peer group will be routed either by a hash, or by round robin, but the size of the peer group might change …

---

## [Error directive help with 404](https://www.ruby-forum.com/t/error-directive-help-with-404/189342)

<div class="topic-metadata">

**Author:** [@robinsonc494](https://www.ruby-forum.com/u/robinsonc494)\
**Replies:** 2\
**Last updated:** [June 1, 2010, 12:04am UTC](https://www.ruby-forum.com/t/error-directive-help-with-404/189342 "2010-06-01T00:04:53Z")

</div>

Hi all, I’ve just moved from an apache2 server and i’m trying to set up nginx. Its installed, compiled from source and running fine. In the process of fine tuning my setup i noticed my 404’s aren’t doing what i want…

---

## [XML files truncated](https://www.ruby-forum.com/t/xml-files-truncated/189403)

<div class="topic-metadata">

**Author:** [@axel](https://www.ruby-forum.com/u/axel)\
**Replies:** 13\
**Last updated:** [May 31, 2010, 4:41pm UTC](https://www.ruby-forum.com/t/xml-files-truncated/189403 "2010-05-31T16:41:08Z")

</div>

Hi guys, I recently migrated from Apache to Nginx. Really cool. My website is much faster. BUT I have a really weird issue that didn’t occur with Apache. It seems that some big files are sometimes truncated by the se…

---

## [Nginx reload](https://www.ruby-forum.com/t/nginx-reload/189406)

<div class="topic-metadata">

**Author:** [@rbdev](https://www.ruby-forum.com/u/rbdev)\
**Replies:** 2\
**Last updated:** [May 31, 2010, 2:27pm UTC](https://www.ruby-forum.com/t/nginx-reload/189406 "2010-05-31T14:27:39Z")

</div>

We need to change upstreams weight dynamicly(every 15 sec.), is that normal to reload nginx so frequently in prodution?

---

## [Problem upgrading on the fly when ipv6 is used](https://www.ruby-forum.com/t/problem-upgrading-on-the-fly-when-ipv6-is-used/189348)

<div class="topic-metadata">

**Author:** [@Usu](https://www.ruby-forum.com/u/Usu)\
**Replies:** 6\
**Last updated:** [May 31, 2010, 9:58am UTC](https://www.ruby-forum.com/t/problem-upgrading-on-the-fly-when-ipv6-is-used/189348 "2010-05-31T09:58:25Z")

</div>

Hi! I’ve always upgraded nginx on the fly following this guide: CommandLine | NGINX without problems. I recently added IPv6 support to nginx and now, when I need to upgrade it, it doesn’t start the new instance when …

---

## [Reverse Proxy for Exchange 2010 Outlook Anywhere (RPC over HTTPS)](https://www.ruby-forum.com/t/reverse-proxy-for-exchange-2010-outlook-anywhere-rpc-over-https/189376)

<div class="topic-metadata">

**Author:** [@Xronos](https://www.ruby-forum.com/u/Xronos)\
**Replies:** 0\
**Last updated:** [May 30, 2010, 5:46pm UTC](https://www.ruby-forum.com/t/reverse-proxy-for-exchange-2010-outlook-anywhere-rpc-over-https/189376 "2010-05-30T17:46:53Z")

</div>

Hi, Ngnix has been configured as a reverse Proxy for an Exchange2010-Server (for OWA (Outlook Web Access) and Microsoft-Active-Sync). This works great. But I also want to use nginx for Outlook Anywhere (RPC over HTTP…

---

## [Random Instant 502 Bad Gateway Errors](https://www.ruby-forum.com/t/random-instant-502-bad-gateway-errors/189356)

<div class="topic-metadata">

**Author:** [@TheCrach](https://www.ruby-forum.com/u/TheCrach)\
**Replies:** 17\
**Last updated:** [May 30, 2010, 10:03am UTC](https://www.ruby-forum.com/t/random-instant-502-bad-gateway-errors/189356 "2010-05-30T10:03:55Z")

</div>

Hi, I’m French and I’ve some problem with nginx 0.8.38 and PHP-FPM 5.3.0 with Suhosin patch :confused: I’ve got random instant 502 Bad Gateway errors, generaly a refresh make the page works again but it’s really anoy…

---

## [Maintenance page and localhost access](https://www.ruby-forum.com/t/maintenance-page-and-localhost-access/189019)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 2\
**Last updated:** [May 28, 2010, 8:41pm UTC](https://www.ruby-forum.com/t/maintenance-page-and-localhost-access/189019 "2010-05-28T20:41:54Z")

</div>

As I prepare to test some changes related to the “0day exploit” thread, I thought I’d set up a maintenance page block so I could do the testing. Just realized though that the maintenance block examples take the site d…

---

## [Nginx logic (if cookie set, redirect hereâ€¦) Is it possible?](https://www.ruby-forum.com/t/nginx-logic-if-cookie-set-redirect-herea-is-it-possible/189317)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 3\
**Last updated:** [May 28, 2010, 5:25pm UTC](https://www.ruby-forum.com/t/nginx-logic-if-cookie-set-redirect-herea-is-it-possible/189317 "2010-05-28T17:25:14Z")

</div>

So, I have a pretty basic need, but I can’t figure out if it’s even possible, much less how to do it. I have a main page that anyone can see. Most of the rest of the application can be seen only if logged in (hence, a…

---

## [Ipv6 support for upstream server](https://www.ruby-forum.com/t/ipv6-support-for-upstream-server/189279)

<div class="topic-metadata">

**Author:** [@reima](https://www.ruby-forum.com/u/reima)\
**Replies:** 1\
**Last updated:** [May 28, 2010, 11:52am UTC](https://www.ruby-forum.com/t/ipv6-support-for-upstream-server/189279 "2010-05-28T11:52:42Z")

</div>

Hello, is IPv6 supported for upstream servers? I try to setup an ipv4 to ipv6 proxy: I configured it like this: server { listen 188.40.110.21:80; server\_name foobar.de.ip4.zu-con.org; location / { proxy\_pass h…

---

## [What does the "main" pointor in request struct mean?](https://www.ruby-forum.com/t/what-does-the-main-pointor-in-request-struct-mean/189235)

<div class="topic-metadata">

**Author:** [@4everpan](https://www.ruby-forum.com/u/4everpan)\
**Replies:** 6\
**Last updated:** [May 28, 2010, 10:53am UTC](https://www.ruby-forum.com/t/what-does-the-main-pointor-in-request-struct-mean/189235 "2010-05-28T10:53:35Z")

</div>

I found in Nginx that: struct ngx\_http\_request\_s { … ngx\_http\_request\_t \*main; … }; what does this argument mean? I also found a similar argument in Apache: request\_rec\* request\_rec::main //Pointer…

---

## [Error\_page with try\_files](https://www.ruby-forum.com/t/error-page-with-try-files/189293)

<div class="topic-metadata">

**Author:** [@Marcos\_N](https://www.ruby-forum.com/u/Marcos_N)\
**Replies:** 0\
**Last updated:** [May 28, 2010, 5:48am UTC](https://www.ruby-forum.com/t/error-page-with-try-files/189293 "2010-05-28T05:48:41Z")

</div>

I want to check if the user has a custom error page, if not shows a default inside nginx basedir. error\_page 404 403 502 503 504 = @error; location @error { try\_files /404.htm /404.html /404.php (how to point to a f…

---

## [Tips for debugging fcgi](https://www.ruby-forum.com/t/tips-for-debugging-fcgi/189290)

<div class="topic-metadata">

**Author:** [@Marcos\_N](https://www.ruby-forum.com/u/Marcos_N)\
**Replies:** 0\
**Last updated:** [May 28, 2010, 5:04am UTC](https://www.ruby-forum.com/t/tips-for-debugging-fcgi/189290 "2010-05-28T05:04:47Z")

</div>

I found a easy way to debugging fcgi. easy\_install flup wget http://gist.github.com/416675.txt -O debug\_fcgi.py chmod +x debug\_fcgi.py run using debug\_fcgi.py & remender to stop any other server running on port 900…

---

## [Question about nginx as http forward proxy](https://www.ruby-forum.com/t/question-about-nginx-as-http-forward-proxy/189288)

<div class="topic-metadata">

**Author:** [@Roman\_V](https://www.ruby-forum.com/u/Roman_V)\
**Replies:** 0\
**Last updated:** [May 28, 2010, 4:24am UTC](https://www.ruby-forum.com/t/question-about-nginx-as-http-forward-proxy/189288 "2010-05-28T04:24:59Z")

</div>

Hi, I’m trying to use nginx as forward proxy with high loaded server on CentOS 5.4. My stats showing good results (about memory/cpu usage and traffic). But Apache benchmark showing some percentage of lagged sessions.…

---

## [Using nginx as ssh proxy?](https://www.ruby-forum.com/t/using-nginx-as-ssh-proxy/189283)

<div class="topic-metadata">

**Author:** [@bober0](https://www.ruby-forum.com/u/bober0)\
**Replies:** 0\
**Last updated:** [May 28, 2010, 1:01am UTC](https://www.ruby-forum.com/t/using-nginx-as-ssh-proxy/189283 "2010-05-28T01:01:16Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I read this tutorial setting up a ssh proxy http://dag.wieers.com/howto/ssh-http-tunneling/ We are currently using on our server nginx as http proxy, so it would …

---

## [PHP-FPM and nginx upstart scripts for Ubuntu 10.04](https://www.ruby-forum.com/t/php-fpm-and-nginx-upstart-scripts-for-ubuntu-10-04/188980)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [May 27, 2010, 9:59pm UTC](https://www.ruby-forum.com/t/php-fpm-and-nginx-upstart-scripts-for-ubuntu-10-04/188980 "2010-05-27T21:59:47Z")

</div>

Works with PHP 5.2.x + the patch. http://michaelshadle.com/2010/05/21/php-fpm-and-nginx-upstart-scripts/ (No clue how to startup PHP 5.3 w/ SVN, may wind up being the same… haven’t had a chance to run it yet.) Replac…

---

## [Try\_files php](https://www.ruby-forum.com/t/try-files-php/189273)

<div class="topic-metadata">

**Author:** [@Marcos\_N](https://www.ruby-forum.com/u/Marcos_N)\
**Replies:** 11\
**Last updated:** [May 27, 2010, 9:38pm UTC](https://www.ruby-forum.com/t/try-files-php/189273 "2010-05-27T21:38:42Z")

</div>

How can I reproduce this behavior: with a request to /foo/bar try file: foo/bar try index.htm: foo/bar/ try file: foo/bar.htm try file: foo/bar.html try parse php: foo/bar.php try file: /layout.htm try file: /lay…

---

## [Limit file types that can be proxied](https://www.ruby-forum.com/t/limit-file-types-that-can-be-proxied/189271)

<div class="topic-metadata">

**Author:** [@reference123](https://www.ruby-forum.com/u/reference123)\
**Replies:** 1\
**Last updated:** [May 27, 2010, 8:43pm UTC](https://www.ruby-forum.com/t/limit-file-types-that-can-be-proxied/189271 "2010-05-27T20:43:38Z")

</div>

I am trying to limit the file types that can be proxied from our backend server. I am trying to limit it to jpg, gif, png, css and then two other specific files - Thumbnail.ashx and hearbeat.htm. I am also hoping t…

---

## [Can nginx modules read files from network connection?](https://www.ruby-forum.com/t/can-nginx-modules-read-files-from-network-connection/189241)

<div class="topic-metadata">

**Author:** [@shugyo](https://www.ruby-forum.com/u/shugyo)\
**Replies:** 0\
**Last updated:** [May 27, 2010, 11:05am UTC](https://www.ruby-forum.com/t/can-nginx-modules-read-files-from-network-connection/189241 "2010-05-27T11:05:09Z")

</div>

Hello, My first post, please excuse if this question is answered, I did not find information with searches. I am using flv module as basis for a download module that talks to MySQL for authorization (filehash in URI …

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

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