# Server

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

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

---

## [Change blank uwsgi\_cache\_key default, or log warning](https://www.ruby-forum.com/t/change-blank-uwsgi-cache-key-default-or-log-warning/231957)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 10, 2014, 7:49pm UTC](https://www.ruby-forum.com/t/change-blank-uwsgi-cache-key-default-or-log-warning/231957 "2014-09-10T19:49:31Z")

</div>

Hello, Because uwsgi\_cache\_key has no default value (or rather, has the empty string as its default value), a configuration with uwsgi\_cache set but uwsgi\_cache\_key not set behaves in a way that is very unlikely to be …

---

## [Wrong data in $upstream\_status and $upstream\_response\_time](https://www.ruby-forum.com/t/wrong-data-in-upstream-status-and-upstream-response-time/231973)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 10, 2014, 7:04pm UTC](https://www.ruby-forum.com/t/wrong-data-in-upstream-status-and-upstream-response-time/231973 "2014-09-10T19:04:29Z")

</div>

Hey Guys, We have been using the latest stable Nginx version 1.6.1, and I’ve could notice that we might be facing a bug that was supposed to be fixed in version 1.5.11. Bugfix: the $upstream\_status variable might con…

---

## [Socket connection failures on 1.6.1~precise](https://www.ruby-forum.com/t/socket-connection-failures-on-1-6-1-precise/231845)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 10, 2014, 5:16am UTC](https://www.ruby-forum.com/t/socket-connection-failures-on-1-6-1-precise/231845 "2014-09-10T05:16:12Z")

</div>

I’m trying to track down an issue that is being presented only when I run nginx version 1.6.1-1~precise. My nodes running 1.6.0-1~precise do not display this issue, but freshly created servers are getting floods of t…

---

## [Video metadata parameters](https://www.ruby-forum.com/t/video-metadata-parameters/231956)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 9, 2014, 7:51pm UTC](https://www.ruby-forum.com/t/video-metadata-parameters/231956 "2014-09-09T19:51:42Z")

</div>

Hi, Is that possible to take metadata information from the mp4 file without using the third party player while streaming a video file? Because i need to the metadata parameters that can be use them in our code struct…

---

## [502 errors with nginx+gunicorn](https://www.ruby-forum.com/t/502-errors-with-nginx-gunicorn/231949)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 9, 2014, 4:55am UTC](https://www.ruby-forum.com/t/502-errors-with-nginx-gunicorn/231949 "2014-09-09T04:55:38Z")

</div>

Hi all, I am sending large post request to gunicorn/django behind nginx. If gunicorn responds and closes the connection before nginx has finished sending the large request body, it causes nginx to issue a 502 Bad Ga…

---

## [Terminate a connection after sending headers](https://www.ruby-forum.com/t/terminate-a-connection-after-sending-headers/231829)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 7, 2014, 10:50pm UTC](https://www.ruby-forum.com/t/terminate-a-connection-after-sending-headers/231829 "2014-09-07T22:50:01Z")

</div>

Hi all, In the module I’m developing, I have the possibility of encountering an error after the response headers were already sent. As the headers were already sent (with status 200) the only way for me to signal the …

---

## [NGINX SSL passthrough without certificate](https://www.ruby-forum.com/t/nginx-ssl-passthrough-without-certificate/231906)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [September 5, 2014, 4:15pm UTC](https://www.ruby-forum.com/t/nginx-ssl-passthrough-without-certificate/231906 "2014-09-05T16:15:41Z")

</div>

