# Server

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

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

---

## [Does anyone plan to develop the feature of openssl' OCSP stapling?](https://www.ruby-forum.com/t/does-anyone-plan-to-develop-the-feature-of-openssl-ocsp-stapling/199624)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [November 25, 2010, 10:38am UTC](https://www.ruby-forum.com/t/does-anyone-plan-to-develop-the-feature-of-openssl-ocsp-stapling/199624 "2010-11-25T10:38:08Z")

</div>

Hi everyone, I think the the feature of OCSP stapling\[1\] is very useful for the browser blocked by the OCSP request. And the feature has supported since openssl 0.9.8g. Apache’s mod\_ssl has also added this patch in th…

---

## [How does a nginx module sends a http request to other modules?](https://www.ruby-forum.com/t/how-does-a-nginx-module-sends-a-http-request-to-other-modules/199571)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [November 25, 2010, 6:51am UTC](https://www.ruby-forum.com/t/how-does-a-nginx-module-sends-a-http-request-to-other-modules/199571 "2010-11-25T06:51:30Z")

</div>

Hi,I am wirting a nginx module to preprocess http requests to check if they are valid urls and Ive got a problem here. How should I pass the request to other modules if the url is valid.

---

## [A reverse proxy issue](https://www.ruby-forum.com/t/a-reverse-proxy-issue/199523)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 25, 2010, 4:17am UTC](https://www.ruby-forum.com/t/a-reverse-proxy-issue/199523 "2010-11-25T04:17:45Z")

</div>

I have an enviroment as follows: PC(192.168.95.2) ------ReverseProxy（Run Nginx，192.168.95.1 and 192.168.1.1）---------------OA Server(192.168.1.100) ---------------Mail S…

---

## [Nginx 0.8.25 on an Xen VPS - Ubuntu](https://www.ruby-forum.com/t/nginx-0-8-25-on-an-xen-vps-ubuntu/179098)

<div class="topic-metadata">

