# Server

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

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

---

## [Reverse proxy and html rewrite](https://www.ruby-forum.com/t/reverse-proxy-and-html-rewrite/196144)

<div class="topic-metadata">

**Author:** [@Manuel\_Vacelet](https://www.ruby-forum.com/u/Manuel_Vacelet)\
**Replies:** 9\
**Last updated:** [January 6, 2011, 6:16am UTC](https://www.ruby-forum.com/t/reverse-proxy-and-html-rewrite/196144 "2011-01-06T06:16:35Z")

</div>

Hi there, I’d like to know if nginx supports html rewrite when configured as a reverse proxy. My problem is that the site I’d like to RP set the full server URL in the login form to force the login in HTTPS, ie sth l…

---

## [ECDHE key exchange with TLSv1](https://www.ruby-forum.com/t/ecdhe-key-exchange-with-tlsv1/191344)

<div class="topic-metadata">

**Author:** [@Calomel\_Org](https://www.ruby-forum.com/u/Calomel_Org)\
**Replies:** 5\
**Last updated:** [January 5, 2011, 10:57pm UTC](https://www.ruby-forum.com/t/ecdhe-key-exchange-with-tlsv1/191344 "2011-01-05T22:57:03Z")

</div>

Does Nginx support the elliptic curve cryptography ciphers like ECDHE-ECDSA-AES256-SHA available through OpenSSL v1.0.0a ? I have built OpenSSL v1.0.0a and placed it in a separate directory. I then built nginx with --…

---

## [Missing mime type for tar in nginx](https://www.ruby-forum.com/t/missing-mime-type-for-tar-in-nginx/201352)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 5:36pm UTC](https://www.ruby-forum.com/t/missing-mime-type-for-tar-in-nginx/201352 "2011-01-05T17:36:01Z")

</div>

FYI. It appears that the MIME type for tar files is missing from the mime.types config file: application/x-tar tar; – Robert La Ferla VP Engineering OMS SafeHarbor This message (and any atta…

---

## [Convert RewriteRule ^(.\*)$ - to NGINX rewrite](https://www.ruby-forum.com/t/convert-rewriterule-to-nginx-rewrite/201343)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 4:06pm UTC](https://www.ruby-forum.com/t/convert-rewriterule-to-nginx-rewrite/201343 "2011-01-05T16:06:48Z")

</div>

Could convert this .htaccess to NGINX rewrite? RewriteCond %{REQUEST\_FILENAME} -f \[NC,OR\] RewriteCond %{REQUEST\_FILENAME} -d \[NC\] RewriteRule .\* - \[L\] Posted at Nginx Forum:

---

## [Make ssl\_certificate optional?](https://www.ruby-forum.com/t/make-ssl-certificate-optional/201316)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 5, 2011, 3:51pm UTC](https://www.ruby-forum.com/t/make-ssl-certificate-optional/201316 "2011-01-05T15:51:06Z")

</div>

Is there any possibility of allowing the use of SSL without the ssl\_certificate option in nginx? Before you say I’m crazy, hear me out. I want to operate servers where security is not required (the same content is ser…

---

## [Nginx segfault problem](https://www.ruby-forum.com/t/nginx-segfault-problem/201311)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 5, 2011, 7:51am UTC](https://www.ruby-forum.com/t/nginx-segfault-problem/201311 "2011-01-05T07:51:27Z")

</div>

My server enviroment:nginx 0.8.40+fastcgi,and recently have this problem in /var/messages which cause my nginx down: \[color=#9999FF\]localhost kernel: nginx\[31052\]: segfault at 0000000000000008 rip 0000000000466456 rsp…

---

## [Blocking proxies](https://www.ruby-forum.com/t/blocking-proxies/201317)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 7:22am UTC](https://www.ruby-forum.com/t/blocking-proxies/201317 "2011-01-05T07:22:39Z")

</div>

Hi guys, To reduce spam and for business reasons, we’ve decided to restrict the number of web-proxy who access our site. Previously, on apache, we used this technique(see below) and later switched to blockscript to re…

---

## [Load balancing server retry interval](https://www.ruby-forum.com/t/load-balancing-server-retry-interval/201291)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 5, 2011, 6:00am UTC](https://www.ruby-forum.com/t/load-balancing-server-retry-interval/201291 "2011-01-05T06:00:04Z")

</div>

Hi everyone, I’m setting up a load balancer with 2 backend servers using the following configuration: upstream backend{ ip\_hash; server 10.0.0.1:3000 max\_fails=3 fail\_timeout=20s; server 10.0.…

---

## [0.9.3 on OpenBSD 4.8](https://www.ruby-forum.com/t/0-9-3-on-openbsd-4-8/201257)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 11\
**Last updated:** [January 4, 2011, 5:23pm UTC](https://www.ruby-forum.com/t/0-9-3-on-openbsd-4-8/201257 "2011-01-04T17:23:13Z")

</div>

Hi, I’m trying to compile from source but am running into a few difficulties. I first installed from the package manager, which gave me 0.7.3 (and created user, group and what not). 0.1) Then somehow the .configure …

---

## [Re: proxy\_store issue](https://www.ruby-forum.com/t/re-proxy-store-issue/201281)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 9:42am UTC](https://www.ruby-forum.com/t/re-proxy-store-issue/201281 "2011-01-04T09:42:52Z")

</div>

I found the problem. It seems in the destination host, I used gzip\_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript; which is make proxy\_store giving a we…

---

## [Proxy\_store issue](https://www.ruby-forum.com/t/proxy-store-issue/201279)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 4, 2011, 9:03am UTC](https://www.ruby-forum.com/t/proxy-store-issue/201279 "2011-01-04T09:03:23Z")

</div>

I’m using proxy\_store for my css files. It’s stored the files very well. However, when I open the css files, it appear weird character ‹������¥Z\[sÛ¶~¶~¦š3sNÆ”uq|a^NëLzÞû: É¨)’CRvÜNþûÙ@€¤l%©¦™v»ß^¡ÿnuÓšNýrìvÉÝ/ŸfWÔÃ¨ÏÕ…

---

## [Sub domain trickery](https://www.ruby-forum.com/t/sub-domain-trickery/201235)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 3, 2011, 11:47pm UTC](https://www.ruby-forum.com/t/sub-domain-trickery/201235 "2011-01-03T23:47:41Z")

</div>

Not sure if this is possible, but I am wanting to make subdomains be redirected to specific folders dynamically via the nginx.conf file. so my DNS would point \*.domain.com to the server. and depending on what the per…

---

## [Server\_name / redirect bug?](https://www.ruby-forum.com/t/server-name-redirect-bug/201231)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 3, 2011, 11:37pm UTC](https://www.ruby-forum.com/t/server-name-redirect-bug/201231 "2011-01-03T23:37:39Z")

</div>

i’m trying to create a virtualhost name www2.mydomain.com however when i tried to redirect the traffic, it seems that it has header Location : .mydomain.com When I change my virtualhost into www3.mydomain.com, it can…

---

## [Nginx does not re-open log files on SIGUSR1](https://www.ruby-forum.com/t/nginx-does-not-re-open-log-files-on-sigusr1/201228)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 27\
**Last updated:** [January 3, 2011, 9:38pm UTC](https://www.ruby-forum.com/t/nginx-does-not-re-open-log-files-on-sigusr1/201228 "2011-01-03T21:38:25Z")

</div>

Hi there. I think this is bug, I saw that after logrotate (which on the end running SIGUSR1 on master process) my access log is empty. However if I do SIGHUP it starts working. Looks like Nginx does not re-open logfil…

---

## [Nginx: failed to build on hurd-i386](https://www.ruby-forum.com/t/nginx-failed-to-build-on-hurd-i386/201241)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 3, 2011, 2:49pm UTC](https://www.ruby-forum.com/t/nginx-failed-to-build-on-hurd-i386/201241 "2011-01-03T14:49:27Z")

</div>

Hi, Nothing serious yet, but please look at following log for Debian’s hurd-i386 arch log: https://buildd.debian.org/fetch.cgi?pkg=nginx;ver=0.8.54-2;arch=hurd-i386;stamp=1293981353 Thanks. – Kartik M. Debian GNU/…

---

## [SSL & Nginx](https://www.ruby-forum.com/t/ssl-nginx/201225)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 3, 2011, 1:14pm UTC](https://www.ruby-forum.com/t/ssl-nginx/201225 "2011-01-03T13:14:34Z")

</div>

Hello, First let me wish everybody a very good and healthy 2011! We are using nginx for loadbalancing multiple websites. Almost every website has SSL enabled. We have one upstream for a couple of websites: #start w…

---

## [Ssl\_dhparam and recommended-private-length](https://www.ruby-forum.com/t/ssl-dhparam-and-recommended-private-length/201221)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 3, 2011, 1:06pm UTC](https://www.ruby-forum.com/t/ssl-dhparam-and-recommended-private-length/201221 "2011-01-03T13:06:25Z")

</div>

Hi, Nginx offers a possibility to import DH parameters (prime p and generator g) from external file. The parameters (p and g) have to be generated with “openssl dpharam.” In the default setting, openssl calculates st…

---

## [Ap22-mod\_log\_sql-dtc Q?](https://www.ruby-forum.com/t/ap22-mod-log-sql-dtc-q/201223)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 3, 2011, 10:07am UTC](https://www.ruby-forum.com/t/ap22-mod-log-sql-dtc-q/201223 "2011-01-03T10:07:38Z")

</div>

This add-on module (ap22-mod\_log\_sql-dtc) allows the apache web server to use a MySQL database for logging of all operations. Is there any module like this for nginx? Posted at Nginx Forum:

---

## [Apparent bug in rewrite (0.7.65)](https://www.ruby-forum.com/t/apparent-bug-in-rewrite-0-7-65/201202)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 3, 2011, 5:53am UTC](https://www.ruby-forum.com/t/apparent-bug-in-rewrite-0-7-65/201202 "2011-01-03T05:53:20Z")

</div>

Hi, I have an apparent bug in nginx 0.7.65 My config server { listen 80; server\_name assets.mysite.com; root /usr/share/apache-tomcat-6.0.24/webapps/ROOT/assets; rewrite ^/(\[^/\]+)/(.\*)…

---

## [Accept4 should be used in nginx( linux platform)](https://www.ruby-forum.com/t/accept4-should-be-used-in-nginx-linux-platform/198773)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [January 2, 2011, 11:16am UTC](https://www.ruby-forum.com/t/accept4-should-be-used-in-nginx-linux-platform/198773 "2011-01-02T11:16:12Z")

</div>

Hi igor. The accept4() system call is available starting with Linux 2.6.28; support in glibc is available starting with version 2.10. It can transport the O\_NONBLOCK flags in accept, and in nginx( in linux) after ac…

---

## [nginX - public\_html - multiple CMS](https://www.ruby-forum.com/t/nginx-public-html-multiple-cms/201151)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 1, 2011, 5:36am UTC](https://www.ruby-forum.com/t/nginx-public-html-multiple-cms/201151 "2011-01-01T05:36:10Z")

</div>

Hi Can nginX have configuration like apache user’s public\_html ? I have system where I wanna implement multiple user directory where each user can build his own site using Drupal and Wordpress… each with it’s own cle…

---

## [Exclude invalid\_referrer directory](https://www.ruby-forum.com/t/exclude-invalid-referrer-directory/201170)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 1, 2011, 4:58am UTC](https://www.ruby-forum.com/t/exclude-invalid-referrer-directory/201170 "2011-01-01T04:58:33Z")

</div>

I use the following code block to redirect invalid referrers back to the homepage when someone attempts to view an image directly on my Wordpress blog. I would like to be able to use /var/www/blog/wp-content in the co…

---

## [Turn off 'fastcgi\_buffers'](https://www.ruby-forum.com/t/turn-off-fastcgi-buffers/187122)

<div class="topic-metadata">

**Author:** [@ghadamyari](https://www.ruby-forum.com/u/ghadamyari)\
**Replies:** 2\
**Last updated:** [December 31, 2010, 4:15pm UTC](https://www.ruby-forum.com/t/turn-off-fastcgi-buffers/187122 "2010-12-31T16:15:15Z")

</div>

Hi there, I have found that nginx buffers php output and do not send them to clients untill the php execution get complete. I want to turn off ’ fastcgi\_buffers ’ in my nginx. What should I do ? This fastcgi\_buffers…

---

## [Firefox says Peer's Certificate has been revoked](https://www.ruby-forum.com/t/firefox-says-peers-certificate-has-been-revoked/200729)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 12\
**Last updated:** [December 31, 2010, 1:28pm UTC](https://www.ruby-forum.com/t/firefox-says-peers-certificate-has-been-revoked/200729 "2010-12-31T13:28:28Z")

</div>

When attempting https connections to the server mail.cvcbike.org that previously ran Apache and now runs nginx with the same certs, Firefox browsers return this error: Peer’s Certificate has been revoked. (Error code…

---

## [Preserving all original request headers through a proxy\_pass?](https://www.ruby-forum.com/t/preserving-all-original-request-headers-through-a-proxy-pass/200200)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [December 31, 2010, 9:55am UTC](https://www.ruby-forum.com/t/preserving-all-original-request-headers-through-a-proxy-pass/200200 "2010-12-31T09:55:44Z")

</div>

I’m probably being a bit lazy here, I have only skimmed the code, but is there a way to bounce all original request headers through a proxy\_pass prefixed with X-Orig-\* or something like that? One reason for wanting to…

---

## [Proxy Cache - Check if file has been cached](https://www.ruby-forum.com/t/proxy-cache-check-if-file-has-been-cached/201112)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 31, 2010, 7:02am UTC](https://www.ruby-forum.com/t/proxy-cache-check-if-file-has-been-cached/201112 "2010-12-31T07:02:19Z")

</div>

Hi, I have implemented nginx with proxy cache successfully, however, I need to have the ability to check if a certain file is already cached or not. Is there a way to get a list of cached files? Maybe another way wi…

---

## [Nagios served by NginX](https://www.ruby-forum.com/t/nagios-served-by-nginx/201114)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 30, 2010, 6:06pm UTC](https://www.ruby-forum.com/t/nagios-served-by-nginx/201114 "2010-12-30T18:06:32Z")

</div>

Can some one please help me setting up Nagios on NginX. I installed spawn-fcgi and fcgiwrap in Ubuntu, and I have Nagios 3.2.3 installed in /opt/nagios. So I have the two folders: /opt/nagios/share for web files, and …

---

## [uWSGI 0.9.6.6](https://www.ruby-forum.com/t/uwsgi-0-9-6-6/201101)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [December 30, 2010, 6:32am UTC](https://www.ruby-forum.com/t/uwsgi-0-9-6-6/201101 "2010-12-30T06:32:02Z")

</div>

I am pleased to announce a new maintainance release of the uWSGI project: 0.9.6.6 \[20101230\] support for YAML configuration files backported python module aliasing from 0.9.7-dev The uWSGI project — uWSGI 2.0 d…

---

## [Nginx Cache PHP Files](https://www.ruby-forum.com/t/nginx-cache-php-files/201095)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [December 30, 2010, 3:08am UTC](https://www.ruby-forum.com/t/nginx-cache-php-files/201095 "2010-12-30T03:08:46Z")

</div>

Please Help for Nginx Cache Files PHP example 1d nginx save cache directory? Posted at Nginx Forum:

---

## [Nginx as revers proxy for apache: images don't show](https://www.ruby-forum.com/t/nginx-as-revers-proxy-for-apache-images-dont-show/201087)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [December 30, 2010, 12:10am UTC](https://www.ruby-forum.com/t/nginx-as-revers-proxy-for-apache-images-dont-show/201087 "2010-12-30T00:10:44Z")

</div>

Hello everybody. This is my first post here. I have a large traffic technology website and to improve performance we are wtiching to nginx. We want to serve static content with nginx and dynamic with apache. The conf…

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

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