# Server

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

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

---

## [Nginx + Uwsgi Error: unknown directive "uwsgi\_pass"](https://www.ruby-forum.com/t/nginx-uwsgi-error-unknown-directive-uwsgi-pass/235482)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 25, 2013, 4:03pm UTC](https://www.ruby-forum.com/t/nginx-uwsgi-error-unknown-directive-uwsgi-pass/235482 "2013-06-25T16:03:09Z")

</div>

Hi all, I’m trying to configure nginx 1.1.19 on an ubuntu server with uwsgi. It works fine on my ubuntu dev machine with the same exact version of nginx, but for some reason I get the following error when I try to s…

---

## [Duplicate Vary: Accept-Encoding header](https://www.ruby-forum.com/t/duplicate-vary-accept-encoding-header/235488)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [June 25, 2013, 8:52am UTC](https://www.ruby-forum.com/t/duplicate-vary-accept-encoding-header/235488 "2013-06-25T08:52:34Z")

</div>

I use nginx 1.4.1 with gunzip = on and gzip\_vary = on. This leads to a duplicate Vary Header. gzip\_vary should do nothing if the header is already present: user@aladin:~$ curl -I -A test http://192.168.56.249/ HTTP/1…

---

## [Auth\_basic 500 Internal Server Error](https://www.ruby-forum.com/t/auth-basic-500-internal-server-error/235478)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [June 24, 2013, 11:35pm UTC](https://www.ruby-forum.com/t/auth-basic-500-internal-server-error/235478 "2013-06-24T23:35:36Z")

</div>

Hi, guys! I am attempting to secure one subdirectory on the server with ngx\_http\_auth\_basic\_module. Unfortunately, without success. In log file error: 2013/06/24 22:03:05 \[crit\] 34189#0: \*1 open() “/usr/local/etc/ng…

---

## [Redirection issues](https://www.ruby-forum.com/t/redirection-issues/245631)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [June 24, 2013, 3:43pm UTC](https://www.ruby-forum.com/t/redirection-issues/245631 "2013-06-24T15:43:32Z")

</div>

Hello everyone, I’m currently using Nginx 1.4.1 on CentOS 6.4 64bits and trying to perform a redirect of this type: location /alpha { location ~ ^/alpha/script.+(\[\\d\]+)$ { return 301 /beta/info/$1/; } } The orig…

---

## [Can nginx handle/cache this robot handling case?](https://www.ruby-forum.com/t/can-nginx-handle-cache-this-robot-handling-case/235472)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [June 24, 2013, 9:46am UTC](https://www.ruby-forum.com/t/can-nginx-handle-cache-this-robot-handling-case/235472 "2013-06-24T09:46:04Z")

</div>

Hi everyone. First some background. I’m trying to integrate the method used by Pixabay to handle Google Image Search’s new design which makes it very easy (one button click) for visitors to see an image outside of the …

---

## [I really Need this htaccess url rewrite to Nginx rewrite](https://www.ruby-forum.com/t/i-really-need-this-htaccess-url-rewrite-to-nginx-rewrite/235468)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [June 23, 2013, 7:15pm UTC](https://www.ruby-forum.com/t/i-really-need-this-htaccess-url-rewrite-to-nginx-rewrite/235468 "2013-06-23T19:15:00Z")

</div>

Dear nginx forum members, im buying the script and it has only apache rules(htaccess) and i have difficulties convert the htaccess to nginx rewrite rules, the file is: =================================================…

---

## [Nginx with Roboo Plugins](https://www.ruby-forum.com/t/nginx-with-roboo-plugins/235463)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [June 23, 2013, 3:39pm UTC](https://www.ruby-forum.com/t/nginx-with-roboo-plugins/235463 "2013-06-23T15:39:24Z")

</div>

Hi, I am looking for some installation guidiline of Nginx with Roboo module (GitHub - yuri-gushin/Roboo: Roboo - HTTP Robot Mitigator). I have complie nginx with “with-http\_perl\_module”. When every I run “perl Roboo.p…

---

