# Server

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

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

---

## [File upload size limits?](https://www.ruby-forum.com/t/file-upload-size-limits/201898)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 18, 2011, 7:01am UTC](https://www.ruby-forum.com/t/file-upload-size-limits/201898 "2011-01-18T07:01:40Z")

</div>

Can nginx handle very large (4-8GB) file uploads? Using the nginx upload module with “client\_max\_body\_size 8000m;”, the maximum size file I could upload was 2GB using FireFox 3.6. Are there any cross-browser issues …

---

## [Empty request body using Embedded Perl](https://www.ruby-forum.com/t/empty-request-body-using-embedded-perl/201638)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 17, 2011, 3:44pm UTC](https://www.ruby-forum.com/t/empty-request-body-using-embedded-perl/201638 "2011-01-17T15:44:00Z")

</div>

Hi all, We use $r-\>request\_body method from Embedded Perl to process request body. The problem is although $r-\>has\_request\_body() returns 1, the request body is still evaluated to empty string. PS: According to the N…

---

## [Nginx and ipv6](https://www.ruby-forum.com/t/nginx-and-ipv6/201829)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 16, 2011, 10:04pm UTC](https://www.ruby-forum.com/t/nginx-and-ipv6/201829 "2011-01-16T22:04:05Z")

</div>

