# NGINX

**URL:** https://www.ruby-forum.com/c/server/nginx/21.md?page=22

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

---

## [Ssl\_password\_file on nginx 1.8.0](https://www.ruby-forum.com/t/ssl-password-file-on-nginx-1-8-0/242933)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 11, 2015, 12:22am UTC](https://www.ruby-forum.com/t/ssl-password-file-on-nginx-1-8-0/242933 "2015-08-11T00:22:32Z")

</div>

Hello, I cannot manage to load a certificate protected wit ha password on nginx 1.8.0: \[emerg\] 2331#0: SSL\_CTX\_use\_PrivateKey\_file(“/etc/ssl/private/domain.key”) failed (SSL: error:0906406D:PEM routines:PEM\_def\_call…

---

## [NGinx as a reverse proxy and http\_sub\_folder module (and httpsubs)](https://www.ruby-forum.com/t/nginx-as-a-reverse-proxy-and-http-sub-folder-module-and-httpsubs/242948)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 9, 2015, 10:31pm UTC](https://www.ruby-forum.com/t/nginx-as-a-reverse-proxy-and-http-sub-folder-module-and-httpsubs/242948 "2015-08-09T22:31:04Z")

</div>

I am trying to reverse proxy my website and modify the content. To do so, I compiled nginx with sub\_filter --with-http-sub\_module as well as httpsubs . It now accepts the sub\_filter directive, but it does not work s…

---

## [Zeroconf for proxy to upstream servers](https://www.ruby-forum.com/t/zeroconf-for-proxy-to-upstream-servers/242923)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 9, 2015, 9:39pm UTC](https://www.ruby-forum.com/t/zeroconf-for-proxy-to-upstream-servers/242923 "2015-08-09T21:39:05Z")

</div>

Does Nginx support any sort of zeroconf in its proxying to upstream servers? I would like to make the backend publish themselves via something like zeroconf. Nginx should route traffic to them when they publish them…

---

