# Server

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

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

---

## [How can I run more than one process on Windows?](https://www.ruby-forum.com/t/how-can-i-run-more-than-one-process-on-windows/231637)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 20, 2014, 5:12pm UTC](https://www.ruby-forum.com/t/how-can-i-run-more-than-one-process-on-windows/231637 "2014-08-20T17:12:45Z")

</div>

Despite sending an async request to the server over AJAX, the server will not respond until the previous unrelated request has finished. The following code is only broken in this way on Nginx, but runs perfectly on A…

---

## [Proxied request hang when DNS server down](https://www.ruby-forum.com/t/proxied-request-hang-when-dns-server-down/231612)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 20, 2014, 9:59am UTC](https://www.ruby-forum.com/t/proxied-request-hang-when-dns-server-down/231612 "2014-08-20T09:59:35Z")

</div>

http { resolver 127.0.0.1; resolver\_timeout 1s; server { listen 8000; location /test { proxy\_pass http://$arg\_host:8080; } } server { listen 8080; … } } ps: other configure is normal I have recently discov…

---

## [Starting to redirect HTTP to HTTPS without breaking POST requests](https://www.ruby-forum.com/t/starting-to-redirect-http-to-https-without-breaking-post-requests/231627)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 20, 2014, 1:30am UTC](https://www.ruby-forum.com/t/starting-to-redirect-http-to-https-without-breaking-post-requests/231627 "2014-08-20T01:30:26Z")

</div>

Hi, in a single server block listening on both 80 and 443 ssl, currently in production, I want to start redirecting all HTTP GET requests to HTTPS … but keep serving non-GET requests on HTTP for a little while, so as…

---

## [WebDAV with Authentication Layer](https://www.ruby-forum.com/t/webdav-with-authentication-layer/231591)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 19, 2014, 11:56pm UTC](https://www.ruby-forum.com/t/webdav-with-authentication-layer/231591 "2014-08-19T23:56:24Z")

</div>

Hi folks, I’m using Nginx as a WebDAV server using nginx-dav-ext-module. Now I needed to add an authentication layer to the WebDAV server which couldn’t only be relying on a static htpasswd file. So I looked around a…

---

## [Help debugging nginx core dump](https://www.ruby-forum.com/t/help-debugging-nginx-core-dump/231573)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [August 19, 2014, 11:31pm UTC](https://www.ruby-forum.com/t/help-debugging-nginx-core-dump/231573 "2014-08-19T23:31:32Z")

</div>

Hi expert, I am running into nginx core dump issue and I need experts help in debugging. Thank you so much! we are running nginx 1.6.1 on centos 5.6 nginx version: nginx/1.6.1 built by gcc 4.1.2 20080704 (Red Hat…

---

## [How to run wordpress on nginx in windows 8?](https://www.ruby-forum.com/t/how-to-run-wordpress-on-nginx-in-windows-8/231619)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 19, 2014, 2:46pm UTC](https://www.ruby-forum.com/t/how-to-run-wordpress-on-nginx-in-windows-8/231619 "2014-08-19T14:46:46Z")

</div>

Hi I install nginx to try it on windows 8 now it run on localhost:8080 installed mysql and php on it paste wordpress folder on c:\\nginx\\html and browse : localhost:8080/nginx/html/wordpress but it can’t find and in…

---

## [SSL handshake fail between nginx and my tomcat with mutual authentication](https://www.ruby-forum.com/t/ssl-handshake-fail-between-nginx-and-my-tomcat-with-mutual-authentication/238321)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [August 19, 2014, 4:29am UTC](https://www.ruby-forum.com/t/ssl-handshake-fail-between-nginx-and-my-tomcat-with-mutual-authentication/238321 "2014-08-19T04:29:39Z")

</div>

Hi All, I am using Nginx 1.4.4 as reverse proxy for my tomcat server. My problem is: SSL handshake failed between Nginx and tomcat with mutual SSL authentication. I have verified that Client to Nginx with mutual SSL …

---

## [Proxied requests hang when DNS response has wrong ident](https://www.ruby-forum.com/t/proxied-requests-hang-when-dns-response-has-wrong-ident/230962)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 9\
**Last updated:** [August 18, 2014, 4:54pm UTC](https://www.ruby-forum.com/t/proxied-requests-hang-when-dns-response-has-wrong-ident/230962 "2014-08-18T16:54:55Z")

</div>

We have recently discovered a very rare occurence when requests through nginx will hang if the resolver sends a response with a mismatching ident. We are seeing this in production with 1.7.1 and I have been able to r…

---

## [DNS problem](https://www.ruby-forum.com/t/dns-problem/231583)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 18, 2014, 3:05pm UTC](https://www.ruby-forum.com/t/dns-problem/231583 "2014-08-18T15:05:44Z")

</div>

I know nginx 1.7.4 fixes a bug about DNS resolver, but i do not quite understand why this would lead to a request hang, Because there is a timeout handling, at a specified time if there is no response the timeout cal…

---

## [Using proxy\_ssl\_verify getting error: upstream SSL certificate verify error: (20:unable to get local](https://www.ruby-forum.com/t/using-proxy-ssl-verify-getting-error-upstream-ssl-certificate-verify-error-20-unable-to-get-local/231515)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 17, 2014, 7:32pm UTC](https://www.ruby-forum.com/t/using-proxy-ssl-verify-getting-error-upstream-ssl-certificate-verify-error-20-unable-to-get-local/231515 "2014-08-17T19:32:33Z")

</div>

I am trying to use proxy\_ssl\_verify on, but I am getting back 502 Bad Gateway. When I look at the logs I see: 2014/08/12 18:08:03 \[error\] 21007#0: \*3 upstream SSL certificate verify error: (20:unable to get local issu…

---

## [Listen spdy per server\_name](https://www.ruby-forum.com/t/listen-spdy-per-server-name/231582)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 17, 2014, 9:23am UTC](https://www.ruby-forum.com/t/listen-spdy-per-server-name/231582 "2014-08-17T09:23:40Z")

</div>

Hi It seems that if I have 2 server {} sections, one with spdy enabled and one without, spdy is still accepted on the second server { server\_name “”; listen 80; listen 443 ssl spdy; } server { server\_name “som…

---

## [Help cannot add mod\_rewrite in nginx site configuration](https://www.ruby-forum.com/t/help-cannot-add-mod-rewrite-in-nginx-site-configuration/231577)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 16, 2014, 2:30pm UTC](https://www.ruby-forum.com/t/help-cannot-add-mod-rewrite-in-nginx-site-configuration/231577 "2014-08-16T14:30:20Z")

</div>

hello i don’t know how to add this code rewrite "^/(\[0-9A-Za-z\]{12})(\\/.+|\\.html?|)$" /dl?op=download1&id=$1&fname=$2 last; rewrite “^/embed-(\[0-9A-Za-z\]{12}).html$” /dl?op=embed&file\_co…

---

## [Redirect question (inception inside)](https://www.ruby-forum.com/t/redirect-question-inception-inside/231574)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 16, 2014, 12:27pm UTC](https://www.ruby-forum.com/t/redirect-question-inception-inside/231574 "2014-08-16T12:27:38Z")

</div>

I want to redirect /us/us/directory/filename to the /us/directory/filename directory on my Nginx server. but this if ( $request\_filename ~ /us/us/.+ ) { rewrite ^(.\*) http://mysiteurlt/us/$1 permanent;…

---

## [Patch against server DOS](https://www.ruby-forum.com/t/patch-against-server-dos/231568)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 16, 2014, 10:22am UTC](https://www.ruby-forum.com/t/patch-against-server-dos/231568 "2014-08-16T10:22:33Z")

</div>

Hello, My NGINX got a denial of service. The machine proxied large files using “proxy\_store”. Someone was creating an artifical request for a rarely used file, causing NGINX to download a big file from upstream, the…

---

## [Problem with a reverse proxy and trailing slash redirects](https://www.ruby-forum.com/t/problem-with-a-reverse-proxy-and-trailing-slash-redirects/231564)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 16, 2014, 12:18am UTC](https://www.ruby-forum.com/t/problem-with-a-reverse-proxy-and-trailing-slash-redirects/231564 "2014-08-16T00:18:03Z")

</div>

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

---

## [Disable Upstream Timeouts in Custom Module](https://www.ruby-forum.com/t/disable-upstream-timeouts-in-custom-module/231570)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 15, 2014, 11:02pm UTC](https://www.ruby-forum.com/t/disable-upstream-timeouts-in-custom-module/231570 "2014-08-15T23:02:25Z")

</div>

I have a custom module that is proxying an upstream TCP based server. I can manipulate the timeouts by changing the ngx\_http\_upstream\_conf\_t’s read\_timeout and send\_timeout to increase the timeout. However, for my par…

---

## [\[not solved but manualy done\]'auto'rewrite link to a folder](https://www.ruby-forum.com/t/not-solved-but-manualy-done-autorewrite-link-to-a-folder/231534)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 13\
**Last updated:** [August 15, 2014, 5:44pm UTC](https://www.ruby-forum.com/t/not-solved-but-manualy-done-autorewrite-link-to-a-folder/231534 "2014-08-15T17:44:32Z")

</div>

Hi all, i am looking for a ‘simple rewrite rule’ like typing : FOLDER.2maxi.com will point the folder /var/www/FOLDER/ and the folder is create by ngninx user, with winscp. my old vps debian6, nginx-1.2.6+php, used …

---

## [Regarding proxy\_next\_upstream parameter](https://www.ruby-forum.com/t/regarding-proxy-next-upstream-parameter/231479)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 15, 2014, 12:57pm UTC](https://www.ruby-forum.com/t/regarding-proxy-next-upstream-parameter/231479 "2014-08-15T12:57:01Z")

</div>

Hi, I am trying to do failover as per below configuration :- upstream backend { hash $key2 consistent; server 10.0.0.22:8080; server 10.0.0.23:8080; server 10.0.0.24:8080; server 10.0.0.25:8080; server 10.0.0.26:…

---

## [Could not find "/usr/local/nginx" after yum install nginx](https://www.ruby-forum.com/t/could-not-find-usr-local-nginx-after-yum-install-nginx/231557)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 15, 2014, 11:11am UTC](https://www.ruby-forum.com/t/could-not-find-usr-local-nginx-after-yum-install-nginx/231557 "2014-08-15T11:11:26Z")

</div>

hello,i’m new to nginx. i’m using “yum” to install nginx.i followed the instruction(http://wiki.nginx.org/Install),and added repository for nginx. After i finished it,i can’t find this directory(/usr/local/nginx).but…

---

## [Cannot create directory alias (with php pages)](https://www.ruby-forum.com/t/cannot-create-directory-alias-with-php-pages/231535)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 14, 2014, 7:32pm UTC](https://www.ruby-forum.com/t/cannot-create-directory-alias-with-php-pages/231535 "2014-08-14T19:32:31Z")

</div>

Hello, I have a hard time trying to make a “directory alias” (in Apache terminology - sorry, I still have a lot to learn on nginx)… I have piwik.example.com, configured to run piwik analytics (it is a php site), and …

---

## [Add\_header is not working in certain locations](https://www.ruby-forum.com/t/add-header-is-not-working-in-certain-locations/231521)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [August 14, 2014, 7:17pm UTC](https://www.ruby-forum.com/t/add-header-is-not-working-in-certain-locations/231521 "2014-08-14T19:17:37Z")

</div>

Hi all, I’ve got strange behavior that I don’t understand in two different configs. I’ll post examples below, in both of them I use add\_header two times and one of them is not working while second does. Example 1: R…

---

## [Microcache : empty pages?](https://www.ruby-forum.com/t/microcache-empty-pages/231536)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 13, 2014, 11:40pm UTC](https://www.ruby-forum.com/t/microcache-empty-pages/231536 "2014-08-13T23:40:10Z")

</div>

I have somme strange comportement on nginx 1.7.4 / Freebsd 9 : Some Wordpress microcached pages rendered …EMPTY HTML pages , for about 1/20 visitors . When it happens, we have to make a forced reload of the page on t…

---

## [Sudden 500 Internal Server Error nginx/1.0.11](https://www.ruby-forum.com/t/sudden-500-internal-server-error-nginx-1-0-11/231532)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 13, 2014, 10:59pm UTC](https://www.ruby-forum.com/t/sudden-500-internal-server-error-nginx-1-0-11/231532 "2014-08-13T22:59:03Z")

</div>

Site was working fine for years… And suddenly I get this error. tried reboot server - nothing, looking into logs and I see this kinds of errors: connect() failed (110: Connection timed out) while connecting to upstre…

---

## [Reverse proxy images - windows](https://www.ruby-forum.com/t/reverse-proxy-images-windows/231514)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 11\
**Last updated:** [August 13, 2014, 10:53pm UTC](https://www.ruby-forum.com/t/reverse-proxy-images-windows/231514 "2014-08-13T22:53:41Z")

</div>

I’ve configured a reverse proxy for images on a windows box however it is not working as expected. First time I send a request to the server and I get the image with an http 200 as expected. Second hit the request …

---

## [SPDY being disabled in Chrome (temporary)](https://www.ruby-forum.com/t/spdy-being-disabled-in-chrome-temporary/231533)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 13, 2014, 10:04pm UTC](https://www.ruby-forum.com/t/spdy-being-disabled-in-chrome-temporary/231533 "2014-08-13T22:04:49Z")

</div>

Fyi. https://groups.google.com/forum/#!topic/spdy-dev/qFKgWBq9E3M "Yes, this is expected. Chrome SPDY support will be substantially diminished this week and should be mostly back to normal next week. " Posted at Ngin…

---

## [Override Content-Type header with proxied requests](https://www.ruby-forum.com/t/override-content-type-header-with-proxied-requests/231406)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 12\
**Last updated:** [August 13, 2014, 12:19pm UTC](https://www.ruby-forum.com/t/override-content-type-header-with-proxied-requests/231406 "2014-08-13T12:19:15Z")

</div>

Please refer this page Posted at Nginx Forum:

---

## [How to call redis2-nginx-module or any other module from another module](https://www.ruby-forum.com/t/how-to-call-redis2-nginx-module-or-any-other-module-from-another-module/231503)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 12, 2014, 10:48pm UTC](https://www.ruby-forum.com/t/how-to-call-redis2-nginx-module-or-any-other-module-from-another-module/231503 "2014-08-12T22:48:21Z")

</div>

redis2-nginx-module is written with all location configs. Does it mean that the module can only be called from browser with some url? If I want to introduce new module into reuest processing path & call redis2-nginx-…

---

## [Does nginx support openstack swift API?](https://www.ruby-forum.com/t/does-nginx-support-openstack-swift-api/230076)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [August 12, 2014, 9:03pm UTC](https://www.ruby-forum.com/t/does-nginx-support-openstack-swift-api/230076 "2014-08-12T21:03:23Z")

</div>

Hello guys, I’m trying to find a way to use OpenStack SWIFT with nginx, the below are request steps: nginx is configured as proxy cache client send a request to nginx for url: http://domain.com/filename.txt nginx …

---

## [Introducing ngxLuaDB powered by nginx for Windows](https://www.ruby-forum.com/t/introducing-ngxluadb-powered-by-nginx-for-windows/231495)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 12, 2014, 8:17pm UTC](https://www.ruby-forum.com/t/introducing-ngxluadb-powered-by-nginx-for-windows/231495 "2014-08-12T20:17:26Z")

</div>

Introducing ngxLuaDB (nginx Lua Database) a collection of DLL’s build against Luajit which can be used with nginx for Windows. Please note that only a few modules have been tested, for the moment this is a prove of c…

---

## [SSL\_write() failed (SSL:) (1: operation not permitted) when serving MP4 over HTTPS](https://www.ruby-forum.com/t/ssl-write-failed-ssl-1-operation-not-permitted-when-serving-mp4-over-https/231504)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 12, 2014, 2:48pm UTC](https://www.ruby-forum.com/t/ssl-write-failed-ssl-1-operation-not-permitted-when-serving-mp4-over-https/231504 "2014-08-12T14:48:10Z")

</div>

Hi, I’ve searched the mailing list but haven’t found anything relating to this error:, the closest I found: #428 (SPDY and Proxy Cache prematurely closes connections) – nginx - however that was closed 6 weeks ago and…

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

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