# Server

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

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

---

## [SSL backend support for imap proxy](https://www.ruby-forum.com/t/ssl-backend-support-for-imap-proxy/234648)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 19, 2015, 3:36pm UTC](https://www.ruby-forum.com/t/ssl-backend-support-for-imap-proxy/234648 "2015-03-19T15:36:56Z")

</div>

From what I can see in the forum archives, the mail/imap proxy does not support encrypted connections to a backend imap server. This still appears to be the case with the latest mainline version. Are there any plans…

---

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

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 19, 2015, 1:51pm UTC](https://www.ruby-forum.com/t/ssl-ciphers/234646 "2015-03-19T13:51:49Z")

</div>

Hello, I have nginx linked openssl 1.0.2 and nginx and configured with ssl\_protocols TLSv1 TLSv1.1 TLSv1.2; ssl\_ciphers “EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EE…

---

## [Allow directive with variables](https://www.ruby-forum.com/t/allow-directive-with-variables/225346)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [March 19, 2015, 5:32am UTC](https://www.ruby-forum.com/t/allow-directive-with-variables/225346 "2015-03-19T05:32:08Z")

</div>

I am trying to use a variable with the allow directive, i.e. set $home\_ip 1.2.3.4; location ^~ /apc/ { # Allow home allow $home\_ip; deny all; include /etc/nginx/php.conf; } But I am getting an error. Does th…

---

## [Testing nginx.conf fails](https://www.ruby-forum.com/t/testing-nginx-conf-fails/234641)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 19, 2015, 4:38am UTC](https://www.ruby-forum.com/t/testing-nginx-conf-fails/234641 "2015-03-19T04:38:21Z")

</div>

This is a new install of 1.6.2 on linux dedi (centOS). I have the following in my nginx.conf file: fastcgi\_cache\_path /dev/nginx-cache levels=1:2 keys\_zone=WORDPRESS:10m max\_size=1024m inactive=60m; When testing th…

---

## [Nginx usptream 302 redirect](https://www.ruby-forum.com/t/nginx-usptream-302-redirect/246315)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [March 19, 2015, 2:44am UTC](https://www.ruby-forum.com/t/nginx-usptream-302-redirect/246315 "2015-03-19T02:44:13Z")

</div>

Hello, Is there an easy way to configure nginx upstream to follow 302 instead of send them to the browser? I tried with this config: http { proxy\_intercept\_errors on; proxy\_cache\_path /home/toli/nginx/run/cache ke…

---

## [Nginx and ssl ciphers](https://www.ruby-forum.com/t/nginx-and-ssl-ciphers/234636)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 18, 2015, 11:46pm UTC](https://www.ruby-forum.com/t/nginx-and-ssl-ciphers/234636 "2015-03-18T23:46:11Z")

</div>

Hello, I need to configure my nginx web server with only specific ssl ciphers. I need to use only this ciphers: TLS\_RSA\_WITH\_AES\_256\_CBC\_SHA (0x0035) TLS\_RSA\_WITH\_AES\_128\_CBC\_SHA (0x002f) TLS\_RSA\_WITH\_3DES\_EDE\_CBC\_S…

---

## [Logging nginx to syslog on port](https://www.ruby-forum.com/t/logging-nginx-to-syslog-on-port/234629)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 18, 2015, 6:13pm UTC](https://www.ruby-forum.com/t/logging-nginx-to-syslog-on-port/234629 "2015-03-18T18:13:52Z")

</div>

Hi on my local system i have configured rsyslog and nginx. i want all error logs should to go to syslog over the port no : 10514 my configuration for rsyslog.conf is.: it is running fine showing no error:, but when i …

---

## [Please suggest performance tweak and the right siege options for load test](https://www.ruby-forum.com/t/please-suggest-performance-tweak-and-the-right-siege-options-for-load-test/234623)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 18, 2015, 9:34am UTC](https://www.ruby-forum.com/t/please-suggest-performance-tweak-and-the-right-siege-options-for-load-test/234623 "2015-03-18T09:34:16Z")

</div>

2 nginx 1.4.6 web servers - ocfs cluster, web root inside mounted LUN from SAN storage 2 MariaDB 5.5 servers - galera cluster, different network segment than nginx web servers nginx servers each two sockets quad core…

---

## [Cache TTL set by the client](https://www.ruby-forum.com/t/cache-ttl-set-by-the-client/234620)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 18, 2015, 12:09am UTC](https://www.ruby-forum.com/t/cache-ttl-set-by-the-client/234620 "2015-03-18T00:09:50Z")

</div>

Hi, Is it possible somehow to let the cache ttl (in proxy\_pass caching) be defined by the client? Unfortunately it looks like proxy\_cache\_valid doesn’t accept variables as input. Thank you in advance.

---

## [Nginx configuration recovery](https://www.ruby-forum.com/t/nginx-configuration-recovery/234604)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 17, 2015, 8:49pm UTC](https://www.ruby-forum.com/t/nginx-configuration-recovery/234604 "2015-03-17T20:49:08Z")

</div>

Hi, Sorry for spamming but I’m in deep trouble. I’ve accidentally overwritten /etc/nginx/site-availabe/default with some xyz file. I’m using Ubuntu 14.04. The server is still running. Is there any way I could recove…

---

## [Re: Adding expires on all images break nginx rewrite](https://www.ruby-forum.com/t/re-adding-expires-on-all-images-break-nginx-rewrite/234616)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 17, 2015, 8:38pm UTC](https://www.ruby-forum.com/t/re-adding-expires-on-all-images-break-nginx-rewrite/234616 "2015-03-17T20:38:02Z")

</div>

Thanks for the reply Nurahmadie. I changed the location to ~ ^/static/ and the rewrite works again. I’ve added a “expires 1w;” in this location to add an expire on all images in /static but it doesn’t seem to apply, i…

---

## [Adding expires on all images break nginx rewrite](https://www.ruby-forum.com/t/adding-expires-on-all-images-break-nginx-rewrite/234614)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 17, 2015, 7:03pm UTC](https://www.ruby-forum.com/t/adding-expires-on-all-images-break-nginx-rewrite/234614 "2015-03-17T19:03:43Z")

</div>

Hello, I host a website based on Laravel with Nginx 1.6.2 + PHP-FPM 5.6. Most images on the website are in /static folder and are served to visitors with a PHP file (see /static location). I want to add a 30 days ex…

---

## [NGINX and websocket endpoint](https://www.ruby-forum.com/t/nginx-and-websocket-endpoint/234613)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 17, 2015, 6:43pm UTC](https://www.ruby-forum.com/t/nginx-and-websocket-endpoint/234613 "2015-03-17T18:43:22Z")

</div>

I am trying to configure nginx as reverse proxy that does authentication and websockets. It proxy-passes request to apache (/auth/wsgi) for authentication - once that succeeds, it then proxy passes to the websocked ba…

---

## [Reverse Proxy for SNMP](https://www.ruby-forum.com/t/reverse-proxy-for-snmp/234610)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 17, 2015, 5:47pm UTC](https://www.ruby-forum.com/t/reverse-proxy-for-snmp/234610 "2015-03-17T17:47:23Z")

</div>

hi, can it be used as reverse proxy for any protocol or is it limited to http(s) and smtp? I’m trying to setup a reverse proxy for SNMP for the purpose opening remote SNMP access and using the proxy for whitelisting …

---

## [RSA+DSA+ECC bundles](https://www.ruby-forum.com/t/rsa-dsa-ecc-bundles/229755)

<div class="topic-metadata">

**Author:** [@Primoz\_Bratanic](https://www.ruby-forum.com/u/Primoz_Bratanic)\
**Replies:** 11\
**Last updated:** [March 17, 2015, 4:08pm UTC](https://www.ruby-forum.com/t/rsa-dsa-ecc-bundles/229755 "2015-03-17T16:08:43Z")

</div>

Hi, Apache supports specifying multiple certificates (different types) for same host in line with OpenSSL support (RSA, DSA, ECC). This allows using ECC key exchange methods with clients that support it and it’s bac…

---

## [2015 NGINX User Survey: Make Your Voice Heard](https://www.ruby-forum.com/t/2015-nginx-user-survey-make-your-voice-heard/234609)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 17, 2015, 3:57pm UTC](https://www.ruby-forum.com/t/2015-nginx-user-survey-make-your-voice-heard/234609 "2015-03-17T15:57:41Z")

</div>

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

---

## [Log Format with $request\_body Not working](https://www.ruby-forum.com/t/log-format-with-request-body-not-working/234606)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 17, 2015, 3:29pm UTC](https://www.ruby-forum.com/t/log-format-with-request-body-not-working/234606 "2015-03-17T15:29:39Z")

</div>

I am trying to log the incomming HTTP Request with the below given log\_fromat. It is logging only ‘-’. could you please help what I am doing wrong. Thanks in advance. nginx.conf http { include mime.types; …

---

## [Fake video sharing Android App!](https://www.ruby-forum.com/t/fake-video-sharing-android-app/234586)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 11\
**Last updated:** [March 17, 2015, 11:13am UTC](https://www.ruby-forum.com/t/fake-video-sharing-android-app/234586 "2015-03-17T11:13:50Z")

</div>

Guys, someone cloned our videosharing website and created a FAKE android application using same name as our website and people considering it as our app, which is not. The main problem we’re facing is, the videos bein…

---

## [Heads up: Forthcoming OpenSSL releases](https://www.ruby-forum.com/t/heads-up-forthcoming-openssl-releases/234607)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 17, 2015, 10:06am UTC](https://www.ruby-forum.com/t/heads-up-forthcoming-openssl-releases/234607 "2015-03-17T10:06:51Z")

</div>

"The OpenSSL project team would like to announce the forthcoming release of OpenSSL versions 1.0.2a, 1.0.1m, 1.0.0r and 0.9.8zf. These releases will be made available on 19th March. They will fix a number of security …

---

## [Restrict sub-directory access divert if not authenticated](https://www.ruby-forum.com/t/restrict-sub-directory-access-divert-if-not-authenticated/234583)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 17, 2015, 12:59am UTC](https://www.ruby-forum.com/t/restrict-sub-directory-access-divert-if-not-authenticated/234583 "2015-03-17T00:59:57Z")

</div>

I am moving from a development server to a live server and would like to still test before REALLY going live. I need to redirect access to a sub-folder until I am satisfied with the stability this is what i have: se…

---

## [Nginx big bug](https://www.ruby-forum.com/t/nginx-big-bug/217655)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 11\
**Last updated:** [March 16, 2015, 11:01pm UTC](https://www.ruby-forum.com/t/nginx-big-bug/217655 "2015-03-16T23:01:58Z")

</div>

we made two files 1.php and 2.php 1.php { \<?php echo file\_get\_contents("http://127.0.0.1/2.php");?\> } 2.php { \<?php phpinfo();?\> } now you can see run http://127.0.0.1/1.php iis and apache work fine but ngin…

---

## [Host header in upstream requests](https://www.ruby-forum.com/t/host-header-in-upstream-requests/234578)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 16, 2015, 9:35am UTC](https://www.ruby-forum.com/t/host-header-in-upstream-requests/234578 "2015-03-16T09:35:52Z")

</div>

Hi, We are using nginx for load balancing dynamically discovered upstream endpoints. We are in need to attach upstream hostname as header Host in upstream requests. For example below is my existing conf extract. upst…

---

## [Windows nginx 1.7.11.2 Gryphon](https://www.ruby-forum.com/t/windows-nginx-1-7-11-2-gryphon/234579)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 14, 2015, 10:29pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-7-11-2-gryphon/234579 "2015-03-14T22:29:55Z")

</div>

22:02 14-3-2015 nginx 1.7.11.2 Gryphon Based on nginx 1.7.11 (14-3-2015, last changeset 6005:d84f0abd4a53) with; nginx-module-vts (Virtual host traffic status) adding monitoring for your NOC (network operations cent…

---

## [Security and tunning concerns](https://www.ruby-forum.com/t/security-and-tunning-concerns/234574)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 14, 2015, 2:15pm UTC](https://www.ruby-forum.com/t/security-and-tunning-concerns/234574 "2015-03-14T14:15:33Z")

</div>

Hi everybody, Does any know if exist any kind of baseline o checklist to improve the security and performance of nginx…? Posted at Nginx Forum:

---

## [Nginx + SabreDAV: Error 405 when accessing location via WebDAV, SabreDAV web interface works without](https://www.ruby-forum.com/t/nginx-sabredav-error-405-when-accessing-location-via-webdav-sabredav-web-interface-works-without/234557)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 14, 2015, 11:09am UTC](https://www.ruby-forum.com/t/nginx-sabredav-error-405-when-accessing-location-via-webdav-sabredav-web-interface-works-without/234557 "2015-03-14T11:09:17Z")

</div>

Dear nginx team, I’m trying to set up a WebDAV server using SabreDAV. I successfully set up the server with Apache and now I want to achieve the same result with nginx. Currently, the SabreDAV web GUI works without …

---

## [Does anybody know what does "Undefined index: HTTP\_X\_AUTH\_PORT " mean?](https://www.ruby-forum.com/t/does-anybody-know-what-does-undefined-index-http-x-auth-port-mean/234554)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 13, 2015, 3:04pm UTC](https://www.ruby-forum.com/t/does-anybody-know-what-does-undefined-index-http-x-auth-port-mean/234554 "2015-03-13T15:04:02Z")

</div>

Does anybody know what does "Undefined index: HTTP\_X\_AUTH\_PORT " mean? Posted at Nginx Forum:

---

## [Multiple proxy\_pass destinations from a single location block](https://www.ruby-forum.com/t/multiple-proxy-pass-destinations-from-a-single-location-block/234071)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [March 13, 2015, 11:17am UTC](https://www.ruby-forum.com/t/multiple-proxy-pass-destinations-from-a-single-location-block/234071 "2015-03-13T11:17:52Z")

</div>

Is it possible to specify multiple proxy\_pass destinations from a single location block? Currently we have: location ~ ^/v1/?(?.+)? { resolver 208.67.222.222 208.67.220.220 valid=300s; resolver\_timeout 10s; proxy\_in…

---

## [Echo sub request not working](https://www.ruby-forum.com/t/echo-sub-request-not-working/234538)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 13, 2015, 9:57am UTC](https://www.ruby-forum.com/t/echo-sub-request-not-working/234538 "2015-03-13T09:57:53Z")

</div>

Hi, I am new to Nginx, so know very little about it. My requirement is I need to make a service call but along with proxy passing that request, I need to make call to another service/servlet. For this I decided to u…

---

## [Hide static file from sniffer](https://www.ruby-forum.com/t/hide-static-file-from-sniffer/234551)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 13, 2015, 9:37am UTC](https://www.ruby-forum.com/t/hide-static-file-from-sniffer/234551 "2015-03-13T09:37:26Z")

</div>

Hi , how it possible with nginx to hide static file from simple sniffer (like chrome) ? This directive add\_header X-Content-Type-Options nosniff; does’t help me . Help please with solution . Posted at Nginx Forum: …

---

## [Internal Server Error messages nginx proxy POP/IMAP/SMTP](https://www.ruby-forum.com/t/internal-server-error-messages-nginx-proxy-pop-imap-smtp/234533)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 9\
**Last updated:** [March 13, 2015, 3:07am UTC](https://www.ruby-forum.com/t/internal-server-error-messages-nginx-proxy-pop-imap-smtp/234533 "2015-03-13T03:07:55Z")

</div>

Hi, my name is Ricardo, I’m here to ask for help about an implementation of pop3/imap and smtp proxy functionality with nginx, i want to implement a “cluster” with those functionalities. Consideration All nodes/ma…

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

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