## [No MIME types](https://www.ruby-forum.com/t/no-mime-types/235453)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [June 23, 2013, 2:25pm UTC](https://www.ruby-forum.com/t/no-mime-types/235453 "2013-06-23T14:25:13Z")

</div>

I have just set up a Debian Wheezy nginx web server with PHP-FPM and while it shows the hosted websites it doesn’t analyse the MIME types and without CSS or JS modern websites are not working. The problem is the sec…

---

## [Build failed, ngx\_http\_ssl\_module requires?](https://www.ruby-forum.com/t/build-failed-ngx-http-ssl-module-requires/235464)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 23, 2013, 11:17am UTC](https://www.ruby-forum.com/t/build-failed-ngx-http-ssl-module-requires/235464 "2013-06-23T11:17:44Z")

</div>

Hi, I’ve tried to build nginx 1.4.1 under FreeBSD 9.1-STABLE and the build has been failed. Here is configure arguments: –prefix=/usr/local/etc/nginx --with-cc-opt=-I /usr/local/include –with-ld-opt=-L /usr/local/li…

---

## [Using SNI to route proxy\_pass to upstream SSL host](https://www.ruby-forum.com/t/using-sni-to-route-proxy-pass-to-upstream-ssl-host/235462)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [June 23, 2013, 5:36am UTC](https://www.ruby-forum.com/t/using-sni-to-route-proxy-pass-to-upstream-ssl-host/235462 "2013-06-23T05:36:36Z")

</div>

Hey guys, I am trying to get the following setup running: Nginx is listening to port 443. According to the users host (SNI), it should route the SSL requests to a upstream daemon / host which will take care of SSL ce…

---

## [Start time is out mp4](https://www.ruby-forum.com/t/start-time-is-out-mp4/245583)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [June 22, 2013, 4:37pm UTC](https://www.ruby-forum.com/t/start-time-is-out-mp4/245583 "2013-06-22T16:37:39Z")

</div>

Hi Im using the mp4 module quite heavily, and very occasionally (once every minute or so on a busy website) there is an error written to error.log and status 500 returned in the access log \[error\] 42078#0: \*5510811 s…

---

## [Question about running on multiprocessor](https://www.ruby-forum.com/t/question-about-running-on-multiprocessor/245576)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [June 22, 2013, 2:33pm UTC](https://www.ruby-forum.com/t/question-about-running-on-multiprocessor/245576 "2013-06-22T14:33:47Z")

</div>

Hi, I’m a beginner on this field. I want just to do some simulation about multiprocessor programming. What I’m trying to do is to test performance of nginx by using Apache Benchmark. So, I added “server.max-worker = …

---

## [Internal, redirects and proxy\_cache](https://www.ruby-forum.com/t/internal-redirects-and-proxy-cache/245619)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 22, 2013, 11:48am UTC](https://www.ruby-forum.com/t/internal-redirects-and-proxy-cache/245619 "2013-06-22T11:48:28Z")

</div>