Hi, I have a small server running nginx and hosting a dokuwiki site. For security reason some directories of the dokuwiki install should be accessed by the outside world so my nginx site file is like that : server { …

---

## [Nginx and awstats setup](https://www.ruby-forum.com/t/nginx-and-awstats-setup/201823)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 16, 2011, 4:57pm UTC](https://www.ruby-forum.com/t/nginx-and-awstats-setup/201823 "2011-01-16T16:57:14Z")

</div>

I’m running awstats server stats log from another machine, nginx.conf: http://pastebin.com/buKAdfdd cgi-bin.conf: http://pastebin.com/qbbJ1rwK But I’m getting 404 when I visit (seems to take a while… then displays the …

---

## [Probably a php issue but maybe not, error reporting](https://www.ruby-forum.com/t/probably-a-php-issue-but-maybe-not-error-reporting/201661)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 16, 2011, 10:46am UTC](https://www.ruby-forum.com/t/probably-a-php-issue-but-maybe-not-error-reporting/201661 "2011-01-16T10:46:06Z")

</div>

Hi All, I have 2 sites configured in my Nginx configuration (i.e. two server blocks). The sites each point to a different root directory but run through the same php-fpm process via a fastcgi\_pass. PHP script errro…

---

## [Files directive](https://www.ruby-forum.com/t/files-directive/201726)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 16, 2011, 10:44am UTC](https://www.ruby-forum.com/t/files-directive/201726 "2011-01-16T10:44:50Z")

</div>

Hello all, Today in my Apache I use this directive in my htaccess: ForceType application/x-httpd-php There is any alternative to it in nginx? Thank You. Posted at Nginx Forum:

---

## [Proxy with Multi-Thread Connections?](https://www.ruby-forum.com/t/proxy-with-multi-thread-connections/201846)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 16, 2011, 5:03am UTC](https://www.ruby-forum.com/t/proxy-with-multi-thread-connections/201846 "2011-01-16T05:03:17Z")

</div>

Does nginx have the ability to open multiple threads in a proxy situation when connecting to the origin server? For example, say I have a site hosted in the US with a large file, say 500MB. A proxy cache is in tokyo, …

---

## [No input file specified issue](https://www.ruby-forum.com/t/no-input-file-specified-issue/201704)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 15, 2011, 7:51am UTC](https://www.ruby-forum.com/t/no-input-file-specified-issue/201704 "2011-01-15T07:51:17Z")

</div>

I’m getting “No input file specified.” when I attempt to browse to the phpmyadmin domain, not sure what I’m doing wrong… using both php-fpm and php-cgi, php-fpm is currently working another directory fine…Had to chan…

---

## [Nginx reverse proxy to an https forward proxy](https://www.ruby-forum.com/t/nginx-reverse-proxy-to-an-https-forward-proxy/201811)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 15, 2011, 1:12am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-to-an-https-forward-proxy/201811 "2011-01-15T01:12:23Z")

</div>

I’ve successfully set up nginx\_webserver as a reverse proxy to a webserver Ie: client\_browser → nginx\_webserver → internal\_webserver:443 =-=-=-=-= Is it possible to get nginx to act as a reverse proxy that connects …

---

## [Effectiveness of multiple locations and less if directives](https://www.ruby-forum.com/t/effectiveness-of-multiple-locations-and-less-if-directives/201520)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 14, 2011, 8:41pm UTC](https://www.ruby-forum.com/t/effectiveness-of-multiple-locations-and-less-if-directives/201520 "2011-01-14T20:41:15Z")

</div>

Hello everybody, I would like to restrict the direct access for instance, to \*.txt files except sitemap.txt and robots.txt. And no direct access also to any \*.php files except index.php and upgrade.php. I also would l…

---

## [Single proxy connection on identical simultaneous requests](https://www.ruby-forum.com/t/single-proxy-connection-on-identical-simultaneous-requests/201797)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 14, 2011, 8:04pm UTC](https://www.ruby-forum.com/t/single-proxy-connection-on-identical-simultaneous-requests/201797 "2011-01-14T20:04:47Z")

</div>

Hi, I’m wondering if there’s some way to avoid multiple proxy\_pass(ing) to a concurrent identical request at a given moment. The situation is that I have a gazillion identical requests which are not cached yet. So,…

---

## [Serve static file](https://www.ruby-forum.com/t/serve-static-file/201766)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 14, 2011, 6:43pm UTC](https://www.ruby-forum.com/t/serve-static-file/201766 "2011-01-14T18:43:50Z")

</div>

Hello, I thought I’ve configured Nginx serve static content itself. How do I know Nginx is serving Static content on itself. my config server { Replace this port with the right one for your requirements listen …

---

## [Limited rate of proxy\_pass per IP?](https://www.ruby-forum.com/t/limited-rate-of-proxy-pass-per-ip/201784)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 14, 2011, 5:15pm UTC](https://www.ruby-forum.com/t/limited-rate-of-proxy-pass-per-ip/201784 "2011-01-14T17:15:51Z")

</div>

Hello, Is it possible to limit proxy\_pass rate per IP? Currently I can limit conn per IP with firewall, but the most resource usage is behind the application server. That’s why I want to limit it. Thanks. Posted at …

---

## [Read request\_body of a POST request](https://www.ruby-forum.com/t/read-request-body-of-a-post-request/201778)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 14, 2011, 2:33pm UTC](https://www.ruby-forum.com/t/read-request-body-of-a-post-request/201778 "2011-01-14T14:33:37Z")

</div>

Hello, I’m working on a modul, that should get a POST request with XML-RPC data and then send a response. I have problem with getting the request\_body. It’s no problem to read headers and find Content-Type: text/xml.…

---

## [Feature Request proxy\_pass\_interface](https://www.ruby-forum.com/t/feature-request-proxy-pass-interface/201658)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [January 14, 2011, 12:57pm UTC](https://www.ruby-forum.com/t/feature-request-proxy-pass-interface/201658 "2011-01-14T12:57:32Z")

</div>

For one of my clients I require the ability to choose the outgoing interface for proxy\_pass, is it possible? Also how does nginx currently choose which interface to use on a system with mutliple?

---

## [Nginx cache seems to swallow Set-Cookie](https://www.ruby-forum.com/t/nginx-cache-seems-to-swallow-set-cookie/194330)

<div class="topic-metadata">

**Author:** [@pertl](https://www.ruby-forum.com/u/pertl)\
**Replies:** 10\
**Last updated:** [January 13, 2011, 11:21pm UTC](https://www.ruby-forum.com/t/nginx-cache-seems-to-swallow-set-cookie/194330 "2011-01-13T23:21:48Z")

</div>

I run nginx 0.7.67 as a frontend proxy and cache for my Java application running on jetty 7 using proxy\_pass and proxy\_cache. nginx runs on port 80, the java app on 8080. The very first thing the java application does…

---

## [Distinct upstream servers by name](https://www.ruby-forum.com/t/distinct-upstream-servers-by-name/201688)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 13, 2011, 2:49pm UTC](https://www.ruby-forum.com/t/distinct-upstream-servers-by-name/201688 "2011-01-13T14:49:45Z")

</div>

Hello. I want to proxy 2 apache vhosts. Both vhosts running on apache default port: 8080 and both are resolved through /etc/hosts upstream ultimabex\_upstream{ server ultimabex.va:8080; server ultimabex.vb:8080; } …

---

## [Maximum number of proxy\_cache\_path key\_zone's?](https://www.ruby-forum.com/t/maximum-number-of-proxy-cache-path-key-zones/201685)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 13, 2011, 2:42pm UTC](https://www.ruby-forum.com/t/maximum-number-of-proxy-cache-path-key-zones/201685 "2011-01-13T14:42:11Z")

</div>

Hi, Is there a limit to how many different key\_zone’s (in the proxy\_cache\_path directive) are possible in an nginx instance? -Ed Posted at Nginx Forum:

---

## [Probe for HttpUpstreamModule](https://www.ruby-forum.com/t/probe-for-httpupstreammodule/201727)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 13, 2011, 2:29pm UTC](https://www.ruby-forum.com/t/probe-for-httpupstreammodule/201727 "2011-01-13T14:29:01Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello! Is there a way to configure ‘probes’ for HttpUpstreamModule ? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla …

---

## [Probe for HttpUpstreamModule](https://www.ruby-forum.com/t/probe-for-httpupstreammodule/201728)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 13, 2011, 2:29pm UTC](https://www.ruby-forum.com/t/probe-for-httpupstreammodule/201728 "2011-01-13T14:29:01Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello! Is there a way to configure ‘probes’ for HttpUpstreamModule ? Thank you guys! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using Gn…

---

## [How to disable/not to send Last-Modified Header](https://www.ruby-forum.com/t/how-to-disable-not-to-send-last-modified-header/185001)

<div class="topic-metadata">

**Author:** [@tunggad](https://www.ruby-forum.com/u/tunggad)\
**Replies:** 5\
**Last updated:** [January 13, 2011, 2:27pm UTC](https://www.ruby-forum.com/t/how-to-disable-not-to-send-last-modified-header/185001 "2011-01-13T14:27:08Z")

</div>

We are using NGINX to front end Jetty Server, serving static content is done by NGINX and we want to disable/remove the Last-Modified Header. The Reason why we want to disable this header is to eliminate validation re…

---

## [Check for existing remote files](https://www.ruby-forum.com/t/check-for-existing-remote-files/201715)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 13, 2011, 11:52am UTC](https://www.ruby-forum.com/t/check-for-existing-remote-files/201715 "2011-01-13T11:52:22Z")

</div>

Hi guys. May be my question will break your nerves but please forgive me. At first I love Nginx. Nginx is dream come true for poor student like me :)) which doesn’t have money for sloooooowly web servers for my projec…

---

## [Getpwnam issue](https://www.ruby-forum.com/t/getpwnam-issue/201303)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 12, 2011, 10:11pm UTC](https://www.ruby-forum.com/t/getpwnam-issue/201303 "2011-01-12T22:11:30Z")

</div>

Hello all, I am testing a chroot’ed nginx setup on Debian Lenny and am receiving the error: getpwnam("www-data") failed when I try to start nginx. My search to find a possible solution have so far been fruitless but…

---

## [Max\_execution\_time per server {}](https://www.ruby-forum.com/t/max-execution-time-per-server/201678)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 12, 2011, 7:31pm UTC](https://www.ruby-forum.com/t/max-execution-time-per-server/201678 "2011-01-12T19:31:57Z")

</div>

Hi We are trialling nginx as a httpd for drupal + civicrm. Everything is working very well. However one thing we would like to do is to set a max\_execution\_time per server {} rather than just relying on a default set…

---

## [Nginx uses high ram](https://www.ruby-forum.com/t/nginx-uses-high-ram/201651)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [January 12, 2011, 2:08pm UTC](https://www.ruby-forum.com/t/nginx-uses-high-ram/201651 "2011-01-12T14:08:10Z")

</div>

nginx uses high ram on my server when user download any files. php read file and echo on the browser but nginx uses high ram any one know why nginx uses high ram is there any solution to minimize ram usage waiting …

---

## [Rewrite issue with duplicate wordpress post](https://www.ruby-forum.com/t/rewrite-issue-with-duplicate-wordpress-post/201388)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 12, 2011, 1:46pm UTC](https://www.ruby-forum.com/t/rewrite-issue-with-duplicate-wordpress-post/201388 "2011-01-12T13:46:02Z")

</div>

Wordpress automatically adds a “-2” or “-3” to the end of a post with a duplicate title. For some reason, nginx is dropping that number off of the end of the url for example - it is rewriting this example.com/air-con…

---

## [My fork of ngx\_eval 2011.01.12 released](https://www.ruby-forum.com/t/my-fork-of-ngx-eval-2011-01-12-released/201657)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 1:00pm UTC](https://www.ruby-forum.com/t/my-fork-of-ngx-eval-2011-01-12-released/201657 "2011-01-12T13:00:05Z")

</div>

Hi, folks! People have been reporting issues of my fork of ngx\_eval when using it with recent versions of nginx. I’ve updated it to version 2011.01.12 to compatible with nginx 0.8.54+: https://github.com/agentzh/ngin…

---

## [Ngx\_lua v0.1.2: rewrite\_by\_lua/access\_by\_lua fixes and new features](https://www.ruby-forum.com/t/ngx-lua-v0-1-2-rewrite-by-lua-access-by-lua-fixes-and-new-features/201644)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 12, 2011, 9:06am UTC](https://www.ruby-forum.com/t/ngx-lua-v0-1-2-rewrite-by-lua-access-by-lua-fixes-and-new-features/201644 "2011-01-12T09:06:16Z")

</div>

Hi, folks! I’m happy to announce the v0.1.2 release of our ngx\_lua module. You can download the release tarball from the module’s download page: http://github.com/chaoslawful/lua-nginx-module/downloads This release c…

---

## [Nginx as a reverse proxy, forwarding to a squid proxy server](https://www.ruby-forum.com/t/nginx-as-a-reverse-proxy-forwarding-to-a-squid-proxy-server/201559)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 11, 2011, 4:38pm UTC](https://www.ruby-forum.com/t/nginx-as-a-reverse-proxy-forwarding-to-a-squid-proxy-server/201559 "2011-01-11T16:38:42Z")

</div>

Greetings all, Was wondering if it is possible to configure nginx as a reverse proxy that forwards to a squid proxy server. Currently I am using Squid as a forward proxy to another internal Squid proxy server: cache…

---

## [Limit traffic rate for nginx](https://www.ruby-forum.com/t/limit-traffic-rate-for-nginx/200620)

<div class="topic-metadata">

**Author:** [@bigplum](https://www.ruby-forum.com/u/bigplum)\
**Replies:** 5\
**Last updated:** [January 11, 2011, 11:37am UTC](https://www.ruby-forum.com/t/limit-traffic-rate-for-nginx/200620 "2011-01-11T11:37:12Z")

</div>

Hello guys: I wrote a module to limit rate by given variable rather than limit\_rate by connection. Most code of this module is copied from limit\_conn module. I’m confusing to write this new module or modify limit\_conn …

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

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