We currently have a backend server that listens for SSL requests, and (using SNI) chooses to pass them on to the correct place, or alternatively will serve the requested HTTPS. Our current configuration is slow (not …

---

## [Nginx mail proxy - dovecot ssl backend](https://www.ruby-forum.com/t/nginx-mail-proxy-dovecot-ssl-backend/214251)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 10\
**Last updated:** [September 5, 2014, 5:54am UTC](https://www.ruby-forum.com/t/nginx-mail-proxy-dovecot-ssl-backend/214251 "2014-09-05T05:54:24Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello! Is SSL backends (dovecot) supported by nginx mail proxy ? Thank you! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with …

---

## [Mapping requests and responses](https://www.ruby-forum.com/t/mapping-requests-and-responses/231898)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 4, 2014, 8:12pm UTC](https://www.ruby-forum.com/t/mapping-requests-and-responses/231898 "2014-09-04T20:12:36Z")

</div>

I am currently using nginx as a reverse proxy. I want to be able to map a requests to its corresponding response. For example, I want to log some parts of a user request (say form field values in a POST request) al…

---

## [Nginx + memcached + gzip](https://www.ruby-forum.com/t/nginx-memcached-gzip/231892)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 4, 2014, 4:43pm UTC](https://www.ruby-forum.com/t/nginx-memcached-gzip/231892 "2014-09-04T16:43:09Z")

</div>

Hello. I have service with memcached for storing large xml data. Data is compressed in memcached. I want to send responce gzipped if client supports that and decompressed if not. But with my config responce goes to …

---

## [Fetching HTTP value into config at start-up](https://www.ruby-forum.com/t/fetching-http-value-into-config-at-start-up/231881)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 4, 2014, 4:32pm UTC](https://www.ruby-forum.com/t/fetching-http-value-into-config-at-start-up/231881 "2014-09-04T16:32:47Z")

</div>

Hi all, I want to read some remote values via HTTP into nginx config variables, just once at nginx startup / reload time, and pass them as fastcgi\_params into PHP scripts. I control the remote system, so I’ll know i…

---

## [Nginx as reverse proxy with apache](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-with-apache/231885)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 4, 2014, 1:07pm UTC](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-with-apache/231885 "2014-09-04T13:07:54Z")

</div>

Hello!, I would like to ask you about a concern that I have and I could not find anything in the forums or google. The situation is: I already have configured an apache server with 2-step authentication and reverse…

---

## [Bitwasp htaccess](https://www.ruby-forum.com/t/bitwasp-htaccess/231883)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 4, 2014, 11:09am UTC](https://www.ruby-forum.com/t/bitwasp-htaccess/231883 "2014-09-04T11:09:42Z")

</div>

I’ve got a nice easy htaccess I need to convert to nginx. RewriteEngine On RewriteBase /bitwasp RewriteCond %{REQUEST\_URI} ^system.\* RewriteRule ^(.\*)$ /index.php/$1 \[L\] Checks to see if the user is attempting to ac…

---

## [Questions regarding spdy module, browser behaviour and "access forbidden by rule"](https://www.ruby-forum.com/t/questions-regarding-spdy-module-browser-behaviour-and-access-forbidden-by-rule/231877)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 4, 2014, 12:39am UTC](https://www.ruby-forum.com/t/questions-regarding-spdy-module-browser-behaviour-and-access-forbidden-by-rule/231877 "2014-09-04T00:39:55Z")

</div>

\[Not sure if this is the right list, because I’m uncertain if the following is intended behaviour or a problem in nginx or the involved browsers. So would be happy if you guys could me give some advice and a pointer i…

---

## [NGINX + PHP-FPM error logs miss IP](https://www.ruby-forum.com/t/nginx-php-fpm-error-logs-miss-ip/231879)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 3, 2014, 10:24pm UTC](https://www.ruby-forum.com/t/nginx-php-fpm-error-logs-miss-ip/231879 "2014-09-03T22:24:11Z")

</div>

Could it be that Apache 2.2 + mod\_fastcgi + PHP FPM logs IP addresses to errror.log but NGINX + PHP-FPM does not? I mean not to a log file specified in error\_log configuration option. \[03-Sep-2014 19:37:24 UTC\] {mess…

---

## [URL encoding for nginx rewrites](https://www.ruby-forum.com/t/url-encoding-for-nginx-rewrites/231875)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 3, 2014, 8:09pm UTC](https://www.ruby-forum.com/t/url-encoding-for-nginx-rewrites/231875 "2014-09-03T20:09:31Z")

</div>

Hello everyone. I am using a rewrite similar to below location /home { rewrite ^/(.\*) https://mysite.com/homepage/?next=/redirectionurl redirect; } The issue is that nginx is not encoding the URL before it redir…

---

## [Deny certain words](https://www.ruby-forum.com/t/deny-certain-words/231837)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [September 3, 2014, 5:14pm UTC](https://www.ruby-forum.com/t/deny-certain-words/231837 "2014-09-03T17:14:02Z")

</div>

Hi, Somehow my server gets hit by torrent requests which look like this: GET /?info\_hash=… after the = come long strings of seemingly random hashes torrent clients are looking for. I’d like to deny all such requests…

---

## [Reverse proxy didn't redirect http protocol](https://www.ruby-forum.com/t/reverse-proxy-didnt-redirect-http-protocol/231863)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 3, 2014, 1:08pm UTC](https://www.ruby-forum.com/t/reverse-proxy-didnt-redirect-http-protocol/231863 "2014-09-03T13:08:12Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I have a page contains ‘http://’ assets, and I do redirect on my nginx like this : -------- BEGIN CONFIGURATION -------- server { listen 80; server\_name subdo…

---

## [Transforming nginx for Windows](https://www.ruby-forum.com/t/transforming-nginx-for-windows/236412)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 31\
**Last updated:** [September 3, 2014, 12:48am UTC](https://www.ruby-forum.com/t/transforming-nginx-for-windows/236412 "2014-09-03T00:48:27Z")

</div>

Working on getting real high performance with nginx under windows I am rewriting code and already got around the fd\_setsize issue following which is documented as http://support.microsoft.com/kb/111855 I came across …

---

## [Understanding "proxy\_ignore\_client\_abort" functionality](https://www.ruby-forum.com/t/understanding-proxy-ignore-client-abort-functionality/231847)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 2, 2014, 10:05pm UTC](https://www.ruby-forum.com/t/understanding-proxy-ignore-client-abort-functionality/231847 "2014-09-02T22:05:14Z")

</div>

Hi, I’m trying to understand how “proxy\_ignore\_client\_abort” should affect connection to upstream server once client closes the connection, since it seems to behave different than i’m expecting. I’m using the proxy …

---

## [Get Selected backend info](https://www.ruby-forum.com/t/get-selected-backend-info/231849)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 2, 2014, 9:56pm UTC](https://www.ruby-forum.com/t/get-selected-backend-info/231849 "2014-09-02T21:56:03Z")

</div>

Hello, I couldn’t find much information other than this thread http://mailman.nginx.org/pipermail/nginx/2008-February/003550.html which is a dead-end. I would like to add the selected backend/upstream to an “X-Backe…

---

## [Proxy of "real\_ip"](https://www.ruby-forum.com/t/proxy-of-real-ip/231846)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 2, 2014, 9:19pm UTC](https://www.ruby-forum.com/t/proxy-of-real-ip/231846 "2014-09-02T21:19:32Z")

</div>

Hello, Is there a variable which stores the IP address of the proxy if I use the real-ip module. E.g. to log the client-ip as well as the proxy-ip (the IP address of the physical connection). Thanks a lot! Posted …

---

## [Nginw + FastCGIwrap = 502 bad gateway](https://www.ruby-forum.com/t/nginw-fastcgiwrap-502-bad-gateway/231843)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 2, 2014, 4:30pm UTC](https://www.ruby-forum.com/t/nginw-fastcgiwrap-502-bad-gateway/231843 "2014-09-02T16:30:32Z")

</div>

Greetings, I’m trying to get a C compiled program to work using fcgi with nginx, but I’m showed a 502 Bad Gateway. The actual setup is : all programs in ./cgi-bin/\*.cgi should use fcgiwarp. The actual result is every…

---

## [NGINX redirection issue](https://www.ruby-forum.com/t/nginx-redirection-issue/234815)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 11\
**Last updated:** [September 2, 2014, 3:59pm UTC](https://www.ruby-forum.com/t/nginx-redirection-issue/234815 "2014-09-02T15:59:25Z")

</div>

Hello All, I am facing some issue regarding nginx redirection. I want to remove .html extension from all the html pages and all the index.html pages. For example AAA Sorry Page should show the content of AAA So…

---

## [Hide a request cookie in proxy\_pass](https://www.ruby-forum.com/t/hide-a-request-cookie-in-proxy-pass/231772)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 2, 2014, 12:17pm UTC](https://www.ruby-forum.com/t/hide-a-request-cookie-in-proxy-pass/231772 "2014-09-02T12:17:07Z")

</div>

Hi, is it possible to hide one request cookie (but not all, so proxy\_set\_header Cookie “” is not the way) when proxying to an upstream server? The use case is: website foo.com uses a hosted service on a subdomain,…

---

## [Redirect only every 2nd or 3rd request](https://www.ruby-forum.com/t/redirect-only-every-2nd-or-3rd-request/231836)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 2, 2014, 10:59am UTC](https://www.ruby-forum.com/t/redirect-only-every-2nd-or-3rd-request/231836 "2014-09-02T10:59:39Z")

</div>

I’m trying to set up a rule which is going to redirect only every second or third request only if the URL contains a specific string. I did already the redirect based on a string in the URL but I can’t find how to r…

---

## [Compression with Caching](https://www.ruby-forum.com/t/compression-with-caching/231737)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [September 2, 2014, 9:12am UTC](https://www.ruby-forum.com/t/compression-with-caching/231737 "2014-09-02T09:12:57Z")

</div>

How can use these two together. Suppose I got an uncompressed response from the backend/webserver. I want Nginx to compress the response before storing in the cache. Looks like Nginx is first storing the response in …

---

## [SSL ciphers preference](https://www.ruby-forum.com/t/ssl-ciphers-preference/231821)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 1, 2014, 8:36pm UTC](https://www.ruby-forum.com/t/ssl-ciphers-preference/231821 "2014-09-01T20:36:39Z")

</div>

Hello, I filled a (now closed, because erroneous) enhancement ticket: http://trac.nginx.org/nginx/ticket/619 As it appears, the change I noticed in the SSl test did not result from my malformed ciphers list. Right …

---

## [Significant increase in number of connections after renewing SSL certificate](https://www.ruby-forum.com/t/significant-increase-in-number-of-connections-after-renewing-ssl-certificate/231812)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 1, 2014, 9:20am UTC](https://www.ruby-forum.com/t/significant-increase-in-number-of-connections-after-renewing-ssl-certificate/231812 "2014-09-01T09:20:29Z")

</div>

Hello. We recently renewed our SSL certificate. After reloading nginx the number of connections increased significantly even if the number of requests remained the same. Trying out the debug log there are a lot of e…

---

## [ECC Certificates and SNI](https://www.ruby-forum.com/t/ecc-certificates-and-sni/231531)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 31, 2014, 5:24pm UTC](https://www.ruby-forum.com/t/ecc-certificates-and-sni/231531 "2014-08-31T17:24:34Z")

</div>

Hi. today I have setuped a second SSL VHost with ECC. Why is the default server able to offer TLS 1.2 but the second one not? /usr/sbin/nginx -c /etc/nginx/nginx.conf -V nginx version: nginx/1.7.4 built by gcc 4.6.3…

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

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