# Server

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

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

---

## [Proxy\_ssl\_certificate not exchanging client certificates](https://www.ruby-forum.com/t/proxy-ssl-certificate-not-exchanging-client-certificates/241760)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [May 7, 2015, 3:32pm UTC](https://www.ruby-forum.com/t/proxy-ssl-certificate-not-exchanging-client-certificates/241760 "2015-05-07T15:32:34Z")

</div>

I was excited to see proxy\_ssl\_certificate and friends land in Nginx 1.7.8, and decided to revisit Nginx as a candidate for proxy caching an upstream server requiring client authentication. I’ve included the debuggin…

---

## [Reverse proxy configuration on el7](https://www.ruby-forum.com/t/reverse-proxy-configuration-on-el7/241871)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 7, 2015, 5:50am UTC](https://www.ruby-forum.com/t/reverse-proxy-configuration-on-el7/241871 "2015-05-07T05:50:42Z")

</div>

Hello! Did anyone have same problem when configuring reverse proxy nginx + apache, when the request came from nginx, the IP didn’t shows real visitor. Example access.log: 127.0.0.1 - - \[07/May/2015:09:27:30 +0700\] “…

---

## [FastCGI sent in stderr: "Primary script unknown"](https://www.ruby-forum.com/t/fastcgi-sent-in-stderr-primary-script-unknown/241844)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 7, 2015, 12:20am UTC](https://www.ruby-forum.com/t/fastcgi-sent-in-stderr-primary-script-unknown/241844 "2015-05-07T00:20:02Z")

</div>

Hi, I try to configure a vhost with Nginx and PHP-FPM. I have an application with Symfony2.6, i followed this tutorial : I have this error : 2015/05/05 11:48:32 \[error\] 5181#0: \*5 FastCGI sent in stderr: “Primary s…

---

## [Error running shared postrotate script](https://www.ruby-forum.com/t/error-running-shared-postrotate-script/241813)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 6, 2015, 11:59pm UTC](https://www.ruby-forum.com/t/error-running-shared-postrotate-script/241813 "2015-05-06T23:59:00Z")

</div>

Ever since upgrading to 1.8.0 I get the following report from Cron: /etc/cron.daily/logrotate: error: error running shared postrotate script for '/var/log/nginx/.log ’ error: error running shared postrotate script fo…

---

## [Nginx.conf 2015 CFP is open](https://www.ruby-forum.com/t/nginx-conf-2015-cfp-is-open/241867)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 6, 2015, 9:04pm UTC](https://www.ruby-forum.com/t/nginx-conf-2015-cfp-is-open/241867 "2015-05-06T21:04:55Z")

</div>

nginx.conf 2015 Join us at Fort Mason in San Francisco from September 22-24, 2015. Submit a proposal to nginx.conf 2015! TL;DR • Speaker proposals due: 11:59 PM PDT, June 2, 2015 • Speakers notified: early July, 201…

---

