# Server

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

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

---

## [Php can't run in auth folder](https://www.ruby-forum.com/t/php-cant-run-in-auth-folder/221858)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 2, 2012, 10:52am UTC](https://www.ruby-forum.com/t/php-cant-run-in-auth-folder/221858 "2012-08-02T10:52:47Z")

</div>

I try to use auth for .password , but after key in username and password , the page just blank only , .php file can’t run , pls help , setting as below : location ^~/phpmyadmin { fastcgi\_pass 127.0.0.1:9000; fastcg…

---

## [Curl, Nginx and the connections conundrum](https://www.ruby-forum.com/t/curl-nginx-and-the-connections-conundrum/221850)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 2, 2012, 8:55am UTC](https://www.ruby-forum.com/t/curl-nginx-and-the-connections-conundrum/221850 "2012-08-02T08:55:22Z")

</div>

Hey folks, I’d like to turn your attentions to this frustrating issue I’ve been facing. I’m running a dedicated server… Centos 6, PHP 5.3.3, Nginx 1.0.15. Great hardware, no problems. Nginx uses fastcgi to run php. …

---

## [Distribution of requests to multiple lxc containers](https://www.ruby-forum.com/t/distribution-of-requests-to-multiple-lxc-containers/221853)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 2, 2012, 7:45am UTC](https://www.ruby-forum.com/t/distribution-of-requests-to-multiple-lxc-containers/221853 "2012-08-02T07:45:16Z")

</div>

Dear all, My setup is to run multiple web services in different lxc containers and nginx on the host to distribute requests to the appropriate container. I’m trying the two entries below as seperate files in sites-av…

---

## [Can multiple nginx instances share a single proxy cache store?](https://www.ruby-forum.com/t/can-multiple-nginx-instances-share-a-single-proxy-cache-store/221799)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 2, 2012, 5:52am UTC](https://www.ruby-forum.com/t/can-multiple-nginx-instances-share-a-single-proxy-cache-store/221799 "2012-08-02T05:52:30Z")

</div>

Hi, I am planning to deploy multiple nginx servers (10) to proxy a bunch of apaches(20). The apaches host about 4000 vhosts, with a total volume of about 1TB. One scenario I am thinking of with regard to hard disk st…

---

## [How to change the root for testing](https://www.ruby-forum.com/t/how-to-change-the-root-for-testing/221761)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 1, 2012, 8:46pm UTC](https://www.ruby-forum.com/t/how-to-change-the-root-for-testing/221761 "2012-08-01T20:46:01Z")

</div>

Hi all, I want to change the root for location /testing. How can I do this? This is what I have in the middle of this server stanza, yet the testing reseller is served from the live root. :frowning: index index.php…

---

## [Nginx simple caching solutions](https://www.ruby-forum.com/t/nginx-simple-caching-solutions/221825)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 10\
**Last updated:** [August 1, 2012, 5:27pm UTC](https://www.ruby-forum.com/t/nginx-simple-caching-solutions/221825 "2012-08-01T17:27:56Z")

</div>

I was Googling around for some simple page caching solutions (say, cache pages for 5 minutes, exclude certain directories) and came across Google results for varnish, memcached, using nginx as a reverse proxy for apac…

---

## [Openssl depencies for nginx](https://www.ruby-forum.com/t/openssl-depencies-for-nginx/221835)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 1, 2012, 4:33pm UTC](https://www.ruby-forum.com/t/openssl-depencies-for-nginx/221835 "2012-08-01T16:33:00Z")

</div>

Hi, I’ve noticed that once ‘–with-openssl’ is specified as parameter to ‘./configure’ it takes ages to build nginx (which is depending on openssl build really, not nginx). However there’s a little changerequest on ho…

---

## [Unable to login with proxypass](https://www.ruby-forum.com/t/unable-to-login-with-proxypass/221831)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 1, 2012, 1:18pm UTC](https://www.ruby-forum.com/t/unable-to-login-with-proxypass/221831 "2012-08-01T13:18:58Z")

</div>

Dear Sir We need to proxy pass an url in which my.domain.com need to get drupal.apps.server.com. We configured rewrite and is working fine. Then we configured proxypass and while accessing my.domain.com we are gettin…

---

## [Nginx logged ip different than php $\_SERVER](https://www.ruby-forum.com/t/nginx-logged-ip-different-than-php-server/221829)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 1, 2012, 9:56am UTC](https://www.ruby-forum.com/t/nginx-logged-ip-different-than-php-server/221829 "2012-08-01T09:56:12Z")

</div>

nginx/0.8.49 php in fastcgi mode, php version 5.3.5 pieces of nginx cofig file: default log format: log\_format main '$remote\_addr - - \[$time\_local\] “$request” ’ '$status $body\_bytes\_sent “$http\_referer” ’ ‘“$http…

---

## [Nginx causes redirects when server root is changed](https://www.ruby-forum.com/t/nginx-causes-redirects-when-server-root-is-changed/221789)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 1, 2012, 9:03am UTC](https://www.ruby-forum.com/t/nginx-causes-redirects-when-server-root-is-changed/221789 "2012-08-01T09:03:01Z")

</div>

My nginx version is : root@v-enterprise15:/etc/nginx/conf.d# nginx -v nginx: nginx version: nginx/1.0.5 My application is installed at /usr/share/nginx/www/magento/current When I access http://myserver:81/magento/c…

---

## [Re: nginx simple caching solutions](https://www.ruby-forum.com/t/re-nginx-simple-caching-solutions/221828)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 1, 2012, 8:53am UTC](https://www.ruby-forum.com/t/re-nginx-simple-caching-solutions/221828 "2012-08-01T08:53:40Z")

</div>

If you want to cache PHP generated pages then just use the FCGI cache. http://nginx.org/en/docs/http/ngx\_http\_fastcgi\_module.html#fastcgi\_cache “Ian M. Evans” removed\_email\_address@domain.invalid a écrit :

---

## [No input file specified](https://www.ruby-forum.com/t/no-input-file-specified/221758)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 31, 2012, 7:53pm UTC](https://www.ruby-forum.com/t/no-input-file-specified/221758 "2012-07-31T19:53:24Z")

</div>

Hi, I deploy the application using Capistrano to /var/nginx/www/myapp. The current code is always at /var/nginx/www/myapp/current. So I changes the server’s root folder to /var/nginx/www/myapp/current hoping that the…

---

## [Nginx-1.3.4](https://www.ruby-forum.com/t/nginx-1-3-4/221798)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 31, 2012, 5:47pm UTC](https://www.ruby-forum.com/t/nginx-1-3-4/221798 "2012-07-31T17:47:46Z")

</div>

Changes with nginx 1.3.4 31 Jul 2012 \*) Change: the "ipv6only" parameter is now turned on by default for listening IPv6 sockets. \*) Feature: the Clang compiler support. \*) B…

