# Server

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

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

---

## [One link/area on a https site with a different SSL config?](https://www.ruby-forum.com/t/one-link-area-on-a-https-site-with-a-different-ssl-config/238437)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [February 8, 2014, 12:45am UTC](https://www.ruby-forum.com/t/one-link-area-on-a-https-site-with-a-different-ssl-config/238437 "2014-02-08T00:45:57Z")

</div>

Hi, On a Wordpress website that works with a basic StartSSL certificate I wonder if it is possible to configure nginx (1.4.4) to use a separate self-signed cert with client certificate authentication for wp-login.php …

---

## [Restrict by IP for some users](https://www.ruby-forum.com/t/restrict-by-ip-for-some-users/238972)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 7, 2014, 6:08pm UTC](https://www.ruby-forum.com/t/restrict-by-ip-for-some-users/238972 "2014-02-07T18:08:48Z")

</div>

I’d like to restrict access to a server block to authenticated users. Some of the users should be able to access it from any IP and some of the users should be blocked unless they are coming from a particular IP. How…

---

## [IPv4 & IPv6 combination](https://www.ruby-forum.com/t/ipv4-ipv6-combination/239014)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [February 7, 2014, 3:22pm UTC](https://www.ruby-forum.com/t/ipv4-ipv6-combination/239014 "2014-02-07T15:22:25Z")

</div>

I have a virtual server with Debian Wheezy and nginx 1.4.4 installed: nginx version: nginx/1.4.4 TLS SNI support enabled configure arguments: --prefix=/usr/share/nginx –conf-path=/etc/nginx/nginx.conf –error-log-pat…

---

## [Nginx-1.5.10](https://www.ruby-forum.com/t/nginx-1-5-10/238917)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [February 7, 2014, 9:02am UTC](https://www.ruby-forum.com/t/nginx-1-5-10/238917 "2014-02-07T09:02:05Z")

</div>

Changes with nginx 1.5.10 04 Feb 2014 \*) Feature: the ngx\_http\_spdy\_module now uses SPDY 3.1 protocol. Thanks to Automattic and MaxCDN for sponsoring this work. \*) Feature: th…

---

## [Nginx IMAP hooks](https://www.ruby-forum.com/t/nginx-imap-hooks/238984)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [February 7, 2014, 5:40am UTC](https://www.ruby-forum.com/t/nginx-imap-hooks/238984 "2014-02-07T05:40:00Z")

</div>

Hello people, I am absolute newbie in the world of nginx. Before I start learning configuration and module writing I want to ensure that what I am trying to do can be done using nginx. I want to have a IMAP proxy set…

---

## [Setting a header inside an if block](https://www.ruby-forum.com/t/setting-a-header-inside-an-if-block/238962)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [February 6, 2014, 9:11pm UTC](https://www.ruby-forum.com/t/setting-a-header-inside-an-if-block/238962 "2014-02-06T21:11:27Z")

</div>

