# Server

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

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

---

## [Modern way to distinguish executable files?](https://www.ruby-forum.com/t/modern-way-to-distinguish-executable-files/200235)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 4:11pm UTC](https://www.ruby-forum.com/t/modern-way-to-distinguish-executable-files/200235 "2010-12-07T16:11:06Z")

</div>

Hi, In ye olde nginx 0.5 I used the following to direct requests for executable files to fcgiwrap (for CGI support): location / { root /some/where; fastcgi setup if (-x $request\_filename) { fastcgi\_pass unix:/tmp/f…

---

## [FastCGI and file upload limit](https://www.ruby-forum.com/t/fastcgi-and-file-upload-limit/200217)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 7, 2010, 11:16am UTC](https://www.ruby-forum.com/t/fastcgi-and-file-upload-limit/200217 "2010-12-07T11:16:29Z")

</div>

Hi guys, I am using nginx and I have a FastCGI server(python, using flup library) program to accept file upload request from browser. One problem I encounter is when the file is large, like exceeds 1MB, my python fas…

---

## [Nginx proxy for tomcat 6 with SSL](https://www.ruby-forum.com/t/nginx-proxy-for-tomcat-6-with-ssl/200215)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 7, 2010, 8:20am UTC](https://www.ruby-forum.com/t/nginx-proxy-for-tomcat-6-with-ssl/200215 "2010-12-07T08:20:42Z")

</div>

Hi, I am very new to nginx and i need some advice. I have set up nginx reverse proxy for tomcat Client ------\> Nginx proxy -----\> tomcat The client uses ssl connection to ngnix and another ssl connection from there …

---

## [Os x with public nginx web server?](https://www.ruby-forum.com/t/os-x-with-public-nginx-web-server/226107)

<div class="topic-metadata">

**Author:** [@Jonathan\_Chetwynd](https://www.ruby-forum.com/u/Jonathan_Chetwynd)\
**Replies:** 0\
**Last updated:** [December 6, 2010, 7:45pm UTC](https://www.ruby-forum.com/t/os-x-with-public-nginx-web-server/226107 "2010-12-06T19:45:01Z")

</div>

os x with public nginx web server? having great trouble serving with nginx. apache serves fine globally, alternatively nginx serves fine to local network. however my hosted domains are not found when using nginx adv…

---

## [0.9.1 compilation failure on Nexenta 3.0.1](https://www.ruby-forum.com/t/0-9-1-compilation-failure-on-nexenta-3-0-1/200110)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 15\
**Last updated:** [December 6, 2010, 6:56pm UTC](https://www.ruby-forum.com/t/0-9-1-compilation-failure-on-nexenta-3-0-1/200110 "2010-12-06T18:56:04Z")

</div>

When playing around with Nexenta 3.0.1 and trying to compile latest nginx, I got this error: make\[1\]: Entering directory /export/home/edho/tmp/nginx-0.9.1' gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-paramete…

---

## [Os x with public nginx web server?](https://www.ruby-forum.com/t/os-x-with-public-nginx-web-server/200187)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 6, 2010, 6:34pm UTC](https://www.ruby-forum.com/t/os-x-with-public-nginx-web-server/200187 "2010-12-06T18:34:04Z")

</div>

os x with public nginx web server? having great trouble serving with nginx. apache serves fine globally, alternatively nginx serves fine to local network. however my hosted domains are not found when using nginx adv…

---

## [Client certificates require nginx restart](https://www.ruby-forum.com/t/client-certificates-require-nginx-restart/200160)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 6, 2010, 1:22pm UTC](https://www.ruby-forum.com/t/client-certificates-require-nginx-restart/200160 "2010-12-06T13:22:33Z")

</div>

Hi, I have setup nginx as a ssl reverse proxy for tomcat. I am doing matching based on client DN like that: ssl on; ssl\_certificate /etc/ssl/server.crt; ssl\_certificate\_key /etc/ssl/server.key; ssl\_client\_cert…

---

## [Nginx-0.9.2](https://www.ruby-forum.com/t/nginx-0-9-2/200164)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 6, 2010, 12:59pm UTC](https://www.ruby-forum.com/t/nginx-0-9-2/200164 "2010-12-06T12:59:59Z")

</div>

Changes with nginx 0.9.2 06 Dec 2010 \*) Feature: the "If-Unmodified-Since" client request header line support. \*) Workaround: fallback to accept() syscall if accept4() was no…

---

## [Https on a specific directory only?](https://www.ruby-forum.com/t/https-on-a-specific-directory-only/200153)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 6, 2010, 9:14am UTC](https://www.ruby-forum.com/t/https-on-a-specific-directory-only/200153 "2010-12-06T09:14:41Z")

</div>

Hi all, I recently purchased a SSL certificate and I would like to use it only on a specific location: server { listen 10.30.1.50:80 default\_server backlog=1024 rcvbuf=32k sndbuf=8k; listen 10.30.1.5…

---

## [Nginx truncates pages and reports worker process exited on signal 6](https://www.ruby-forum.com/t/nginx-truncates-pages-and-reports-worker-process-exited-on-signal-6/199202)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [December 5, 2010, 6:57pm UTC](https://www.ruby-forum.com/t/nginx-truncates-pages-and-reports-worker-process-exited-on-signal-6/199202 "2010-12-05T18:57:52Z")

</div>

Hello All: We are seeing an issue with nginx (0.8.54) where it occasionally truncates pages loading only a portion of the content. When a truncated page is delivered nginx reports the message recorded below in its er…

---

## [Conditional http auth](https://www.ruby-forum.com/t/conditional-http-auth/200054)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 11\
**Last updated:** [December 5, 2010, 12:00am UTC](https://www.ruby-forum.com/t/conditional-http-auth/200054 "2010-12-05T00:00:00Z")

</div>

Got this idea off IRC, but it looks like variables don’t expand: set $realm “enter your password”; if ($http\_via ~\* “.somehost.net”) { set $realm off; } auth\_basic $realm; auth\_basic\_user\_file /etc/nginx/confs/htpa…

---

## [HTTP Headers](https://www.ruby-forum.com/t/http-headers/200078)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 4, 2010, 9:20pm UTC](https://www.ruby-forum.com/t/http-headers/200078 "2010-12-04T21:20:56Z")

</div>

Hi, Is there a way to sort HTTP headers alphabetically? Im a control freak. Posted at Nginx Forum:

---

## [Rvmsudo passenger-install-nginx-module](https://www.ruby-forum.com/t/rvmsudo-passenger-install-nginx-module/200060)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 4, 2010, 2:25pm UTC](https://www.ruby-forum.com/t/rvmsudo-passenger-install-nginx-module/200060 "2010-12-04T14:25:56Z")

</div>

Hello, Trying to install nginx on an Ubuntu 10.10 system - rvmsudo passenger-install-nginx-module It says: \* OpenSSL support for Ruby… not found (the only file not found) On installing: apt-get install libopenssl-ru…

---

## [Nginx and google perftools](https://www.ruby-forum.com/t/nginx-and-google-perftools/200057)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 3, 2010, 10:48pm UTC](https://www.ruby-forum.com/t/nginx-and-google-perftools/200057 "2010-12-03T22:48:07Z")

</div>

Hey folks, I was reading the wiki how to configure perftools for nginx and I could get it working thanks to google translate and the russian support :slight\_smile: So the point is that google\_perftools\_profiles direc…

---

## [Different locations based on $request\_method](https://www.ruby-forum.com/t/different-locations-based-on-request-method/200014)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 3, 2010, 10:43pm UTC](https://www.ruby-forum.com/t/different-locations-based-on-request-method/200014 "2010-12-03T22:43:44Z")

</div>

Hello, all, I would like to configure nginx to return a file if the request method is GET. But, if the request method is PUT or POST, I’d like for the back end to handle it. So, ideally, something like this: locati…

---

## [Single RewriteRule convert please](https://www.ruby-forum.com/t/single-rewriterule-convert-please/200038)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 3, 2010, 12:24pm UTC](https://www.ruby-forum.com/t/single-rewriterule-convert-please/200038 "2010-12-03T12:24:44Z")

</div>

0 down vote favorite hello everyone, i just installed nginx up and running for serving static content on my site. it works great but the apache rewrite rule about images (ofcourse) stoped working. and i don’t have an…

---

## [Wrong Content-Type](https://www.ruby-forum.com/t/wrong-content-type/200034)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 3, 2010, 12:00pm UTC](https://www.ruby-forum.com/t/wrong-content-type/200034 "2010-12-03T12:00:53Z")

</div>

Hi list, I’m having a content-type issue with nginx 0.7 on Debian Squeeze. I have mime.types included in the “http” directive, but when requesting CSS or Javascript file, the content type is set to text/html. (the ap…

---

## [POST method on "static" files](https://www.ruby-forum.com/t/post-method-on-static-files/200036)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 3, 2010, 10:53am UTC](https://www.ruby-forum.com/t/post-method-on-static-files/200036 "2010-12-03T10:53:07Z")

</div>

Dear list, This topic has already been discussed (see: Re: How to solve the problem of "405 not allowed"? ) but so far the patch of Igor has not been applied to the 0.8.X or 0.9.X branch. I use a lot SSI to mix stati…

---

## [GeoIP Module](https://www.ruby-forum.com/t/geoip-module/168397)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 2\
**Last updated:** [December 3, 2010, 9:41am UTC](https://www.ruby-forum.com/t/geoip-module/168397 "2010-12-03T09:41:37Z")

</div>

Does the GeoIP module still work with the latest Nginx release? Also, does anyone have a copy of the module? The link on the wiki doesn’t work. Phillip B Oldham The Activity People removed\_email\_address@domain.inval…

---

## [Rewrite Rule convert](https://www.ruby-forum.com/t/rewrite-rule-convert/200031)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 3, 2010, 8:25am UTC](https://www.ruby-forum.com/t/rewrite-rule-convert/200031 "2010-12-03T08:25:12Z")

</div>

I am a newer for the nginx I am tired to convert the rule form apache to nginx but it doesn’t work. Anyone can help and point out my error? Thanks The Source Apache Rule: RewriteRule ^/?index.html$ /html/index.html…

---

## [Nginx truncate my data](https://www.ruby-forum.com/t/nginx-truncate-my-data/200026)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 3, 2010, 5:53am UTC](https://www.ruby-forum.com/t/nginx-truncate-my-data/200026 "2010-12-03T05:53:45Z")

</div>

I need to output large data, but nginx will truncate it. I test it with nginx 0.7.67 when the data is more than 40K, I could only get part of it, using curl apache is the backend of nginx, so I also test apache using …

---

## [Nginx truncate my data](https://www.ruby-forum.com/t/nginx-truncate-my-data/200027)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 3, 2010, 5:18am UTC](https://www.ruby-forum.com/t/nginx-truncate-my-data/200027 "2010-12-03T05:18:35Z")

</div>

I need to output large data, but nginx will truncate it. I test it with nginx 0.7.67 when the data is more than 40K, I could only get part of it, using curl apache is the backend of nginx, so I also test apache using …

---

## [Nginx-0.9.0](https://www.ruby-forum.com/t/nginx-0-9-0/199807)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 13\
**Last updated:** [December 3, 2010, 5:15am UTC](https://www.ruby-forum.com/t/nginx-0-9-0/199807 "2010-12-03T05:15:26Z")

</div>

Changes with nginx 0.9.0 29 Nov 2010 \*) Feature: the "keepalive\_disable" directive. \*) Feature: the "map" directive supports variables as value of a defined variable. \*) Fea…

---

## [If-Unmodified-Since](https://www.ruby-forum.com/t/if-unmodified-since/199962)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 2, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/if-unmodified-since/199962 "2010-12-02T18:23:45Z")

</div>

It appears from documentation and Googling that nginx supports the If-Modified-Since header but not the If-Unmodified-Since header; are there any plans to add support? Thanks, Jeff

---

## [Proxy "apache like feature" RequestHeader unset authorization](https://www.ruby-forum.com/t/proxy-apache-like-feature-requestheader-unset-authorization/199977)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 2, 2010, 11:48am UTC](https://www.ruby-forum.com/t/proxy-apache-like-feature-requestheader-unset-authorization/199977 "2010-12-02T11:48:13Z")

</div>

Hello, trying to setup Basic Authantication on a ningx reverse ssl to http proxy, where the backend doesn’t accept authentication. now, nginx send the Authentication header to the upstream, and fails. is there somet…

---

## [Can't seem to enable TLS SNI support (upgraded nginx and openssl)](https://www.ruby-forum.com/t/cant-seem-to-enable-tls-sni-support-upgraded-nginx-and-openssl/199956)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 2, 2010, 2:59am UTC](https://www.ruby-forum.com/t/cant-seem-to-enable-tls-sni-support-upgraded-nginx-and-openssl/199956 "2010-12-02T02:59:49Z")

</div>

Did all the steps I thought I was supposed to do to get SNI enabled but nginx -V still gives me this: nginx version: nginx/0.8.53 built by gcc 3.2.3 20030502 (Red Hat Linux 3.2.3-59) TLS SNI support disabled configu…

---

## [Redirect to symlink target](https://www.ruby-forum.com/t/redirect-to-symlink-target/199965)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [December 2, 2010, 2:56am UTC](https://www.ruby-forum.com/t/redirect-to-symlink-target/199965 "2010-12-02T02:56:05Z")

</div>

I’d like to have a file at an easy URL: http://myserver/myfiles-latest.tar.gz but where myfiles-latest.tar.gz is, on disk, actually a symlink to a uniquely identifiable version, something like myfiles-\[sha1sum\].tar.gz…

---

## [GeoIP Module](https://www.ruby-forum.com/t/geoip-module/199912)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [December 1, 2010, 10:04pm UTC](https://www.ruby-forum.com/t/geoip-module/199912 "2010-12-01T22:04:41Z")

</div>

Hey Guys, I have run into a problem with the geo module. I have set up a geo list containing a LARGE list of IPs which we need to have “whitelisted” for getting through to the upstream. These IPs are for search engine…

---

## [Cache only if no args?](https://www.ruby-forum.com/t/cache-only-if-no-args/199949)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 1, 2010, 9:37pm UTC](https://www.ruby-forum.com/t/cache-only-if-no-args/199949 "2010-12-01T21:37:44Z")

</div>

Hello all, I have a small question for you ! It is possible to cache the response from proxy\_pass (that is filtered by custom filters) only if the request has no args? If the request has arguments, it should be serve…

---

## [SNI and nginx: do I have to rebuild all my certificates?](https://www.ruby-forum.com/t/sni-and-nginx-do-i-have-to-rebuild-all-my-certificates/199944)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 1, 2010, 9:10pm UTC](https://www.ruby-forum.com/t/sni-and-nginx-do-i-have-to-rebuild-all-my-certificates/199944 "2010-12-01T21:10:40Z")

</div>

Just about to enable Server Name Indication (SNI) support for my SSL and I’m really curious if I have to rebuild all my self-signed certs (nginx, qmail, webmin, etc) after upgrading openssl and nginx. Can I still use …

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

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