## [Mp4 streaming/seeking works from firefox (fedora) and not from firefox (windows) (nginx 1.9.3)](https://www.ruby-forum.com/t/mp4-streaming-seeking-works-from-firefox-fedora-and-not-from-firefox-windows-nginx-1-9-3/242801)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 17\
**Last updated:** [August 9, 2015, 1:32am UTC](https://www.ruby-forum.com/t/mp4-streaming-seeking-works-from-firefox-fedora-and-not-from-firefox-windows-nginx-1-9-3/242801 "2015-08-09T01:32:06Z")

</div>

greetings! i am seeing an unexplained malfunction here with nginx when serving videos. flv and mp4 files have different symptoms. mp4 streams correctly when i view the file in firefox 39 in fedora 22, but in windows…

---

## [Is possible to using same upstream in "mail", "http" and "stream" block?](https://www.ruby-forum.com/t/is-possible-to-using-same-upstream-in-mail-http-and-stream-block/242932)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 8, 2015, 3:25pm UTC](https://www.ruby-forum.com/t/is-possible-to-using-same-upstream-in-mail-http-and-stream-block/242932 "2015-08-08T15:25:43Z")

</div>

is possible to using same upstream\* module in “mail”, “http” and “stream” block? Posted at Nginx Forum:

---

## [Nginx configuration for SemanticScuttle?](https://www.ruby-forum.com/t/nginx-configuration-for-semanticscuttle/242918)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 8, 2015, 3:17pm UTC](https://www.ruby-forum.com/t/nginx-configuration-for-semanticscuttle/242918 "2015-08-08T15:17:32Z")

</div>

Greetings, I have several Web applications running on a Centos 6.6 server. I am migrating them from Apache to Nginx. Apache is still running, so I’m running nginx on port 81 for now. The general setup is OK. I ALREAA…

---

## [Can't cache javascript file from proxy](https://www.ruby-forum.com/t/cant-cache-javascript-file-from-proxy/242919)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 8, 2015, 1:36pm UTC](https://www.ruby-forum.com/t/cant-cache-javascript-file-from-proxy/242919 "2015-08-08T13:36:28Z")

</div>

Hi, I have a problem with cache javascript file from a proxy glassfish4.0 Server. My nginx.conf is this: user nginx nginx; error\_log /var/log/nginx/error.log warn; pid …

---

## [Try\_files and proxypass](https://www.ruby-forum.com/t/try-files-and-proxypass/242917)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 7, 2015, 9:49am UTC](https://www.ruby-forum.com/t/try-files-and-proxypass/242917 "2015-08-07T09:49:13Z")

</div>

Hi, I came across such configs and I am curios to know what @app\_$dc; matches in location configs? try\_files $uri @app\_$dc; location @app\_prod { proxy\_pass http://app\_prod;} location @app\_qadc { proxy\_pass http://a…

---

## [Connection timeout on download server](https://www.ruby-forum.com/t/connection-timeout-on-download-server/242913)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 7, 2015, 3:44am UTC](https://www.ruby-forum.com/t/connection-timeout-on-download-server/242913 "2015-08-07T03:44:41Z")

</div>

Hi I have an nginx setup on multiple download servers. I’ve setup a monitor server to check my servers at interval and when the servers seem to be at their peak I get connection timeout from my servers. I’ve set limi…

---

## [Rerouting based on content-type of request](https://www.ruby-forum.com/t/rerouting-based-on-content-type-of-request/242910)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 6, 2015, 9:47pm UTC](https://www.ruby-forum.com/t/rerouting-based-on-content-type-of-request/242910 "2015-08-06T21:47:45Z")

</div>

I’m having a reverse-proxied Nginx server. I wanted to know if it is possible to redirect the request in Nginx based on the content-type of the request? Right now, I’m checking the URL for a keyword, and based on tha…

---

## [Configure core Python scripts into Nginx](https://www.ruby-forum.com/t/configure-core-python-scripts-into-nginx/242890)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [August 6, 2015, 7:38pm UTC](https://www.ruby-forum.com/t/configure-core-python-scripts-into-nginx/242890 "2015-08-06T19:38:38Z")

</div>

Hi, I want to execute python scripts into Nginx server. I don’t want to any frameworks for that. Core python script, I need to use. Any help and step to follow . To do that.

---

## [Problem with NGINX on MIPS processor](https://www.ruby-forum.com/t/problem-with-nginx-on-mips-processor/242857)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 6, 2015, 10:11am UTC](https://www.ruby-forum.com/t/problem-with-nginx-on-mips-processor/242857 "2015-08-06T10:11:19Z")

</div>

Hi, I am trying to run nginx on a MIPS processor. In my NGINX server configuration, i have used only worker process. When i try connecting with openssl s\_client application, i am able to connect only once. After thi…

---

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

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 5, 2015, 4:19pm UTC](https://www.ruby-forum.com/t/nginx-proxy-server/242852 "2015-08-05T16:19:21Z")

</div>

Hi everyone. I need to create a mirror site. And I use the server Nginx. I was able to configure the server. And everything works fine. But I have a problem when trying to login on my site. If a password is good I r…

---

## [Nginx domain work without be into sites-enabled](https://www.ruby-forum.com/t/nginx-domain-work-without-be-into-sites-enabled/242851)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [August 5, 2015, 9:20am UTC](https://www.ruby-forum.com/t/nginx-domain-work-without-be-into-sites-enabled/242851 "2015-08-05T09:20:30Z")

</div>

Hello, I have many subdomains which is created into /etc/nginx/sites-enabled. For example www.example.com music.example.com video.example.com are already enabled. and working fine. But I tried to remove music.exam…

---

## [HTTP 505 error message supported by NGINX?](https://www.ruby-forum.com/t/http-505-error-message-supported-by-nginx/242881)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [August 5, 2015, 9:18am UTC](https://www.ruby-forum.com/t/http-505-error-message-supported-by-nginx/242881 "2015-08-05T09:18:09Z")

</div>

Hi, does NGINX support the generation of the error message for HTTP error code 505? For example, I see “401 Authorization Required” when running nginx 1.6.2 but I don’t see anything for 505. NGINX would return “505 O…

---

## [Memory leaks when used as a shared library](https://www.ruby-forum.com/t/memory-leaks-when-used-as-a-shared-library/242839)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [August 4, 2015, 9:35pm UTC](https://www.ruby-forum.com/t/memory-leaks-when-used-as-a-shared-library/242839 "2015-08-04T21:35:58Z")

</div>

Hi, I want to build nginx into a shared library for this feature of nginx-clojure: APIs for Embedding Nginx-Clojure into a Clojure/Java/Groovy App · Issue #86 · nginx-clojure/nginx-clojure · GitHub . But i found that…

---

## [Nginx may recieve data from Upstream Server even a request has not sent](https://www.ruby-forum.com/t/nginx-may-recieve-data-from-upstream-server-even-a-request-has-not-sent/242869)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 4, 2015, 8:48am UTC](https://www.ruby-forum.com/t/nginx-may-recieve-data-from-upstream-server-even-a-request-has-not-sent/242869 "2015-08-04T08:48:19Z")

</div>

Hi, I am using Nginx as reverse Proxy, during testing I have noticed a situation Nginx receives response from upstream server even no request has been sent yet from Nginx side. The scenario is that the “Upstream Serv…

---

## [Improve server performance](https://www.ruby-forum.com/t/improve-server-performance/242845)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 2, 2015, 6:45am UTC](https://www.ruby-forum.com/t/improve-server-performance/242845 "2015-08-02T06:45:00Z")

</div>

Hi, I am hosting a couple of wordpress sites on a very light VPS with 1vCPU, 512Mb Ram and 10Gb SSD. The performance is not very impressive. Are caching, using gzip, etc., good means to improve the performance of my V…

---

## [Remote server static content is not getting loaded](https://www.ruby-forum.com/t/remote-server-static-content-is-not-getting-loaded/242653)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [August 2, 2015, 1:34am UTC](https://www.ruby-forum.com/t/remote-server-static-content-is-not-getting-loaded/242653 "2015-08-02T01:34:07Z")

</div>

Hi, ISSUE: Static content is not loaded from remote server where application is deployed, rather it is reading from the server where NGinx is installed. Nginx-1.8.0 is installed (on the server nginx.corp.stel.no) Pr…

---

## [Ssh load-balancing](https://www.ruby-forum.com/t/ssh-load-balancing/242836)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 1, 2015, 12:30am UTC](https://www.ruby-forum.com/t/ssh-load-balancing/242836 "2015-08-01T00:30:24Z")

</div>

Hi, Im new to nginx and am trying to load-balance ssh sessions to an autoscaling group of ECS instances in AWS. Having trouble getting my config files right. I dont get any errors on startup, but my access.logs shows…

---

## [Perl + fcgi + nginx - what am I doing wrong?](https://www.ruby-forum.com/t/perl-fcgi-nginx-what-am-i-doing-wrong/242829)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 7\
**Last updated:** [August 1, 2015, 12:23am UTC](https://www.ruby-forum.com/t/perl-fcgi-nginx-what-am-i-doing-wrong/242829 "2015-08-01T00:23:59Z")

</div>

Hi, I’ve already got a live + dev site running under nginx and perl (with fcgi), but I can’t for the life of me work out why its not working this time around. I’ve setup a new dev server. I wont bore you with all of …

---

## [Free O’Reilly animal book about nginx](https://www.ruby-forum.com/t/free-o-reilly-animal-book-about-nginx/242816)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 8\
**Last updated:** [July 31, 2015, 10:53am UTC](https://www.ruby-forum.com/t/free-o-reilly-animal-book-about-nginx/242816 "2015-07-31T10:53:00Z")

</div>

Nearly 20 years ago I read my first OReilly book, Learning Perl. Back then I never would have dreamed OReilly would someday publish a book written about the software I created, yet here we are today. I am honored to a…

---

## [Does it normal?](https://www.ruby-forum.com/t/does-it-normal/242809)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [July 30, 2015, 10:39pm UTC](https://www.ruby-forum.com/t/does-it-normal/242809 "2015-07-30T22:39:47Z")

</div>

my server info: Processor Intel Xeon E3 1225v2 RAM 32GB DDR3 Disks 3 x 120 GB SSD i run directadmin+nginx the nginx use 14gb of 32gb and this output from server: root 12872 0.0 38.8 12868180 12748776 ? Ss…

---

## [Tell nginx to stay inside same location?](https://www.ruby-forum.com/t/tell-nginx-to-stay-inside-same-location/242812)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [July 30, 2015, 9:19pm UTC](https://www.ruby-forum.com/t/tell-nginx-to-stay-inside-same-location/242812 "2015-07-30T21:19:09Z")

</div>

Hello, is that possible to tell nginx to stay inside the same location after rewrite rule is done? i.e. I have: location /njs/ { proxy\_pass http://localhost:5501; … } now, if i need to cut off /njs/ part, i adde…

---

## [Websocket handshake failing](https://www.ruby-forum.com/t/websocket-handshake-failing/242813)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [July 30, 2015, 7:45pm UTC](https://www.ruby-forum.com/t/websocket-handshake-failing/242813 "2015-07-30T19:45:38Z")

</div>

I’m trying to enable websocket communication between client and server and have nginx as proxy. Ive applied the following congiguration changes to websocket sites-enabled conf to allow for websocket proxy: proxy\_set\_…

---

## [Blog post: new debugging features in nginx](https://www.ruby-forum.com/t/blog-post-new-debugging-features-in-nginx/242810)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 30, 2015, 12:34pm UTC](https://www.ruby-forum.com/t/blog-post-new-debugging-features-in-nginx/242810 "2015-07-30T12:34:32Z")

</div>

Hello, Andrew H. wrote a blog post about new debugging features you can find in nginx 1.9.2 and later: – Maxim K.

---

## [Memory zone usage](https://www.ruby-forum.com/t/memory-zone-usage/242808)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 30, 2015, 10:29am UTC](https://www.ruby-forum.com/t/memory-zone-usage/242808 "2015-07-30T10:29:31Z")

</div>

Howdy! Was wondering if there’s a way to know the memory usage that a zone (like limit\_req) is having? Reason I ask is because I think I’m the value I’ve today might me a bit high but before I change it I would like …

---

## [Problem with images after refresh website](https://www.ruby-forum.com/t/problem-with-images-after-refresh-website/242803)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [July 30, 2015, 9:57am UTC](https://www.ruby-forum.com/t/problem-with-images-after-refresh-website/242803 "2015-07-30T09:57:59Z")

</div>

Hi i run directadmin+nginx1.8+php5.4 php-fpm when i do refresh to website the images not refresh good, sometime after refresh it put images in wrong place or double the images you can look on this website rhost(dot)b…

---

## [Tweak fastcgi\_buffer](https://www.ruby-forum.com/t/tweak-fastcgi-buffer/242751)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 29, 2015, 11:59pm UTC](https://www.ruby-forum.com/t/tweak-fastcgi-buffer/242751 "2015-07-29T23:59:14Z")

</div>

Hello, I need to tweak fastcgi\_buffer to 1m on a website that has heavy requests to avoid buffer. If I use a distro with 4096 pagesize, is it better to do 256x 4k or 4x 256k? \[root@web ~\]# getconf PAGESIZE 4096 \[…

---

## [Default access\_log buffering](https://www.ruby-forum.com/t/default-access-log-buffering/242806)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [July 29, 2015, 9:58pm UTC](https://www.ruby-forum.com/t/default-access-log-buffering/242806 "2015-07-29T21:58:53Z")

</div>

I was reading an article on performance on the Nginx site: Tuning NGINX for Performance - NGINX One thing mentioned was enabling buffering on the access\_log. However, the directive reference (Module ngx\_http\_log\_mod…

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

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