# Server

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

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

---

## [Is 'try\_files' or 'rewrite' aware of 'gzip\_static'?](https://www.ruby-forum.com/t/is-try-files-or-rewrite-aware-of-gzip-static/220352)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 6, 2012, 10:45pm UTC](https://www.ruby-forum.com/t/is-try-files-or-rewrite-aware-of-gzip-static/220352 "2012-06-06T22:45:24Z")

</div>

Hi, I’m running a quite huge TYPO3 installation on nginx (several other installations to follow on that host). In this case I’m using (or want to use) nc\_staticfilecache as an extension to speed things up a little. T…

---

## [Block access to a file!](https://www.ruby-forum.com/t/block-access-to-a-file/220349)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 6, 2012, 4:32pm UTC](https://www.ruby-forum.com/t/block-access-to-a-file/220349 "2012-06-06T16:32:23Z")

</div>

Hi, it must be a piece of cake but i can not find a soloution… the problem is " location admin.php". you can check it below… i just want to allow access to admin.php to some ip address and deny others. if i remove a…

---

## [How configure httpd drizzle with nginx](https://www.ruby-forum.com/t/how-configure-httpd-drizzle-with-nginx/220341)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 6, 2012, 2:20pm UTC](https://www.ruby-forum.com/t/how-configure-httpd-drizzle-with-nginx/220341 "2012-06-06T14:20:39Z")

</div>