I currently have: server{ … if ($remote\_user = “”) { return 401; } … } But what I really want is: server{ … if ($remote\_user = “”) { add\_header WWW-Authenticate ‘Basic realm=“mydomainhere.com”’; return 401; …

---

## [Cache-proxy passes garbled fonts + alias problem](https://www.ruby-forum.com/t/cache-proxy-passes-garbled-fonts-alias-problem/238992)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [February 6, 2014, 5:50pm UTC](https://www.ruby-forum.com/t/cache-proxy-passes-garbled-fonts-alias-problem/238992 "2014-02-06T17:50:28Z")

</div>

Hello, I am on FreeBSD\_11-current\_amd64, using nginx/1.5.8 both as intranet server:80 and caching proxy:8080 (squid-like) I followed this example for the nginx-cache-proxy config file: 2138com太阳集团-太阳集团2138手机版 My edi…

---

## [Root ignored for "location = /"?](https://www.ruby-forum.com/t/root-ignored-for-location/238988)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 6, 2014, 4:53pm UTC](https://www.ruby-forum.com/t/root-ignored-for-location/238988 "2014-02-06T16:53:12Z")

</div>

Hello, I want the index.html file in a particular directory to only be served when the domain’s root URI is requested. Using the config server example.com; index index.html; location = / { root path/to/dir; } a …

---

## [Sudden nginx hang -- restart fails, "98: Address already in use"](https://www.ruby-forum.com/t/sudden-nginx-hang-restart-fails-98-address-already-in-use/238967)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [February 6, 2014, 1:24pm UTC](https://www.ruby-forum.com/t/sudden-nginx-hang-restart-fails-98-address-already-in-use/238967 "2014-02-06T13:24:39Z")

</div>

Hello, all. About an hour ago, out of the blue, my server stopped responding to webpage requests. We are using nginx + php-fpm on RHEL6. service nginx status nginx (pid 31600) is running… service nginx restart Sto…

---

## [Launching Excel in a production web server on a Mac](https://www.ruby-forum.com/t/launching-excel-in-a-production-web-server-on-a-mac/238782)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [February 5, 2014, 9:04pm UTC](https://www.ruby-forum.com/t/launching-excel-in-a-production-web-server-on-a-mac/238782 "2014-02-05T21:04:21Z")

</div>

I have written some code that will open Excel, edit a spreadsheet, then save and print the sheet. This code needs to run on a production web server in a Rails app. When I run it using Webrick (running under my user)…

---

## [Installing SSL on Nginx](https://www.ruby-forum.com/t/installing-ssl-on-nginx/238965)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [February 5, 2014, 7:06pm UTC](https://www.ruby-forum.com/t/installing-ssl-on-nginx/238965 "2014-02-05T19:06:17Z")

</div>

Looking for a consultant to assist with installing a SSL certificate on a Amazon EC2 instance running NGINX, Wordpress, & PHP-FPM. Currently we have installed everything but it is causing the WP admin area to run in…

---

## [Are headers set in the server block inherited to all location blocks](https://www.ruby-forum.com/t/are-headers-set-in-the-server-block-inherited-to-all-location-blocks/238944)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 7\
**Last updated:** [February 5, 2014, 5:43pm UTC](https://www.ruby-forum.com/t/are-headers-set-in-the-server-block-inherited-to-all-location-blocks/238944 "2014-02-05T17:43:51Z")

</div>

I am seeing strange behavior using includes. For example, if I request a javascript file (ending in .js) the headers set globally in the server block are not set. I was under the impression that if you set headers in …

---

## [Mailserver proxy (all protocols, webmail included)](https://www.ruby-forum.com/t/mailserver-proxy-all-protocols-webmail-included/238946)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [February 5, 2014, 9:40am UTC](https://www.ruby-forum.com/t/mailserver-proxy-all-protocols-webmail-included/238946 "2014-02-05T09:40:03Z")

</div>

Hello, I’m trying to configure a full proxy for my mailservers. With full, I mean for all protocols. We have, for example, 2 mail servers: zimbra (imap,pop3,smtp,webmail) linux+roundcube (imap, pop3, smtp, webmail) …

---

## [Upgraded to 1.5.10 - Site Still SPDY/2?](https://www.ruby-forum.com/t/upgraded-to-1-5-10-site-still-spdy-2/238933)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [February 5, 2014, 4:13am UTC](https://www.ruby-forum.com/t/upgraded-to-1-5-10-site-still-spdy-2/238933 "2014-02-05T04:13:23Z")

</div>

I upgraded my Nginx reverse proxy to 1.5.10 using the official Ubuntu Precise Nginx packages, but my site is still reporting SPDY/2 in Chrome. Do I need to do something more drastic than issuing a kill -HUP on the ma…

---

## [Joomla CMS on Nginx (Rewrite/Environment Problem)](https://www.ruby-forum.com/t/joomla-cms-on-nginx-rewrite-environment-problem/238911)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [February 4, 2014, 2:15pm UTC](https://www.ruby-forum.com/t/joomla-cms-on-nginx-rewrite-environment-problem/238911 "2014-02-04T14:15:59Z")

</div>

Hello List, I did a testmigration of a Joomla CMS yesterday, and there is a bug (the system was running on Apache before): There where no Apache rewrite rules on the old server. The Joomla Uses SEF (Search Engine Fri…

---

## [Nginx proxy with websocket not returning data](https://www.ruby-forum.com/t/nginx-proxy-with-websocket-not-returning-data/238830)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 4, 2014, 6:42am UTC](https://www.ruby-forum.com/t/nginx-proxy-with-websocket-not-returning-data/238830 "2014-02-04T06:42:37Z")

</div>

Hi, I am trying to configure nginx proxy with websockets I am using jetty server with cometd framework. I am able to do the websocket handshake and send my login request to the server but I am not getting any respons…

---

## [Server blocks configured, but getting "hello world" of nginx](https://www.ruby-forum.com/t/server-blocks-configured-but-getting-hello-world-of-nginx/238884)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 19\
**Last updated:** [February 3, 2014, 11:29pm UTC](https://www.ruby-forum.com/t/server-blocks-configured-but-getting-hello-world-of-nginx/238884 "2014-02-03T23:29:20Z")

</div>

I’ve followed the tutorial below to setup a couple of server blocks, but I get the “Welcome to nginx” message every time. $ ls -l /etc/nginx/sites-available/ total 8 -rw-r–r-- 1 root root 1185 Feb 2 17:01 morebea…

---

## [A NGINX Summit 2/25 in San Francisco](https://www.ruby-forum.com/t/a-nginx-summit-2-25-in-san-francisco/238811)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [February 3, 2014, 8:05pm UTC](https://www.ruby-forum.com/t/a-nginx-summit-2-25-in-san-francisco/238811 "2014-02-03T20:05:24Z")

</div>

Hello all! Id like to invite you to join the Nginx, Inc. team for our first User Summit February 25th at Dogpatch Studios in San Francisco. The highlights include 2 formal presentations by the NGINX FOSS project and …

---

## ["Zero size buf" Error on file upload](https://www.ruby-forum.com/t/zero-size-buf-error-on-file-upload/238865)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [February 3, 2014, 2:56pm UTC](https://www.ruby-forum.com/t/zero-size-buf-error-on-file-upload/238865 "2014-02-03T14:56:12Z")

</div>

Hi, I have a nginx server doing ffmpeg video conversions, we’ve noticed if we upload a file around 100Mb in size it won’t upload and throws a “zero buf” error in nginx log; other logs not capture anything. 2014/01/…

---

## [Nginx -\> Dns server?](https://www.ruby-forum.com/t/nginx-dns-server/238860)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [February 1, 2014, 1:57pm UTC](https://www.ruby-forum.com/t/nginx-dns-server/238860 "2014-02-01T13:57:28Z")

</div>

Hello, I just read that nginx has a resolver. Will it be able to replace our powerdns which just enables the basics ds stuffs ? (lookup + ttl as usual) I rather prefer the nginx syntax and it would simplify the stack…

---

## [How fastcgi temp works?](https://www.ruby-forum.com/t/how-fastcgi-temp-works/238840)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 31, 2014, 8:41am UTC](https://www.ruby-forum.com/t/how-fastcgi-temp-works/238840 "2014-01-31T08:41:07Z")

</div>

Hello everybody, We are using nginx with php-fpm. Our application works as download aggregator. We download files from 3rd party servers and send it to client while it’s still being downloaded. It means that we can’t…

---

## [Nginx 403 forbidden](https://www.ruby-forum.com/t/nginx-403-forbidden/238835)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [January 30, 2014, 8:57pm UTC](https://www.ruby-forum.com/t/nginx-403-forbidden/238835 "2014-01-30T20:57:57Z")

</div>

Hello everyone, I have Freebsd 8.2+squid+sarg+nginx server on my production server.I have problem to connect nginx internet users web reporting page. When i connect to this server via web browser get error : 403 fo…

---

## [Nginx as reverse-proxy for apache inside a VM](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-for-apache-inside-a-vm/238831)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 30, 2014, 2:41pm UTC](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-for-apache-inside-a-vm/238831 "2014-01-30T14:41:23Z")

</div>

Hi, I really don’t know to solve this: I got a 504 Gateway time-out error I use proxmox as hypervisor, inside a CT, i want to use nginx as reverse proxy for static content I got apache listen on port 8080 and nginx…

---

## [Warning C4701 src\\http\\ngx\_http\_request.c(728)](https://www.ruby-forum.com/t/warning-c4701-src-http-ngx-http-request-c-728/238808)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 30, 2014, 1:26pm UTC](https://www.ruby-forum.com/t/warning-c4701-src-http-ngx-http-request-c-728/238808 "2014-01-30T13:26:16Z")

</div>

src\\http\\ngx\_http\_request.c(728) : warning C4701: potentially uninitialized local variable ‘data’ used VC 2010. From full source nginx-01e2a5bcdd8f Posted at Nginx Forum:

---

## [How to control the order of execution modules in nginx](https://www.ruby-forum.com/t/how-to-control-the-order-of-execution-modules-in-nginx/238819)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 30, 2014, 1:09pm UTC](https://www.ruby-forum.com/t/how-to-control-the-order-of-execution-modules-in-nginx/238819 "2014-01-30T13:09:15Z")

</div>

Fromhttp://www.evanmiller.org/nginx-modules-guide.html, “The order of their execution is determined at compile-time”. Is there a way to control this. ngx\_modules.c has the list and order of execution. How do I change …

---

## [Nginx proxy with websocket not returning data](https://www.ruby-forum.com/t/nginx-proxy-with-websocket-not-returning-data/238829)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 30, 2014, 12:51pm UTC](https://www.ruby-forum.com/t/nginx-proxy-with-websocket-not-returning-data/238829 "2014-01-30T12:51:03Z")

</div>

I am trying to configure nginx proxy with websockets I am using jetty server with cometd framework(sends connect request to server every minute). I am able to do the websocket handshake and send my login request to t…

---

## [Will nginx decompress a compressed request](https://www.ruby-forum.com/t/will-nginx-decompress-a-compressed-request/238820)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 30, 2014, 12:38pm UTC](https://www.ruby-forum.com/t/will-nginx-decompress-a-compressed-request/238820 "2014-01-30T12:38:44Z")

</div>

From this thread on the mailing list Does Nginx handle Content-Encoding: gzip ? , it appears that nginx does not support decompressing HTTP request from a client. The thread however is 2 years old and am wondering if …

---

## [Performance penalty when using regular expressions in server\_name?](https://www.ruby-forum.com/t/performance-penalty-when-using-regular-expressions-in-server-name/238809)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 30, 2014, 7:53am UTC](https://www.ruby-forum.com/t/performance-penalty-when-using-regular-expressions-in-server-name/238809 "2014-01-30T07:53:39Z")

</div>

Hi, let assume that we run the following domains: agoodexample.org agoodexmaple.com agoodexample.net a-good-example.org a-good-example.com a-good-example.net Our main site should be www.a-good-example.com – people co…

---

## [It's believed that SPDY is a huge DDoS vector by itself](https://www.ruby-forum.com/t/its-believed-that-spdy-is-a-huge-ddos-vector-by-itself/238775)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [January 29, 2014, 1:47am UTC](https://www.ruby-forum.com/t/its-believed-that-spdy-is-a-huge-ddos-vector-by-itself/238775 "2014-01-29T01:47:19Z")

</div>

The subject is a quote of Maxim D. in a discussion found here: It would be nice to have a detailed list of SPDY functionality that could be used as a DDoS vector. And it would be even better, to have an nginx config…

---

## [PEM\_read\_bio\_X509 - Installing Cert](https://www.ruby-forum.com/t/pem-read-bio-x509-installing-cert/238783)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 29, 2014, 12:19am UTC](https://www.ruby-forum.com/t/pem-read-bio-x509-installing-cert/238783 "2014-01-29T00:19:57Z")

</div>

I am running into a strange problem. If I cat domain.crt \>\> bundle.crt ssl\_certificate bundle.crt; ssl\_certificate\_key domain.key; and I try to start nginx I get the following error message. nginx: \[emerg\] PEM\_read\_…

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

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