A very related question was asked before here: But I’m not sure that asked exactly what I want to do. I’ve got locations like this: location /packages/archive-contents { proxy\_pass http://localhost:8005; pro…

---

## [Accessing PHP-FPM's Status Page](https://www.ruby-forum.com/t/accessing-php-fpms-status-page/235423)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [June 21, 2013, 5:21am UTC](https://www.ruby-forum.com/t/accessing-php-fpms-status-page/235423 "2013-06-21T05:21:58Z")

</div>

Hello list, I use php-fpm via fastcgi to handle my PHP scripts. I have that working successfully. PHP-FPM has a feature where it displays a status page, as mentioned here: http://php.net/manual/en/install.fpm.configu…

---

## [Server Status?](https://www.ruby-forum.com/t/server-status/245603)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [June 20, 2013, 7:27pm UTC](https://www.ruby-forum.com/t/server-status/245603 "2013-06-20T19:27:02Z")

</div>

Hi Nginx Team, I used nginx for a few years and until now, i used to deploy it for static content. Right now, i 'd like to deploy it for dynamic content using php-fpm. It works fine and performances are good. But ac…

---

## [Ignore broken SSL servers in config](https://www.ruby-forum.com/t/ignore-broken-ssl-servers-in-config/235394)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 20, 2013, 6:47pm UTC](https://www.ruby-forum.com/t/ignore-broken-ssl-servers-in-config/235394 "2013-06-20T18:47:17Z")

</div>

TL;DR: Any nginx setting to say ‘if a vhost’s ssl settings are broken, skip it and don’t fail to start’ ? I’ve certainly RTFM’d this and peered at the source, but I figured I might as well throw it out there, in ca…

---

## [Optimize rewrite](https://www.ruby-forum.com/t/optimize-rewrite/227915)

<div class="topic-metadata">

**Author:** [@Anto](https://www.ruby-forum.com/u/Anto)\
**Replies:** 2\
**Last updated:** [June 20, 2013, 4:38pm UTC](https://www.ruby-forum.com/t/optimize-rewrite/227915 "2013-06-20T16:38:07Z")

</div>

hello I have a script that works with apache but I want to migrate to nginx, I have this rule, but maybe you can do differently optimized. HTACCESS RewriteEngine On RewriteCond %{REQUEST\_FILENAME} !-d RewriteCon…

---

## [Server name rewrite](https://www.ruby-forum.com/t/server-name-rewrite/235396)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [June 20, 2013, 7:02am UTC](https://www.ruby-forum.com/t/server-name-rewrite/235396 "2013-06-20T07:02:00Z")

</div>

Hi, guys! E.g. I have server new\_server\_name.com and want to rewrite requests to www.new\_server\_name.com and old\_server\_name.com to present server. From Pitfalls and Common Mistakes | NGINX I use two server’s {} direc…

---

## [Need some help with rewrite rule translation](https://www.ruby-forum.com/t/need-some-help-with-rewrite-rule-translation/235312)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 14\
**Last updated:** [June 19, 2013, 11:39pm UTC](https://www.ruby-forum.com/t/need-some-help-with-rewrite-rule-translation/235312 "2013-06-19T23:39:49Z")

</div>

Hello List, I managed to translate nearly all our old apache rules, but have some problems with the following ones: skip existing files RewriteCond %{REQUEST\_FILENAME} -f \[OR\] RewriteCond %{REQUEST\_FILENAME} -d Rewr…

---

## [Possible gzip\_vary bug? (v1.5.1)](https://www.ruby-forum.com/t/possible-gzip-vary-bug-v1-5-1/245574)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 19, 2013, 7:53pm UTC](https://www.ruby-forum.com/t/possible-gzip-vary-bug-v1-5-1/245574 "2013-06-19T19:53:42Z")

</div>

I’m running the latest development version of nginx and gzipping is working. But no Vary Accept-Encoding header is added to any gzip response. The gzip\_http\_version isn’t affecting the behavior, no matter if I set it …

---

## [Nginx proxy vs apache proxy](https://www.ruby-forum.com/t/nginx-proxy-vs-apache-proxy/245511)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [June 19, 2013, 3:19pm UTC](https://www.ruby-forum.com/t/nginx-proxy-vs-apache-proxy/245511 "2013-06-19T15:19:41Z")

</div>

I’m sure this is probably just a misconfiguration or a misunderstanding of nginx proxying. I’m looking to replace apache as my ssl/proxy server for a Jboss/tcServer backend. Unfortunately, I have a java web start a…

---

## [Using try\_files while forcing a trailing-slash in the URL](https://www.ruby-forum.com/t/using-try-files-while-forcing-a-trailing-slash-in-the-url/245564)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [June 18, 2013, 11:55pm UTC](https://www.ruby-forum.com/t/using-try-files-while-forcing-a-trailing-slash-in-the-url/245564 "2013-06-18T23:55:21Z")

</div>

Hello, Brand new to nginx and loving it so far. Thanks to all who contribute to the project. The try\_files directive is brilliant. The only problem I’m having is that I would like to be able to force a trailing-slash…

---

## [Munin plugin for nginx](https://www.ruby-forum.com/t/munin-plugin-for-nginx/235365)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 8\
**Last updated:** [June 18, 2013, 5:08pm UTC](https://www.ruby-forum.com/t/munin-plugin-for-nginx/235365 "2013-06-18T17:08:37Z")

</div>

I’m having some trouble getting the nginx plugin working for munin. I’ve added the following to nginx config and restarted: location /nginx\_status { stub\_status on; access\_log off; allow 127.0.0.1; deny all; } I…

---

## [Re: virtual server configuration](https://www.ruby-forum.com/t/re-virtual-server-configuration/235372)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [June 18, 2013, 11:32am UTC](https://www.ruby-forum.com/t/re-virtual-server-configuration/235372 "2013-06-18T11:32:05Z")

</div>

Hi Janet, It is weird then Once you remove the ‘default’ symlink and reload the config, the old configuration should no longer take effect. Have you tried refreshing your browser after restarting/reloading nginx? I’…

---

## [Hosting multiple domains](https://www.ruby-forum.com/t/hosting-multiple-domains/235356)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 18, 2013, 4:13am UTC](https://www.ruby-forum.com/t/hosting-multiple-domains/235356 "2013-06-18T04:13:17Z")

</div>

I have a server that I set up to run several domains from and it has worked great and without issue for about 6 months. I have another server that I had set up and was only running one domain from it and I just added …

---

## [Try\_files question or alternative?](https://www.ruby-forum.com/t/try-files-question-or-alternative/235370)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [June 18, 2013, 12:27am UTC](https://www.ruby-forum.com/t/try-files-question-or-alternative/235370 "2013-06-18T00:27:39Z")

</div>

Is there a simple way of getting nginx to search for the index when given a bare directory as URL? eg in a server block… index index.php index.html index.htm; when passed an URL of http://www.example.com/sub wh…

---

## [Re: virtual server configuration](https://www.ruby-forum.com/t/re-virtual-server-configuration/245596)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 17, 2013, 5:57pm UTC](https://www.ruby-forum.com/t/re-virtual-server-configuration/245596 "2013-06-17T17:57:19Z")

</div>

Hi Janet, Can you show us the content of your nginx.conf? Do you have the ‘include’ directive in your nginx.conf to point to your sites-available? For example: http { … include /etc/nginx/sites-available/\*; … } …

---

## [Problems with HTTP PUT with nginx-mogilefs-module](https://www.ruby-forum.com/t/problems-with-http-put-with-nginx-mogilefs-module/246549)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 5:26pm UTC](https://www.ruby-forum.com/t/problems-with-http-put-with-nginx-mogilefs-module/246549 "2013-06-17T17:26:20Z")

</div>

Hi, I am having issues executing the http PUT to upload a file to MogileFS via nginx-mogilefs-module v1.0.4. I am running nginx 1.4.1 compiled with --with-debug option on CentOS 6.3. The nginx-mogilefs-module was f…

---

## [Virtual server configuration](https://www.ruby-forum.com/t/virtual-server-configuration/245560)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 17, 2013, 4:54pm UTC](https://www.ruby-forum.com/t/virtual-server-configuration/245560 "2013-06-17T16:54:13Z")

</div>

Hi I’m new to nginx. I’m trying to configure a virtual server. I’ve created a new server file under sites-enabled like this: server { listen 80; ## listen for ipv4; this line is default and implied server\_name blog…

---

## [Truncated output for large files through proxy](https://www.ruby-forum.com/t/truncated-output-for-large-files-through-proxy/245581)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [June 17, 2013, 1:12pm UTC](https://www.ruby-forum.com/t/truncated-output-for-large-files-through-proxy/245581 "2013-06-17T13:12:13Z")

</div>

Hello, nginx 1.4.1 is truncating proxy output for large files. \*\*\* Steps to reproduce \*\*\* nginx.conf: location ^~ /download/ { proxy\_pass http://localhost:9000; proxy\_set\_header Host $host; } The…

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

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