\`i configure nginx download nginx.1.0.8 cd /nginx.1.0.8 ./configure --prefix=/etc/nginx –add-module=/home/rohittyagi/Downloads/chaoslawful-drizzle-nginx-module-74682b1/ –add-module=/home/rohittyagi/Downloads/agentz…

---

## [How create mass dynamic virtual hosting in nginx with Mysql database](https://www.ruby-forum.com/t/how-create-mass-dynamic-virtual-hosting-in-nginx-with-mysql-database/220342)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 6, 2012, 2:08pm UTC](https://www.ruby-forum.com/t/how-create-mass-dynamic-virtual-hosting-in-nginx-with-mysql-database/220342 "2012-06-06T14:08:58Z")

</div>

how make mass dynamic hosting like mod\_vhost\_dbi in apachi how we can execute mysql query in nginx.conf with out drizzle Posted at Nginx Forum:

---

## [How to deploy multiple application in nginx?](https://www.ruby-forum.com/t/how-to-deploy-multiple-application-in-nginx/220327)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [June 6, 2012, 10:46am UTC](https://www.ruby-forum.com/t/how-to-deploy-multiple-application-in-nginx/220327 "2012-06-06T10:46:46Z")

</div>

hi: now,i want to use nginx to run php,but now ,i only run one php application in nginx.For example,my web root is D:\\PHPWeb,in this directory i have two php applications ‘example1’ and ‘example2’ respectively.In eac…

---

## [How to limit\_req depending if the requests has a REFERER or not](https://www.ruby-forum.com/t/how-to-limit-req-depending-if-the-requests-has-a-referer-or-not/220323)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 6, 2012, 9:15am UTC](https://www.ruby-forum.com/t/how-to-limit-req-depending-if-the-requests-has-a-referer-or-not/220323 "2012-06-06T09:15:00Z")

</div>

I have something like this… I need to be able to apply three different limit\_req depending: a.) If the referer to click.php is domain.com … apply zone1 b.) If there is some other referer apply zone2 on click.php c.) …

---

## [Nginx1.0.15 stable, cut off a 16k js static file into 2.03k](https://www.ruby-forum.com/t/nginx1-0-15-stable-cut-off-a-16k-js-static-file-into-2-03k/226284)

<div class="topic-metadata">

**Author:** [@chenmin7249](https://www.ruby-forum.com/u/chenmin7249)\
**Replies:** 4\
**Last updated:** [June 6, 2012, 7:05am UTC](https://www.ruby-forum.com/t/nginx1-0-15-stable-cut-off-a-16k-js-static-file-into-2-03k/226284 "2012-06-06T07:05:14Z")

</div>

nginx version 1.0.15 stable im running into a problem the a 16k static file was cut off into a 2.03k incomplete file occasionally, 7 times of 10 will get the incomplete file. i use the nginx server for pure static fi…

---

## [Nginx1.0.15 stable, cut off a 16k js static file into 2.03k](https://www.ruby-forum.com/t/nginx1-0-15-stable-cut-off-a-16k-js-static-file-into-2-03k/220330)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [June 6, 2012, 6:31am UTC](https://www.ruby-forum.com/t/nginx1-0-15-stable-cut-off-a-16k-js-static-file-into-2-03k/220330 "2012-06-06T06:31:55Z")

</div>

nginx version 1.0.15 stable im running into a problem the a 16k static file was cut off into a 2.03k incomplete file occasionally, 7 times of 10 will get the incomplete file. i use the nginx server for pure static fi…

---

## [Graph nginx by error codes and requests per second? Cacti? or some other?](https://www.ruby-forum.com/t/graph-nginx-by-error-codes-and-requests-per-second-cacti-or-some-other/220310)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [June 6, 2012, 5:23am UTC](https://www.ruby-forum.com/t/graph-nginx-by-error-codes-and-requests-per-second-cacti-or-some-other/220310 "2012-06-06T05:23:32Z")

</div>

Does anybody have a monitoring system in place by nginx error code… 500, 200, 404, 444… and did you do this with cacti or php4nagios? Regards, Joseph

---

## [Anyway to limit amount of requests to no more then 20 requests per hour for each file?](https://www.ruby-forum.com/t/anyway-to-limit-amount-of-requests-to-no-more-then-20-requests-per-hour-for-each-file/220319)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 6, 2012, 12:25am UTC](https://www.ruby-forum.com/t/anyway-to-limit-amount-of-requests-to-no-more-then-20-requests-per-hour-for-each-file/220319 "2012-06-06T00:25:30Z")

</div>

Hello, Iam trying to avoid a seperate location {} for each file, instead just limit the amount of reqeusts per second based on each object. Iam sure there must be a way. Thanks Joseph

---

## [Client\_max\_body\_size for a location {} Possible?](https://www.ruby-forum.com/t/client-max-body-size-for-a-location-possible/220309)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 5, 2012, 9:33pm UTC](https://www.ruby-forum.com/t/client-max-body-size-for-a-location-possible/220309 "2012-06-05T21:33:02Z")

</div>

Is it possible to specify a client\_max\_body\_size and client\_body\_buffer\_size specifically for a location? If so how? I need to allow higher buffers for a section that hosts an application. Thanks Joseph

---

## [Nginx-1.2.1](https://www.ruby-forum.com/t/nginx-1-2-1/220299)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [June 5, 2012, 8:35pm UTC](https://www.ruby-forum.com/t/nginx-1-2-1/220299 "2012-06-05T20:35:10Z")

</div>

Changes with nginx 1.2.1 05 Jun 2012 \*) Security: now nginx/Windows ignores trailing dot in URI path component, and does not allow URIs with ":$" in it. Thanks to Vladimir …

---

## [Netflix Open Connect Appliance Software](https://www.ruby-forum.com/t/netflix-open-connect-appliance-software/220311)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 5, 2012, 7:57pm UTC](https://www.ruby-forum.com/t/netflix-open-connect-appliance-software/220311 "2012-06-05T19:57:43Z")

</div>

This is a cross posting from freebsd-stable. I thought it worth giving Igor et al a shout out: From Netflix : Open Source Software Open Connect Appliance Software Netflix delivers streaming content using a combinati…

---

## [Client Certificate verification for mail](https://www.ruby-forum.com/t/client-certificate-verification-for-mail/220303)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [June 5, 2012, 6:13pm UTC](https://www.ruby-forum.com/t/client-certificate-verification-for-mail/220303 "2012-06-05T18:13:34Z")

</div>

Hi NGINX team, I can read here : http://mailman.nginx.org/pipermail/nginx/2007-March/000825.html and in this thread : http://mailman.nginx.org/pipermail/nginx-ru/2009-July/026304.html that the client certificate ver…

---

## [Security advisory](https://www.ruby-forum.com/t/security-advisory/220296)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [June 5, 2012, 4:33pm UTC](https://www.ruby-forum.com/t/security-advisory/220296 "2012-06-05T16:33:36Z")

</div>

Hello! Vladimir Kochetkov, Positive Research Center, discovered a security problem in nginx/Windows, which might allow security restrictions bypass (CVE-2011-4963). There are many ways to access the same file when wo…

---

## [Can't upload big files via nginx as reverse proxy](https://www.ruby-forum.com/t/cant-upload-big-files-via-nginx-as-reverse-proxy/220287)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [June 5, 2012, 1:27pm UTC](https://www.ruby-forum.com/t/cant-upload-big-files-via-nginx-as-reverse-proxy/220287 "2012-06-05T13:27:09Z")

</div>

Hey. In my env, the layout is: client ↔ nginx ↔ jetty In the client, there is a control. I tried to upload a file with size of 3.7MB. In the client request, the content type is “multipart/form-data”, and there is a…

---

## [Nginx-Upstream-proxy next upstream-惊天大Bug](https://www.ruby-forum.com/t/nginx-upstream-proxy-next-upstream-bug/220173)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [June 4, 2012, 10:19am UTC](https://www.ruby-forum.com/t/nginx-upstream-proxy-next-upstream-bug/220173 "2012-06-04T10:19:02Z")

</div>

upstream backend { server flvdownload.ppserver.org.cn:80 max\_fails=0; server flvstorage.ppserver.org.cn:80 backup; } server{ … location / { proxy\_next\_upstream error timeout invalid\_header http\_500 http\_502 http\_…

---

## [Ssl/tls https with red cross](https://www.ruby-forum.com/t/ssl-tls-https-with-red-cross/220149)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [June 1, 2012, 4:17pm UTC](https://www.ruby-forum.com/t/ssl-tls-https-with-red-cross/220149 "2012-06-01T16:17:58Z")

</div>

Hi, Looking to get some help from the group . We are running nginx/0.7.62 and notice that https with red-cross (either the connection is not encrypted or the page has some non https content and in my case it is no e…

---

## [Nginx 404 showing when I configured for a custom 404 page](https://www.ruby-forum.com/t/nginx-404-showing-when-i-configured-for-a-custom-404-page/219843)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 1, 2012, 1:18am UTC](https://www.ruby-forum.com/t/nginx-404-showing-when-i-configured-for-a-custom-404-page/219843 "2012-06-01T01:18:05Z")

</div>

Hi all, I have a 404 custom page set like this error\_page 404 = @errorpages; error\_page 500 = @errorpages; location @errorpages { root /var/www/; intern…

---

## [Buffer requests in nginx while a symlink switches on backend](https://www.ruby-forum.com/t/buffer-requests-in-nginx-while-a-symlink-switches-on-backend/220101)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [June 1, 2012, 1:12am UTC](https://www.ruby-forum.com/t/buffer-requests-in-nginx-while-a-symlink-switches-on-backend/220101 "2012-06-01T01:12:22Z")

</div>

Hi all, In a release deployment I would like to buffer client requests that come to nginx(in reverse proxy) mode to be buffered for possibily 2-6 seconds while a pdsh request is sent to switch symlinks on the back e…

---

## [Problem about rules for deny ips](https://www.ruby-forum.com/t/problem-about-rules-for-deny-ips/220174)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [May 31, 2012, 6:18pm UTC](https://www.ruby-forum.com/t/problem-about-rules-for-deny-ips/220174 "2012-05-31T18:18:51Z")

</div>

I am trying to configure nginx rules where I allow access only to a range of IPs but has a rewrite and does not allow this action anyone have any idea how to configure these types of hits? for example location /i…

---

## [Install nginx](https://www.ruby-forum.com/t/install-nginx/220123)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [May 31, 2012, 2:05pm UTC](https://www.ruby-forum.com/t/install-nginx/220123 "2012-05-31T14:05:19Z")

</div>

Hi all,I’m new with nginx.I have IBM Lotus Domino Server as an email server with IP Address 192.168.1.14and Linux installed Nginx as IMAP reverse proxy with IP Address 192.168.1.137 please help me how to configure ngi…

---

## [MP4 Content-Type Header](https://www.ruby-forum.com/t/mp4-content-type-header/220158)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 30, 2012, 11:56pm UTC](https://www.ruby-forum.com/t/mp4-content-type-header/220158 "2012-05-30T23:56:39Z")

</div>

Hello All, I am noticing when I run curl on a MP4 file I get the application/octet-stream content type: curl -I http://192.168.3.117/videofile.mp4 HTTP/1.1 200 OK Content-Type: application/octet-stream Is there a r…

---

## [FasctCGI headers and SSL](https://www.ruby-forum.com/t/fasctcgi-headers-and-ssl/220151)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [May 30, 2012, 5:50pm UTC](https://www.ruby-forum.com/t/fasctcgi-headers-and-ssl/220151 "2012-05-30T17:50:49Z")

</div>

Hey guys, still running Ubuntu 11.10, nginx 1.0.5 (built from source - also tried the latest 1.2.0) and PHP 5.3.6 (package php-fpm). So, to fix an issue I am having with nginx buffering fastcgi’s output against my wi…

---

## [Nginx+HTTPS event stream issues](https://www.ruby-forum.com/t/nginx-https-event-stream-issues/220048)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 30, 2012, 11:06am UTC](https://www.ruby-forum.com/t/nginx-https-event-stream-issues/220048 "2012-05-30T11:06:16Z")

</div>

Hey guys, first of all, the stats: running Ubuntu 11.10, nginx 1.0.5 (package installed) and PHP 5.3.6 (package php-fpm). So I have this HTML5 event stream that every 0,5 seconds does some database operation and send…

---

## [Unknown directive "http"](https://www.ruby-forum.com/t/unknown-directive-http/220143)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 30, 2012, 9:23am UTC](https://www.ruby-forum.com/t/unknown-directive-http/220143 "2012-05-30T09:23:54Z")

</div>

Hi, sorry to bother Nginx compiled from FreeBSD ports tree without errors. Tested with my old config (worked before) and nginx.conf-dist default config. When I removed http { } block, it started to complain from mime.…

---

## [Looking for speakers on nginx sept 8 2012 prishtina](https://www.ruby-forum.com/t/looking-for-speakers-on-nginx-sept-8-2012-prishtina/220136)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [May 29, 2012, 10:41pm UTC](https://www.ruby-forum.com/t/looking-for-speakers-on-nginx-sept-8-2012-prishtina/220136 "2012-05-29T22:41:25Z")

</div>

Dear Ngnix Team, I’m James Michael DuPont from FLOSS Kosova, an organisation promoting FLOSS in Kosovo (www.flossk.org). On 8 September we’ll be holding our fourth Software Freedom Kosova Conference (SFK12), an annua…

---

## [Check Rewrite and Update to /home?](https://www.ruby-forum.com/t/check-rewrite-and-update-to-home/220069)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 3\
**Last updated:** [May 29, 2012, 3:47pm UTC](https://www.ruby-forum.com/t/check-rewrite-and-update-to-home/220069 "2012-05-29T15:47:43Z")

</div>

Hello Gents, Right now, we catch all http://www.domain.com requests and do a simple rewrite to https://www.domain.com. I would like to update this re-write to point to https://www.domain.com/home. Here is my server s…

---

## [Configuration problem](https://www.ruby-forum.com/t/configuration-problem/220113)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [May 29, 2012, 2:32pm UTC](https://www.ruby-forum.com/t/configuration-problem/220113 "2012-05-29T14:32:19Z")

</div>

Hi All, I wish to configure phplist under nginx on multiple domains. phplist is installed into /lists in the root directory, and /lists/config/config.php is amended to give access to a php database. I though to move …

---

## [Enabled ipv6. Now ipv4 IP's are logged differently](https://www.ruby-forum.com/t/enabled-ipv6-now-ipv4-ips-are-logged-differently/220108)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [May 29, 2012, 10:33am UTC](https://www.ruby-forum.com/t/enabled-ipv6-now-ipv4-ips-are-logged-differently/220108 "2012-05-29T10:33:33Z")

</div>

Hi all, I’ve enabled IPv6 support on my Nginx setup, but for some reason that has changed the format in which IPv4 addresses are logged… Before: 109.247.15.146 Now: ::ffff:109.247.15.146 Is this… a bug? a feature?…

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

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