## [How to block fake google spider and fake web browser access?](https://www.ruby-forum.com/t/how-to-block-fake-google-spider-and-fake-web-browser-access/241847)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 7\
**Last updated:** [May 6, 2015, 8:47pm UTC](https://www.ruby-forum.com/t/how-to-block-fake-google-spider-and-fake-web-browser-access/241847 "2015-05-06T20:47:23Z")

</div>

Hi All, Recently I found that someguys are trying to mirror my website. They are doing this in two ways: Pretend to be google spiders . Access logs are as following: 89.85.93.235 - - \[05/May/2015:20:23:16 +0800\] “GE…

---

## [Unbuffered POST requests and/or uWSGI in nginx 1.8](https://www.ruby-forum.com/t/unbuffered-post-requests-and-or-uwsgi-in-nginx-1-8/241856)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [May 6, 2015, 1:19pm UTC](https://www.ruby-forum.com/t/unbuffered-post-requests-and-or-uwsgi-in-nginx-1-8/241856 "2015-05-06T13:19:56Z")

</div>

Hi, it’s stated in a lot of IT news websites, that nginx 1.8 supports unbuffered uploads. However, I could not find it in thechangelog http://nginx.org/en/CHANGES-1.8, and also, did not find any new relevant options…

---

## [Proxy\_cache](https://www.ruby-forum.com/t/proxy-cache/241857)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 6, 2015, 12:09pm UTC](https://www.ruby-forum.com/t/proxy-cache/241857 "2015-05-06T12:09:49Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [Connection timeout from work, working anywhere else](https://www.ruby-forum.com/t/connection-timeout-from-work-working-anywhere-else/241610)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [May 5, 2015, 11:07pm UTC](https://www.ruby-forum.com/t/connection-timeout-from-work-working-anywhere-else/241610 "2015-05-05T23:07:36Z")

</div>

Hello, nginx is the HTTP server that is provided with my home automation software, jeedom. It is installed on my Raspberry Pi2. Everyting is working fine, I can connect from my internal network and from outside. B…

---

## [How to separate robot access log and human access log](https://www.ruby-forum.com/t/how-to-separate-robot-access-log-and-human-access-log/241741)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 5, 2015, 7:48pm UTC](https://www.ruby-forum.com/t/how-to-separate-robot-access-log-and-human-access-log/241741 "2015-05-05T19:48:58Z")

</div>

Hi all, I’m trying to separate the robot access log and human access log, so I’m using below configuration: http { … map $http\_user\_agent $ifbot { default 0; “~\*rogerbot” 3; “~\*ChinasoSpider” 3; “~\*…

---

## [Websockets max connections with SSL + slow](https://www.ruby-forum.com/t/websockets-max-connections-with-ssl-slow/241849)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 5, 2015, 4:54pm UTC](https://www.ruby-forum.com/t/websockets-max-connections-with-ssl-slow/241849 "2015-05-05T16:54:53Z")

</div>

Hi guys, We set up a basic reverse proxy configuration (that you can find below this thread). Our main app is using websocket, and the reverse proxy works fine when no using SSL. But when SSL is enabled, we notice…

---

## [6781#0: worker process xxxx exited on signal 11](https://www.ruby-forum.com/t/6781-0-worker-process-xxxx-exited-on-signal-11/241840)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 5, 2015, 2:30pm UTC](https://www.ruby-forum.com/t/6781-0-worker-process-xxxx-exited-on-signal-11/241840 "2015-05-05T14:30:35Z")

</div>

Hi, I’m sorry my bad english We are put in place a proxy web server. It’s functionnal with 8 vhosts with severals certificats SSL autosignated. It was functionnal. We bought a true certificat SSL multidomain to Geo…

---

## [PCRE with NGINX](https://www.ruby-forum.com/t/pcre-with-nginx/241841)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [May 5, 2015, 2:21pm UTC](https://www.ruby-forum.com/t/pcre-with-nginx/241841 "2015-05-05T14:21:49Z")

</div>

Hi, I am trying to insert a PCRE inside a map block. But looks like “{” used in my code is not liked. Suppose I am doing something like this inside a “map” block. .{1}(?P\<string\>.{9}).\* What is the escape character…

---

## [Error logging with nginx and uWSGI](https://www.ruby-forum.com/t/error-logging-with-nginx-and-uwsgi/241803)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [May 5, 2015, 2:09pm UTC](https://www.ruby-forum.com/t/error-logging-with-nginx-and-uwsgi/241803 "2015-05-05T14:09:33Z")

</div>

Prior to now, all the django projects I’ve worked on have used apache and WSGI. With those, when an error occurred I went to /var/log/httpd/error\_log and details of the error were clearly there. Now for the first time…

---

## [Nginx does not delete old cached files](https://www.ruby-forum.com/t/nginx-does-not-delete-old-cached-files/241728)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 5, 2015, 10:49am UTC](https://www.ruby-forum.com/t/nginx-does-not-delete-old-cached-files/241728 "2015-05-05T10:49:45Z")

</div>

Hi, I have nginx serve as image cached, here is the main config : proxy\_cache\_path /etc/nginx/cache-media levels=1:2 keys\_zone=media:1000m inactive=2y max\_size=100g; proxy\_temp\_path /etc/nginx/cache-media/tmp; /dev/…

---

## [%20 need to replace with -](https://www.ruby-forum.com/t/20-need-to-replace-with/241839)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 5, 2015, 9:01am UTC](https://www.ruby-forum.com/t/20-need-to-replace-with/241839 "2015-05-05T09:01:05Z")

</div>

Dear All, My website is being hit by some urls that is not served properly by nginx due to some characters like %20. ABC Home Page - ABC.com (Works fine) ABC Home Page - ABC.com (Do no work) it should be something …

---

## [Sending 404 responses for epty objects](https://www.ruby-forum.com/t/sending-404-responses-for-epty-objects/233411)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [May 4, 2015, 4:45pm UTC](https://www.ruby-forum.com/t/sending-404-responses-for-epty-objects/233411 "2015-05-04T16:45:30Z")

</div>

Hello, Due to issues with a backend beyond my influence i need to fix this with Nginx. Root-Cause: A CMS generates empty files on a filesystem which will be later filled with content. However: those files are there …

---

## [Feature Request proxy\_cache\_min\_size and proxy\_cache\_max\_size](https://www.ruby-forum.com/t/feature-request-proxy-cache-min-size-and-proxy-cache-max-size/241822)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [May 4, 2015, 2:10pm UTC](https://www.ruby-forum.com/t/feature-request-proxy-cache-min-size-and-proxy-cache-max-size/241822 "2015-05-04T14:10:05Z")

</div>

In order to solve this issue two additional features would be cool: proxy\_cache\_min\_size Syntax: proxy\_cache\_min\_size number; Default: proxy\_cache\_min\_size 1; Context: http, server, location Sets the minimal…

---

## [Deny referrer using map directive](https://www.ruby-forum.com/t/deny-referrer-using-map-directive/241820)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 4, 2015, 10:28am UTC](https://www.ruby-forum.com/t/deny-referrer-using-map-directive/241820 "2015-05-04T10:28:41Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello! I have a map directive like this : map $http\_referer $badboys { hostnames; default 0; “~\*hitleap.com” 1; } and already defined on server block like th…

---

## [Module : showing content of the folder](https://www.ruby-forum.com/t/module-showing-content-of-the-folder/241814)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 3, 2015, 8:12pm UTC](https://www.ruby-forum.com/t/module-showing-content-of-the-folder/241814 "2015-05-03T20:12:53Z")

</div>

Hello, I’m trying to develop a small module for nginx that verify the url. If it’s not valid, I return NGX\_HTTP\_FORBIDDEN in the handler and that works fine. But if url is correct i want to send the content of the l…

---

## [Windows build failing - NMAKE : fatal error U1073](https://www.ruby-forum.com/t/windows-build-failing-nmake-fatal-error-u1073/241805)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [May 3, 2015, 1:54pm UTC](https://www.ruby-forum.com/t/windows-build-failing-nmake-fatal-error-u1073/241805 "2015-05-03T13:54:49Z")

</div>

Following your guide: Building nginx on the Win32 platform with Visual C With a few edits, I then ran: ./configure --with-cc=cl --builddir=objs --prefix= –conf-path=conf/nginx.conf --pid-path=logs/nginx.pid –http-log…

---

## [Is there any way to load SSL certificates from a URL?](https://www.ruby-forum.com/t/is-there-any-way-to-load-ssl-certificates-from-a-url/241804)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 2, 2015, 4:13pm UTC](https://www.ruby-forum.com/t/is-there-any-way-to-load-ssl-certificates-from-a-url/241804 "2015-05-02T16:13:53Z")

</div>

When nginx starts I want to load the SSL certificates via URL rather than file system. This is because the machine that I am running from does not have a usable file system, and also because I need to fetch the certif…

---

## [Installed nginx with iredmail; how to add web content & test without DNS change](https://www.ruby-forum.com/t/installed-nginx-with-iredmail-how-to-add-web-content-test-without-dns-change/241759)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [May 2, 2015, 7:49am UTC](https://www.ruby-forum.com/t/installed-nginx-with-iredmail-how-to-add-web-content-test-without-dns-change/241759 "2015-05-02T07:49:46Z")

</div>

I have an existing website at a hosting service. I have contracted with a virtual server company and have installed iredmail, which in turn installs nginx, \[Oddly, Appache2 as well, though probably not relevant.\] Si…

---

## [Can't find nginx-extras 1.9 mainline in any repo](https://www.ruby-forum.com/t/cant-find-nginx-extras-1-9-mainline-in-any-repo/241802)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [May 1, 2015, 6:00pm UTC](https://www.ruby-forum.com/t/cant-find-nginx-extras-1-9-mainline-in-any-repo/241802 "2015-05-01T18:00:13Z")

</div>

Just installed Ubuntu 15.04 and rather surprised to see it’s still giving nginx-extras (1.6.2-5ubuntu3) So I added the recommended official repo as per http://nginx.org/en/linux\_packages.html#mainline deb Index of /…

---

## [Open socket left in connection](https://www.ruby-forum.com/t/open-socket-left-in-connection/241680)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 1, 2015, 2:10pm UTC](https://www.ruby-forum.com/t/open-socket-left-in-connection/241680 "2015-05-01T14:10:03Z")

</div>

This issue which can be found as; http://trac.nginx.org/nginx/ticket/714 http://trac.nginx.org/nginx/ticket/626 http://trac.nginx.org/nginx/ticket/346 Still exists in 1.7.12, 1.8 and 1.9 We’ve isolated this between …

---

## [Nginx-1.9.0](https://www.ruby-forum.com/t/nginx-1-9-0/241752)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 30, 2015, 9:42pm UTC](https://www.ruby-forum.com/t/nginx-1-9-0/241752 "2015-04-30T21:42:47Z")

</div>

Changes with nginx 1.9.0 28 Apr 2015 \*) Change: obsolete aio and rtsig event methods have been removed. \*) Feature: the "zone" directive inside the "upstream" block. \*) Feature…

---

## [Proxy question - rewrite URLs](https://www.ruby-forum.com/t/proxy-question-rewrite-urls/241733)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 30, 2015, 7:38pm UTC](https://www.ruby-forum.com/t/proxy-question-rewrite-urls/241733 "2015-04-30T19:38:21Z")

</div>

I’m brand new to nginx so apologies in advance if this is the incorrect place to ask but I’ve been struggling with this for a week without much headway. I’m trying to reverse proxy two hosts behind nginx. The twist i…

---

## [Trying to "see" my NGINX downloads folder via https?](https://www.ruby-forum.com/t/trying-to-see-my-nginx-downloads-folder-via-https/241781)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 30, 2015, 10:15am UTC](https://www.ruby-forum.com/t/trying-to-see-my-nginx-downloads-folder-via-https/241781 "2015-04-30T10:15:09Z")

</div>

I have NGINX installed on a VPN and I would like to access the “downloads” folder via https. I followed instructions given to me as follows: In order to download your files from your vpn, you will move the download f…

---

## [Proxy\_redirect not working with "refresh"](https://www.ruby-forum.com/t/proxy-redirect-not-working-with-refresh/241784)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 30, 2015, 10:11am UTC](https://www.ruby-forum.com/t/proxy-redirect-not-working-with-refresh/241784 "2015-04-30T10:11:38Z")

</div>

http://nginx.org/en/docs/http/ngx\_http\_proxy\_module.html#proxy\_redirect says: “(proxy\_redirect) Sets the text that should be changed in the “Location” and “Refresh” header fields of a proxied server response.” All ex…

---

## [Nginx boot issues with centos7](https://www.ruby-forum.com/t/nginx-boot-issues-with-centos7/241774)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 30, 2015, 12:25am UTC](https://www.ruby-forum.com/t/nginx-boot-issues-with-centos7/241774 "2015-04-30T00:25:24Z")

</div>

Greetings, It appears that nginx has difficulties starting automatically in CentOS 7 when it needs to resolve DNS names in the configuration. I’m attributing this to systemd. Nginx stable was installed from packag…

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

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