**Author:** [@sovok](https://www.ruby-forum.com/u/sovok)\
**Replies:** 4\
**Last updated:** [November 24, 2010, 11:13pm UTC](https://www.ruby-forum.com/t/nginx-0-8-25-on-an-xen-vps-ubuntu/179098 "2010-11-24T23:13:19Z")

</div>

Hello, I just build nginx from source on a new VPS based on Xen. The system is running Ubuntu. The build was fine also the installation, but when starting it, the workers are not starting and have this error in error\_…

---

## [Help needed - phpmyadmin/ssh/nginx troubles](https://www.ruby-forum.com/t/help-needed-phpmyadmin-ssh-nginx-troubles/199601)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 8:35pm UTC](https://www.ruby-forum.com/t/help-needed-phpmyadmin-ssh-nginx-troubles/199601 "2010-11-24T20:35:41Z")

</div>

Hi All, I have a very strange problem. I link through to my VPS using SSH - and all works fast and reliably except for phpmyadmin. The terminal works fine. I’ve removed the local firewall at this end (and it made no…

---

## [VirtualHost - Proxy Redirect Problem](https://www.ruby-forum.com/t/virtualhost-proxy-redirect-problem/199587)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 24, 2010, 4:42pm UTC](https://www.ruby-forum.com/t/virtualhost-proxy-redirect-problem/199587 "2010-11-24T16:42:14Z")

</div>

Hello Experts, I am trying to load balance a virtual domain with nginx listening in port 81. I am using 2 apache server;s as backends servers to distribute it. The problem is when I request an url and nginx proxies i…

---

## [Streaming using ngix to serve videos and audio OGG files whitout problems whit package](https://www.ruby-forum.com/t/streaming-using-ngix-to-serve-videos-and-audio-ogg-files-whitout-problems-whit-package/199585)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 3:43pm UTC](https://www.ruby-forum.com/t/streaming-using-ngix-to-serve-videos-and-audio-ogg-files-whitout-problems-whit-package/199585 "2010-11-24T15:43:10Z")

</div>

Good morning every one, I am interested in serve audio and video streaming to the internet using Nginx. In this moment I have been local test serving the files after modified the mime-types config file adding the lin…

---

## [Exempting a file from the expires header](https://www.ruby-forum.com/t/exempting-a-file-from-the-expires-header/199582)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 3:17pm UTC](https://www.ruby-forum.com/t/exempting-a-file-from-the-expires-header/199582 "2010-11-24T15:17:22Z")

</div>

HI all… I have implemented nginx as a front end proxy for my ISPconfig 3 apache based web server. Works quite nice but I have one issue. I have some png files that are recreated every few minutes. I am using the expir…

---

## [Dear sir i have a problem。](https://www.ruby-forum.com/t/dear-sir-i-have-a-problem/199572)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 24, 2010, 1:59pm UTC](https://www.ruby-forum.com/t/dear-sir-i-have-a-problem/199572 "2010-11-24T13:59:40Z")

</div>

Dir Sir I have a problem when I load my CA certificate I installed nginx in windows 2003 and XP for test when I do not load CA certificate .crt and .key it works so well when i load local openssL CA certificate it …

---

## [Geoip redirect but exclude a specific directory](https://www.ruby-forum.com/t/geoip-redirect-but-exclude-a-specific-directory/199497)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [November 24, 2010, 1:50pm UTC](https://www.ruby-forum.com/t/geoip-redirect-but-exclude-a-specific-directory/199497 "2010-11-24T13:50:14Z")

</div>

Hello, I\`m using the method described in here to redirect people with specific ips to locations http { keepalive\_timeout 65; geoip\_country /usr/local/etc/geo/GeoIP.dat ; # these are the GeoIP exceptions for your site…

---

## [Rewrite assistance](https://www.ruby-forum.com/t/rewrite-assistance/199548)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 6\
**Last updated:** [November 24, 2010, 12:26pm UTC](https://www.ruby-forum.com/t/rewrite-assistance/199548 "2010-11-24T12:26:42Z")

</div>

Hi all, I’m trying to add in a rewrite rule that will take this string and just do a redirect to / /preview.php?controllerName=channel&id=2 Since the query string can vary, how would I craft my rewrite appropriately…

---

## [Nginx as reverse proxy for Jetty](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-for-jetty/199339)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 7\
**Last updated:** [November 24, 2010, 11:38am UTC](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-for-jetty/199339 "2010-11-24T11:38:52Z")

</div>

Hi - I need some help configuring nginx as a proxy in front of Jetty (on Debian). Jetty is serving my Java web app correctly, because if I test it with this lengthier alternate notation (which I also used before sett…

---

## [Lua / FastCGI / Nginx / Gentoo](https://www.ruby-forum.com/t/lua-fastcgi-nginx-gentoo/199552)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 24, 2010, 4:31am UTC](https://www.ruby-forum.com/t/lua-fastcgi-nginx-gentoo/199552 "2010-11-24T04:31:27Z")

</div>

Hi Nginxkys, I posted an article recently on how to get Lua to work in Nginx, on gentoo. It’s a pretty complete walk through that illustrates the whole fastcgi issue, specifically with Nginx and gentoo. http://www.e…

---

## [How can a content handler block on certain events before sending a response?](https://www.ruby-forum.com/t/how-can-a-content-handler-block-on-certain-events-before-sending-a-response/199508)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [November 24, 2010, 2:13am UTC](https://www.ruby-forum.com/t/how-can-a-content-handler-block-on-certain-events-before-sending-a-response/199508 "2010-11-24T02:13:10Z")

</div>

I’m writing an Nginx module and I’d like to better understand how Nginx content handlers work and how the Nginx main loop works. As far as I know, Nginx content handler functions are supposed to create a chain link of…

---

## [On proxy my nginx show wrong ip (private)](https://www.ruby-forum.com/t/on-proxy-my-nginx-show-wrong-ip-private/199544)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 24, 2010, 1:52am UTC](https://www.ruby-forum.com/t/on-proxy-my-nginx-show-wrong-ip-private/199544 "2010-11-24T01:52:31Z")

</div>

Hello, Im using FreeBSD and jail. I have main nginx server in jail (ip 192.168.1.2). Second www server is apache22 (192.168.1.3). Port 80 from 192.168.1.2 is forwarding to public IP. Problem is in this that php script…

---

## [Nginx memcached setting](https://www.ruby-forum.com/t/nginx-memcached-setting/199447)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [November 23, 2010, 9:54pm UTC](https://www.ruby-forum.com/t/nginx-memcached-setting/199447 "2010-11-23T21:54:34Z")

</div>

My server running Nginx and php-fpm for wordpress. Today i installed memcached but i dont know how to setting the memcached thing into conf file. Here is my wordpres conf file server{ listen 80; server…

---

## [Wha difference between HTTP\_FILTER\_MODULES and HTTP\_AUX\_FILTER\_MODULES is it?](https://www.ruby-forum.com/t/wha-difference-between-http-filter-modules-and-http-aux-filter-modules-is-it/199539)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 23, 2010, 7:13pm UTC](https://www.ruby-forum.com/t/wha-difference-between-http-filter-modules-and-http-aux-filter-modules-is-it/199539 "2010-11-23T19:13:14Z")

</div>

If we want add a “string filter”, which chain should be registered? thanks NextHop

---

## [FastCGI cache (WordPress)](https://www.ruby-forum.com/t/fastcgi-cache-wordpress/199522)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 8:03am UTC](https://www.ruby-forum.com/t/fastcgi-cache-wordpress/199522 "2010-11-23T08:03:03Z")

</div>

I’m trying to set up fastcgi\_cache with nginx+php-fpm. I can see directories appearing in my cache dir, but pages that I expect to return a cached hit, are downloaded (0 kb files) rather than served as a web page. I c…

---

## [Nginx proxying chunked transfer encoding?](https://www.ruby-forum.com/t/nginx-proxying-chunked-transfer-encoding/199489)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [November 22, 2010, 11:59pm UTC](https://www.ruby-forum.com/t/nginx-proxying-chunked-transfer-encoding/199489 "2010-11-22T23:59:52Z")

</div>

I’ve been searching for a solution to an issue I have when I proxy requests that return with chunked transfer encoding. I’ve never gotten an answer, so I’ll make the question really simple: Can Nginx proxy “somethin…

---

## [SSL session resumption. SSL Labs test](https://www.ruby-forum.com/t/ssl-session-resumption-ssl-labs-test/199453)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 9\
**Last updated:** [November 22, 2010, 5:42pm UTC](https://www.ruby-forum.com/t/ssl-session-resumption-ssl-labs-test/199453 "2010-11-22T17:42:03Z")

</div>

I’ve run a test through the tool available here: And I get a result stating: Session resumption No (IDs assigned but not accepted) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I also run gnutls-cli and ge…

---

## [How to conditionally set enviroment variable](https://www.ruby-forum.com/t/how-to-conditionally-set-enviroment-variable/199476)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [November 22, 2010, 3:35pm UTC](https://www.ruby-forum.com/t/how-to-conditionally-set-enviroment-variable/199476 "2010-11-22T15:35:46Z")

</div>

Moin! To make use of Magento’s multistore feature I need to tell it which store to load. This is done wih an environemnt variable. Is there a way to make something like this work in “server” context: if ($host ~\* .(a…

---

## [UDP data stream examples](https://www.ruby-forum.com/t/udp-data-stream-examples/199477)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [November 22, 2010, 3:11pm UTC](https://www.ruby-forum.com/t/udp-data-stream-examples/199477 "2010-11-22T15:11:56Z")

</div>

Hi: Does NGINX have any modules (or example code) that serve a UDP data stream. I’d like to understand how this could be accomplished inside a module. (i.e., clients (a,b,c) request, NGINX module responds with udp st…

---

## [Upstream retries with a single server](https://www.ruby-forum.com/t/upstream-retries-with-a-single-server/199410)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 21, 2010, 6:47pm UTC](https://www.ruby-forum.com/t/upstream-retries-with-a-single-server/199410 "2010-11-21T18:47:47Z")

</div>

Hello, From the way I understand if there are ‘n’ servers listed as part of an upstream block & upstream returns failure (as defined by proxy\_next\_upstream), then nginx retries the same request on another upstream se…

---

## [Websocket proxying module questions](https://www.ruby-forum.com/t/websocket-proxying-module-questions/199360)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 21, 2010, 4:17pm UTC](https://www.ruby-forum.com/t/websocket-proxying-module-questions/199360 "2010-11-21T16:17:53Z")

</div>

Hello, I’m wondering if it’s possible to make a module for proxying websockets for nginx. I read Emiller’s Guide to Nginx Module Development – Evan Miller … From what I understand nginx normally works like this: …

---

## [The picture of in external site does not display in revers proxy](https://www.ruby-forum.com/t/the-picture-of-in-external-site-does-not-display-in-revers-proxy/199435)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 21, 2010, 3:18pm UTC](https://www.ruby-forum.com/t/the-picture-of-in-external-site-does-not-display-in-revers-proxy/199435 "2010-11-21T15:18:17Z")

</div>

Hi all: I met a problem and do a google search and find nothing. The topology is : nginx actes as a reverse proxy for www.abc.com www.abc.com/index.html, it is embedded a picture in the index.html; The picture sh…

---

## [Question about sched\_ule and sched\_4bsd](https://www.ruby-forum.com/t/question-about-sched-ule-and-sched-4bsd/199426)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [November 21, 2010, 12:41am UTC](https://www.ruby-forum.com/t/question-about-sched-ule-and-sched-4bsd/199426 "2010-11-21T00:41:21Z")

</div>

ok guys i have something very puzzling: i am using nginx-0.8.53/php-fpm-5.2.14/eaccelerator-0.9.6.1/freebsd-8.1-latest-pl i upgraded the system from freebsd7, and on my old freebsd7 system, i was running SCHED\_4BSD. …

---

## [Nginx crashing w/ core dump under moderate load](https://www.ruby-forum.com/t/nginx-crashing-w-core-dump-under-moderate-load/199331)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 20, 2010, 11:31pm UTC](https://www.ruby-forum.com/t/nginx-crashing-w-core-dump-under-moderate-load/199331 "2010-11-20T23:31:45Z")

</div>

I’m experiencing a problem with Nginx 0.8.53 crashing under moderate load. It’s configured as a proxy with ssi enabled. Config file, backtrace, et al are below (the only modifications are hostnames to protect the in…

---

## [Nginx rules to deny php/perl execution](https://www.ruby-forum.com/t/nginx-rules-to-deny-php-perl-execution/199415)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 9\
**Last updated:** [November 20, 2010, 9:15pm UTC](https://www.ruby-forum.com/t/nginx-rules-to-deny-php-perl-execution/199415 "2010-11-20T21:15:03Z")

</div>

Hello, I have some directories (cache, static, etc) that denies execution of some files. In these directories I have a .htaccess file with this rule: Order allow,deny Deny from all I would like to test nginx with ph…

---

## [Bad Gateway , 500 Internal Server Error](https://www.ruby-forum.com/t/bad-gateway-500-internal-server-error/199405)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [November 20, 2010, 12:52pm UTC](https://www.ruby-forum.com/t/bad-gateway-500-internal-server-error/199405 "2010-11-20T12:52:39Z")

</div>

Hello, One thing happen on my website. When I requesting submit.php file then I got 500 Internal Server Error but sometimes Bad Gateway message appeared. I’m trying to debug this file. I guess this message may the fo…

---

## [Z\_BUF\_ERROR nginx 0.8.53](https://www.ruby-forum.com/t/z-buf-error-nginx-0-8-53/199329)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 9\
**Last updated:** [November 18, 2010, 11:46pm UTC](https://www.ruby-forum.com/t/z-buf-error-nginx-0-8-53/199329 "2010-11-18T23:46:11Z")

</div>

Hi, I have a lot errors about \*1281 deflate() failed: 2, -5 while reading upstream, … blah… blah… blah I’ve checked what -5 means and this is just empty buffer for deflate (Z\_BUF\_ERROR): checked how other software …

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

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