---

## [Jmeter Nginx Stress Test Error Rate Higher](https://www.ruby-forum.com/t/jmeter-nginx-stress-test-error-rate-higher/221808)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 31, 2012, 5:12pm UTC](https://www.ruby-forum.com/t/jmeter-nginx-stress-test-error-rate-higher/221808 "2012-07-31T17:12:08Z")

</div>

I have a JSF web application runs on Glassfish Application Server. I’m using Nginx with reverse proxing to Glassfish. I wanna see performance gains with Nginx, i’m testing application with JMeter. When i directly test…

---

## [Ngx\_openresty devel version 1.2.1.9 released](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-1-9-released/221788)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 31, 2012, 8:16am UTC](https://www.ruby-forum.com/t/ngx-openresty-devel-version-1-2-1-9-released/221788 "2012-07-31T08:16:22Z")

</div>

Hi, folks! After more than two weeks’ active development, I’m pleased to announce the new development version of ngx\_openresty, 1.2.1.9: OpenResty® - Open source Below is the complete change log for this release, as…

---

## [Nginx 100% cpu usage](https://www.ruby-forum.com/t/nginx-100-cpu-usage/226313)

<div class="topic-metadata">

**Author:** [@lalyos](https://www.ruby-forum.com/u/lalyos)\
**Replies:** 2\
**Last updated:** [July 30, 2012, 10:00am UTC](https://www.ruby-forum.com/t/nginx-100-cpu-usage/226313 "2012-07-30T10:00:27Z")

</div>

Hi, im using nginx 0.8.54 in front of a tomcat. its running since 1 week now, and with just a few open sessions, nginx is using 100% cpu. strace is telling that ‘munmap’ is responsible for 94%. so looks like some sor…

---

## [Bot-taming: which rules should apply, and in which order?](https://www.ruby-forum.com/t/bot-taming-which-rules-should-apply-and-in-which-order/221763)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 29, 2012, 6:20pm UTC](https://www.ruby-forum.com/t/bot-taming-which-rules-should-apply-and-in-which-order/221763 "2012-07-29T18:20:26Z")

</div>

I’m attempting to tame (minimize or eliminate) Yandex bot access. I’d like to understand the application/precedence of the rules I apply. To my site config I’ve added map $http\_user\_agent $bad\_bot { default 0; ~(Yan…

---

## [Client browser is not receiving response from server and remains waiting for it](https://www.ruby-forum.com/t/client-browser-is-not-receiving-response-from-server-and-remains-waiting-for-it/221739)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 29, 2012, 11:03am UTC](https://www.ruby-forum.com/t/client-browser-is-not-receiving-response-from-server-and-remains-waiting-for-it/221739 "2012-07-29T11:03:25Z")

</div>

Hello, I’m having weird a problem with nginx. Sometimes, when I try to access the pages of my dedicated server from my browser, I receive no response. My browser remains waiting with no stop (there is no timeout). I …

---

## [How to redirect internally?](https://www.ruby-forum.com/t/how-to-redirect-internally/221729)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 29, 2012, 6:03am UTC](https://www.ruby-forum.com/t/how-to-redirect-internally/221729 "2012-07-29T06:03:11Z")

</div>

Hi, I have created a config so that a URL like www.mysite.com/abc/electronics.html is rewritten as www.mysite.com/index.php/electronics.html?store=abc. This is what I see in Mozilla Firebug GET abc/electronics.html …

---

## [Syslog](https://www.ruby-forum.com/t/syslog/219279)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [July 29, 2012, 3:36am UTC](https://www.ruby-forum.com/t/syslog/219279 "2012-07-29T03:36:33Z")

</div>

Hi all, I’m new here. Since I need my nginx to be integrated with syslog, I looked at the unofficial patches (udpremote and syslog patch). I saw I can have syslog logging with these, but I can not set a custom progr…

---

## [How to setup window authentication in NGINX](https://www.ruby-forum.com/t/how-to-setup-window-authentication-in-nginx/221744)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 28, 2012, 8:37pm UTC](https://www.ruby-forum.com/t/how-to-setup-window-authentication-in-nginx/221744 "2012-07-28T20:37:42Z")

</div>

How to setup window authentication in NGINX? I want to use the feature of NGINX, but I also do not want the user enter the password again Posted at Nginx Forum:

---

## [Condensing Location Directives](https://www.ruby-forum.com/t/condensing-location-directives/221642)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 27, 2012, 3:50pm UTC](https://www.ruby-forum.com/t/condensing-location-directives/221642 "2012-07-27T15:50:29Z")

</div>

I have this setup for my location directives location /css/ { proxy\_pass http://127.0.0.1:8080/css/; } location /js/ { proxy\_pass http://127.0.0.1:8080/js/; } It seems a bit repetitive to me, is it possible to d…

---

## [Browser shows rewritten URL](https://www.ruby-forum.com/t/browser-shows-rewritten-url/221653)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 27, 2012, 3:12pm UTC](https://www.ruby-forum.com/t/browser-shows-rewritten-url/221653 "2012-07-27T15:12:27Z")

</div>

Hi, I need to rewrite http://mysite:81/magento\_mysite/abc to http://mysite:81/magento\_mysite/?store=abc I am able to do this using the .conf file. However, the browser shows the rewritten URL and not the original. …

---

## [ModSecurity for Nginx launched at Black Hat](https://www.ruby-forum.com/t/modsecurity-for-nginx-launched-at-black-hat/221723)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 27, 2012, 11:46am UTC](https://www.ruby-forum.com/t/modsecurity-for-nginx-launched-at-black-hat/221723 "2012-07-27T11:46:39Z")

</div>

Hello nginx users, Good news for nginx, ModSecurity for nginx is coming, you can read more information about it in following links: http://blog.spiderlabs.com/2012/07/beyond-apache-modsecurity-for-iisnginx.html

---

## [Suggestions on scaling with nginx](https://www.ruby-forum.com/t/suggestions-on-scaling-with-nginx/221720)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 27, 2012, 11:38am UTC](https://www.ruby-forum.com/t/suggestions-on-scaling-with-nginx/221720 "2012-07-27T11:38:27Z")

</div>

Hi , I have various upsteram configurations. I want to add or remove servers (scale up or down) from the upstream based on some parameters. Please provide your suggestions. One way that I think of is to update the up…

---

## [Proxy, upstream, apache vhosts not working](https://www.ruby-forum.com/t/proxy-upstream-apache-vhosts-not-working/221697)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 27, 2012, 11:16am UTC](https://www.ruby-forum.com/t/proxy-upstream-apache-vhosts-not-working/221697 "2012-07-27T11:16:14Z")

</div>

Hi, I want to configure nginx as a proxy to a bunch of apaches, all serving the same multiple websites via vhosts. I had it working with something like location ~\* .(jpg|gif|png|css|js) { try\_files $uri @proxy; } …

---

## [Literal newlines dumped to error log when %0a in URL](https://www.ruby-forum.com/t/literal-newlines-dumped-to-error-log-when-0a-in-url/221712)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 27, 2012, 3:24am UTC](https://www.ruby-forum.com/t/literal-newlines-dumped-to-error-log-when-0a-in-url/221712 "2012-07-27T03:24:43Z")

</div>

I noticed that when a %0a exists in the URL, nginx includes a literal newline in the error\_log when logging a file not found: 2012/07/26 17:24:14 \[error\] 5478#0: \*8 "/var/www/localhost/htdocs/ html/index.html" is no…

---

## [Limit zone state size](https://www.ruby-forum.com/t/limit-zone-state-size/221699)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 26, 2012, 11:31pm UTC](https://www.ruby-forum.com/t/limit-zone-state-size/221699 "2012-07-26T23:31:27Z")

</div>

Hello. I’ve been reading the limit zone documentation and it seems there’s some ambiguity about the size of states. There are some mentions in the docs about states being 32 or 64 bytes in size (256/512 bits), but th…

---

## [Logging response body](https://www.ruby-forum.com/t/logging-response-body/219499)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 26, 2012, 11:58am UTC](https://www.ruby-forum.com/t/logging-response-body/219499 "2012-07-26T11:58:57Z")

</div>

Hi, I’m interested in adding some additional logging to some of our nginx proxy machines to make it easier to debug and monitor when things go wrong for users. I’ve searched through the list and Google but couldn’t …

---

## [Buffering response wrt backend only](https://www.ruby-forum.com/t/buffering-response-wrt-backend-only/221688)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 26, 2012, 4:13am UTC](https://www.ruby-forum.com/t/buffering-response-wrt-backend-only/221688 "2012-07-26T04:13:16Z")

</div>

Hi everybody- I am using nginx to proxy requests to a backend HTTP server with slightly unusual behavior–it attempts to push out the portion of a HTTP response as quickly as possible so that the browser can start bu…

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

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