# Server

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

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

---

## [Nginx with Mailman](https://www.ruby-forum.com/t/nginx-with-mailman/234746)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [March 26, 2015, 8:36pm UTC](https://www.ruby-forum.com/t/nginx-with-mailman/234746 "2015-03-26T20:36:13Z")

</div>

Hello, i try to run mailman on nginx over fcgiwrap. The sock is present on system and has correct rights, but log say me can not find. server { listen 80; listen \[::\]:80; server\_name lists; root /usr/lib64/mailman/…

---

## [Request\_time is always 0.000](https://www.ruby-forum.com/t/request-time-is-always-0-000/234748)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 26, 2015, 3:24pm UTC](https://www.ruby-forum.com/t/request-time-is-always-0-000/234748 "2015-03-26T15:24:49Z")

</div>

Hello, I need to log transaction time, so I simply add $request\_time to my log\_format directive. Anyway the value in the access.log in always 0.000 even if the server is under heavy load (siege show transaction time u…

---

## [Transform POST request to GET and pass body in URL](https://www.ruby-forum.com/t/transform-post-request-to-get-and-pass-body-in-url/234745)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 26, 2015, 1:13pm UTC](https://www.ruby-forum.com/t/transform-post-request-to-get-and-pass-body-in-url/234745 "2015-03-26T13:13:30Z")

</div>

Hello, I am using Varnish as a cache and reverse-proxy to distribute requests between different backend workers. The workers expect some parameters, that can be passed either through GET or POST. The way Varnish work…

---

## [Nginx-1.7.11](https://www.ruby-forum.com/t/nginx-1-7-11/234723)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 26, 2015, 7:52am UTC](https://www.ruby-forum.com/t/nginx-1-7-11/234723 "2015-03-26T07:52:50Z")

</div>

Changes with nginx 1.7.11 24 Mar 2015 \*) Change: the "sendfile" parameter of the "aio" directive is deprecated; now nginx automatically uses AIO to pre-load data for sendfil…

---

## [How to apply concurrent connection limit?](https://www.ruby-forum.com/t/how-to-apply-concurrent-connection-limit/234699)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [March 25, 2015, 11:35pm UTC](https://www.ruby-forum.com/t/how-to-apply-concurrent-connection-limit/234699 "2015-03-25T23:35:01Z")

</div>

Hello, We have been providing API to our customers and want to apply concurrent connection limit for API calls. Would anybody let us know which module should be used with configuration example? We also need to exclud…

---

## [Default value of gzip\_proxied](https://www.ruby-forum.com/t/default-value-of-gzip-proxied/234676)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 12\
**Last updated:** [March 25, 2015, 10:38pm UTC](https://www.ruby-forum.com/t/default-value-of-gzip-proxied/234676 "2015-03-25T22:38:02Z")

</div>

I recently bumped into some trouble with a client caching uncompressed data without understanding where it came from. After long investigation on what appeared to be random, I narrowed it to the gzip\_proxied http://…

---

## [Proper setup for forward secrecy](https://www.ruby-forum.com/t/proper-setup-for-forward-secrecy/222040)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [March 25, 2015, 10:26pm UTC](https://www.ruby-forum.com/t/proper-setup-for-forward-secrecy/222040 "2015-03-25T22:26:48Z")

</div>

Hello, I was reading an article written by Adam Langley and he says: "You also need to be aware of Session Tickets in order to implement forward secrecy correctly. There are two ways to resume a TLS connection: eithe…

---

## [Most of value of $request\_time is 0.000](https://www.ruby-forum.com/t/most-of-value-of-request-time-is-0-000/234731)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 25, 2015, 9:01pm UTC](https://www.ruby-forum.com/t/most-of-value-of-request-time-is-0-000/234731 "2015-03-25T21:01:52Z")

</div>

Our version of nginx is nginx/1.0.8 and we have write a third party module to handle the http request. Because the process model of our third party module is synchronous so the nginx worker process will be blocked unt…

---

## [API ratelimiting, setting extra headers X-RateLimit-Limit X-RateLimit-Remaining X-RateLimit-Reset](https://www.ruby-forum.com/t/api-ratelimiting-setting-extra-headers-x-ratelimit-limit-x-ratelimit-remaining-x-ratelimit-reset/234740)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 25, 2015, 4:10pm UTC](https://www.ruby-forum.com/t/api-ratelimiting-setting-extra-headers-x-ratelimit-limit-x-ratelimit-remaining-x-ratelimit-reset/234740 "2015-03-25T16:10:36Z")

</div>

I am searching for API ratelimiting and can’t find anything… Is it possible to handle all of this in nginx? ( Seting/evaluating headers, limiting connection, IP whitelisting ) ? I want to throttle access to our API a…

---

## [Compiling and using NGINX in multi thread mode](https://www.ruby-forum.com/t/compiling-and-using-nginx-in-multi-thread-mode/234713)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 25, 2015, 7:01am UTC](https://www.ruby-forum.com/t/compiling-and-using-nginx-in-multi-thread-mode/234713 "2015-03-25T07:01:52Z")

</div>

Hi, I hope that I am posting at the right place. I am trying to figure out if multi-thread mode is supported with the latest release, and if so then what I need to do for using it? I am trying to compile it from its…

---

## [Disable file uploads](https://www.ruby-forum.com/t/disable-file-uploads/234706)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 9\
**Last updated:** [March 24, 2015, 11:40pm UTC](https://www.ruby-forum.com/t/disable-file-uploads/234706 "2015-03-24T23:40:37Z")

</div>

Is there any way to stop / disable random file uploads… for example, I’m having ‘fun’ with mail relays being uploaded to the cache area of a wordpress site? Can’t think of anything off the top of my head that would do…

---

## [Proper way to redirect from http to https w/query string notifier](https://www.ruby-forum.com/t/proper-way-to-redirect-from-http-to-https-w-query-string-notifier/234719)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [March 24, 2015, 11:25pm UTC](https://www.ruby-forum.com/t/proper-way-to-redirect-from-http-to-https-w-query-string-notifier/234719 "2015-03-24T23:25:57Z")

</div>

i need to redirecting from http to https, and append a “source” attribute for tracking (we’re trying to figure out how the wrong requests are coming in) this seems to work: if ($query\_string){ return 301 https:…

---

## [Why subtraction is used to compare in nginx\_rbtree.c?](https://www.ruby-forum.com/t/why-subtraction-is-used-to-compare-in-nginx-rbtree-c/234715)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 24, 2015, 4:43pm UTC](https://www.ruby-forum.com/t/why-subtraction-is-used-to-compare-in-nginx-rbtree-c/234715 "2015-03-24T16:43:41Z")

</div>

When I study the rbtree of nginx I can’t understand the comments. Can someone give me a concrete example?Thanks :slight\_smile: for ( ;; ) { /\* \* Timer values \* 1) are spread in small range, usually sever…

---

## [What does fastcgi\_keep\_conn do?](https://www.ruby-forum.com/t/what-does-fastcgi-keep-conn-do/234679)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 24, 2015, 1:44am UTC](https://www.ruby-forum.com/t/what-does-fastcgi-keep-conn-do/234679 "2015-03-24T01:44:18Z")

</div>

Hi, I would like nginx to serve all requests of a given TCP connection to the same FCGI server. If a new TCP connection is established, then nginx would select the next UDS FCGI server in round-robin fashion. Can thi…

---

## [End-to-end disconnect notification?](https://www.ruby-forum.com/t/end-to-end-disconnect-notification/234709)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 24, 2015, 1:43am UTC](https://www.ruby-forum.com/t/end-to-end-disconnect-notification/234709 "2015-03-24T01:43:27Z")

</div>

Hi, given client --(tcp)–\>nginx --(fcgi)–\>fcgi server --(tcp)–\> back-end server if the client initiates a TCP disconnect, is there a way for NGINX to carry out the termination to the fcgi server? Or if the back-end …

---

## [Rewrite undecoded URL](https://www.ruby-forum.com/t/rewrite-undecoded-url/234652)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 24, 2015, 12:25am UTC](https://www.ruby-forum.com/t/rewrite-undecoded-url/234652 "2015-03-24T00:25:02Z")

</div>

Hello. We are trying to use the nginx rewrite rule, without the application of URL decoding. The relevant portion of our test configuration is: location ~ ^/p/stratus.\* { include conf…

---

## [ProxyPass to target need to pass another proxy](https://www.ruby-forum.com/t/proxypass-to-target-need-to-pass-another-proxy/234698)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 23, 2015, 2:39pm UTC](https://www.ruby-forum.com/t/proxypass-to-target-need-to-pass-another-proxy/234698 "2015-03-23T14:39:25Z")

</div>

Hey guys, I have the following plan. I need to configure an nginx via proxypass. The target of the proxy itself is behind a proxy. My config looks like this: upstream @squid { server XXX.YYY.FFF.EEE:3128; } serv…

---

## [I need some urgent rewrites](https://www.ruby-forum.com/t/i-need-some-urgent-rewrites/234686)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 23, 2015, 12:47pm UTC](https://www.ruby-forum.com/t/i-need-some-urgent-rewrites/234686 "2015-03-23T12:47:08Z")

</div>

I need some urgent rewrites From: http://www.my-domain.de/kalorientabelle.php/unterkategorie/204-suppen To: http://www.my-domain.de/kalorientabelle/suppen.204/unterkategorie From: http://www.my-domain.de/kalorienta…

---

## [Nginx fails to start - nginx.service not found](https://www.ruby-forum.com/t/nginx-fails-to-start-nginx-service-not-found/234662)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 22, 2015, 11:04pm UTC](https://www.ruby-forum.com/t/nginx-fails-to-start-nginx-service-not-found/234662 "2015-03-22T23:04:03Z")

</div>

i just built the latest mainline nginx from source on fedora 21 (64bit) and when i run: service nginx start i see: Redirecting to /bin/systemctl start nginx.service Failed to start nginx.service: Unit nginx.service…

---

## [Nginx mail proxy](https://www.ruby-forum.com/t/nginx-mail-proxy/234680)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 22, 2015, 11:49am UTC](https://www.ruby-forum.com/t/nginx-mail-proxy/234680 "2015-03-22T11:49:18Z")

</div>

I want to use nginx as a mail proxy.I am new to nginx and need some help with the configuration, I got some problems. I want to use Foxmail ,use ngx proxy , this is my configuration. mail{ #server\_name mailProxy; a…

---

## [Windows nginx 1.7.11.3 Gryphon](https://www.ruby-forum.com/t/windows-nginx-1-7-11-3-gryphon/234659)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [March 21, 2015, 11:04pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-7-11-3-gryphon/234659 "2015-03-21T23:04:18Z")

</div>

20:43 19-3-2015 nginx 1.7.11.3 Gryphon Based on nginx 1.7.11 (19-3-2015, last changeset 6024:199c0dd313ea) with; Openssl-1.0.1m (CVE-2015-0204, CVE-2015-0286, CVE-2015-0287, CVE-2015-0289, CVE-2015-0292, CVE-2015-0…

---

## [Stripping www and forcing ssl](https://www.ruby-forum.com/t/stripping-www-and-forcing-ssl/234674)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [March 21, 2015, 7:09am UTC](https://www.ruby-forum.com/t/stripping-www-and-forcing-ssl/234674 "2015-03-21T07:09:14Z")

</div>

Hi all, I am attempting to strip www. and force SSL. Here are the blocks I’m using: server { listen 50.250.218.168:80; listen 50.250.218.168:443 ssl; listen \[2001:470:67:2b5::10…

---

## [Latest nginx debug version](https://www.ruby-forum.com/t/latest-nginx-debug-version/234678)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 20, 2015, 10:49pm UTC](https://www.ruby-forum.com/t/latest-nginx-debug-version/234678 "2015-03-20T22:49:48Z")

</div>

Hi, I installed nginx-full-dbg on the latest Ubuntu 14.10 and after some tinkering I could add the Dynatrace Agent. While I got nginx 1.6.2 on Ubuntu I tried the same on a Fedora 18 and I end up with 1.2.9. Also: I…

---

## [Enable memcache with nginx](https://www.ruby-forum.com/t/enable-memcache-with-nginx/234677)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 20, 2015, 9:00pm UTC](https://www.ruby-forum.com/t/enable-memcache-with-nginx/234677 "2015-03-20T21:00:35Z")

</div>

Dear Friends i have tried to configure memcache with nginx but still couldn’t configure it anybody have experience to configure memcache with nginx please send your configuration file thanks in advance

---

## [Https to http error "too many redirects"](https://www.ruby-forum.com/t/https-to-http-error-too-many-redirects/234663)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 12\
**Last updated:** [March 20, 2015, 12:41pm UTC](https://www.ruby-forum.com/t/https-to-http-error-too-many-redirects/234663 "2015-03-20T12:41:54Z")

</div>

Hi. i have a setting problem. I want all request “http” → “https” But, some location is “https” → “http”. ALL Location : https /companyBrand.do : http only i saw error that “too many redirects” What’s problem? m…

---

## [What's the proper way to apply different connection limits to multiple virtual hosts?](https://www.ruby-forum.com/t/whats-the-proper-way-to-apply-different-connection-limits-to-multiple-virtual-hosts/234660)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 19, 2015, 10:05pm UTC](https://www.ruby-forum.com/t/whats-the-proper-way-to-apply-different-connection-limits-to-multiple-virtual-hosts/234660 "2015-03-19T22:05:11Z")

</div>

Let’s say that we have two virtual hosts serving two domains: blog.com and store.com. Let’s suppose that we need to apply the following limits: blog.com: no more than 5 connections per ip, and no more than 50 total …

---

## [Rewrite rules cms phpwcms not working](https://www.ruby-forum.com/t/rewrite-rules-cms-phpwcms-not-working/234211)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [March 19, 2015, 10:04pm UTC](https://www.ruby-forum.com/t/rewrite-rules-cms-phpwcms-not-working/234211 "2015-03-19T22:04:19Z")

</div>

I try to convert apache rewrite rules for CMS phpwcms (www.phpwcms.de), but with the online converter tools and some adjustments recommended at the nginx wiki I still struggle with that. That’s my configuration Serv…

---

## [Help needed with configuration](https://www.ruby-forum.com/t/help-needed-with-configuration/234658)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 19, 2015, 9:07pm UTC](https://www.ruby-forum.com/t/help-needed-with-configuration/234658 "2015-03-19T21:07:00Z")

</div>

Hi, I have the following configuration. Why are a missing .html file, and the requests for favicon.ico (also missing), all result in a “bad gateway” error.? The error log shows that the request is passed to uwsgi, w…

---

## [SSL3\_CTX\_CTRL:called a function you should not call](https://www.ruby-forum.com/t/ssl3-ctx-ctrl-called-a-function-you-should-not-call/234035)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 16\
**Last updated:** [March 19, 2015, 9:03pm UTC](https://www.ruby-forum.com/t/ssl3-ctx-ctrl-called-a-function-you-should-not-call/234035 "2015-03-19T21:03:33Z")

</div>

nginx 1.6.2 + libressl 2.1.3 tail -f \[…\]/port-443/\*.log ==\> stderr.log \<== 2015/02/01 01:35:34 \[alert\] 15134#0: worker process 15139 exited on signal 11 2015/02/01 01:35:34 \[alert\] 15134#0: shared memory zone “SS…

---

## [Reverse Proxy for Microsoft RDP](https://www.ruby-forum.com/t/reverse-proxy-for-microsoft-rdp/234657)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 19, 2015, 7:51pm UTC](https://www.ruby-forum.com/t/reverse-proxy-for-microsoft-rdp/234657 "2015-03-19T19:51:46Z")

</div>

Hi Guys, I do have couple of microsoft servers which are being accessed over the internet using RDP. Would like to know if nginx can be used as a reverse proxy for RDP servers without exposing my original servers? Ca…

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

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