# Server

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

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

---

## [Does it have acces control Server modules?](https://www.ruby-forum.com/t/does-it-have-acces-control-server-modules/211013)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 23, 2011, 4:58pm UTC](https://www.ruby-forum.com/t/does-it-have-acces-control-server-modules/211013 "2011-08-23T16:58:29Z")

</div>

There is a nginx access module that control client.And Does it have acess control Server modules? If use nginx to HTTP Proxy,How can I limit Client to connect Servers? Write Modules By myself? Posted at Nginx Forum: …

---

## [Include\_shell](https://www.ruby-forum.com/t/include-shell/210945)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 23, 2011, 4:33pm UTC](https://www.ruby-forum.com/t/include-shell/210945 "2011-08-23T16:33:06Z")

</div>

Hi I am pretty new to nginx I have been searching around to find if there is a similar option like include\_shell that lighttpd has to use shell scripts to auto generate conf files. It appears that there is no such o…

---

## [A field of "x-ws.ajax: delta=true" is added after NGINX](https://www.ruby-forum.com/t/a-field-of-x-ws-ajax-delta-true-is-added-after-nginx/211007)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 23, 2011, 2:42pm UTC](https://www.ruby-forum.com/t/a-field-of-x-ws-ajax-delta-true-is-added-after-nginx/211007 "2011-08-23T14:42:31Z")

</div>

Hi all: I met a stranger problem. a field of “x-ws.ajax: delta=true” is added after NGINX. Topology client ---------\[NGINX\] -----------------------\[IIS 6.0\] server ^\_\_\_Act as reverse proxy NGINX( 1.0.5 and kee…

---

## [: IPv6 SMTP proxy with XCLIENT](https://www.ruby-forum.com/t/ipv6-smtp-proxy-with-xclient/210975)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 23, 2011, 11:30am UTC](https://www.ruby-forum.com/t/ipv6-smtp-proxy-with-xclient/210975 "2011-08-23T11:30:25Z")

</div>

Hello! There is a issue with XCLIENT support when nginx listener is IPv6 enabled. Nginx sends the following command to upstream SMTP server: XCLIENT ADDR=2001:15c0:65ff:xxxx::yyyy NAME=\[UNAVAILABLE\] According to pos…

---

## [Which OS best for file serving? Does file AIO increase performance significantly?](https://www.ruby-forum.com/t/which-os-best-for-file-serving-does-file-aio-increase-performance-significantly/210979)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 23, 2011, 9:12am UTC](https://www.ruby-forum.com/t/which-os-best-for-file-serving-does-file-aio-increase-performance-significantly/210979 "2011-08-23T09:12:06Z")

</div>

Hi, I’m interested in setting up Nginx server for image serving, mostly small images such as icons or thumbnails. Usually I use Linux, but I understand that file AIO doesn’t work on Linux. A few questions: How muc…

---

## [Nginx-1.1.1](https://www.ruby-forum.com/t/nginx-1-1-1/210978)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 23, 2011, 4:28am UTC](https://www.ruby-forum.com/t/nginx-1-1-1/210978 "2011-08-23T04:28:04Z")

</div>

Changes with nginx 1.1.1 22 Aug 2011 \*) Change: now cache loader processes either as many files as specified by “loader\_files” parameter or works no more than time specified …

---

## [Need to add my website in nginex and decrease loading speed](https://www.ruby-forum.com/t/need-to-add-my-website-in-nginex-and-decrease-loading-speed/210957)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [August 22, 2011, 12:58pm UTC](https://www.ruby-forum.com/t/need-to-add-my-website-in-nginex-and-decrease-loading-speed/210957 "2011-08-22T12:58:54Z")

</div>

I would like to add my website in nginex and decrease loading speed. please let me know how to proceed and payment info. Thanks

---

## [The timeout under heavy load](https://www.ruby-forum.com/t/the-timeout-under-heavy-load/210965)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 22, 2011, 12:28pm UTC](https://www.ruby-forum.com/t/the-timeout-under-heavy-load/210965 "2011-08-22T12:28:29Z")

</div>

This is not a real problem of nginx. I just want to confirm the solution under this case. My nginx serving as a web reverse proxy, and it also connects to a third server for authentication with the Cookie and token in…

---

## [Nginx 1.0.5 in windows heap corruption](https://www.ruby-forum.com/t/nginx-1-0-5-in-windows-heap-corruption/210942)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 9\
**Last updated:** [August 22, 2011, 12:13pm UTC](https://www.ruby-forum.com/t/nginx-1-0-5-in-windows-heap-corruption/210942 "2011-08-22T12:13:35Z")

</div>

Hi, When I use Nginx 1.0.5 in WINDOWS, It message a box with information that is heap corruption. I use Visual Studio to debug it and find that in src/os/win32/ngx\_file.c line 224 ngx\_win32\_rename\_file() . When I do…

---

## [Randomlize nginx round robin peers](https://www.ruby-forum.com/t/randomlize-nginx-round-robin-peers/210955)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [August 22, 2011, 10:22am UTC](https://www.ruby-forum.com/t/randomlize-nginx-round-robin-peers/210955 "2011-08-22T10:22:35Z")

</div>

Hi guys, i found something interesting. here is our web server architectures. NGX1, NGX2 and NGX3 has the same nginx.conf file. In our production environment, there are more nginx and Resin server. LVS …

---

## [Why i cannot build nginx outside the source directory?](https://www.ruby-forum.com/t/why-i-cannot-build-nginx-outside-the-source-directory/210936)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 21, 2011, 12:18pm UTC](https://www.ruby-forum.com/t/why-i-cannot-build-nginx-outside-the-source-directory/210936 "2011-08-21T12:18:05Z")

</div>

for example build and nginx\_src are under the same directory, i can build nginx in build directory, with …/nginx\_src/configure then the files generated in the build process will not pollute the source directory of ngi…

---

## [Why nginx is only released as zip or giz archive?](https://www.ruby-forum.com/t/why-nginx-is-only-released-as-zip-or-giz-archive/210934)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 21, 2011, 10:00am UTC](https://www.ruby-forum.com/t/why-nginx-is-only-released-as-zip-or-giz-archive/210934 "2011-08-21T10:00:13Z")

</div>

is there any bleeding edge? for example, an code repository for nginx, such as svn or git?

---

## [Ngnix as Proxy with Multiple Directories Issue](https://www.ruby-forum.com/t/ngnix-as-proxy-with-multiple-directories-issue/210891)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 19, 2011, 4:51pm UTC](https://www.ruby-forum.com/t/ngnix-as-proxy-with-multiple-directories-issue/210891 "2011-08-19T16:51:42Z")

</div>

Hi Everyone, I am having an odd issue here with Ngnix as a my proxy for my pages served up by Apache. This is a pretty vanilla proxy setup - the issues I am facing (and my respective config) are as follows: I have m…

---

## [Fastcgi chunked data](https://www.ruby-forum.com/t/fastcgi-chunked-data/210862)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 19, 2011, 11:13am UTC](https://www.ruby-forum.com/t/fastcgi-chunked-data/210862 "2011-08-19T11:13:23Z")

</div>

I have a fastcgi server connection that send chunks of data. I would like to have the chucks of data written to downstream, not buffered. I want to send chunked data from the server, but nginx buffers the data, I wan…

---

## [Nginx cache is slow](https://www.ruby-forum.com/t/nginx-cache-is-slow/210874)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 19, 2011, 10:34am UTC](https://www.ruby-forum.com/t/nginx-cache-is-slow/210874 "2011-08-19T10:34:24Z")

</div>

Nginx 1.1.0 location / { uwsgi\_cache tna; uwsgi\_cache\_use\_stale error timeout http\_500; uwsgi\_cache\_valid any 10m; uwsgi\_cache\_key $request\_uri; include /etc/nginx/params\_uwsgi; uwsgi\_intercept\_errors off; uwsg…

---

## [Epoll error with http1.1 and keep-alive enabed](https://www.ruby-forum.com/t/epoll-error-with-http1-1-and-keep-alive-enabed/210876)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 19, 2011, 10:07am UTC](https://www.ruby-forum.com/t/epoll-error-with-http1-1-and-keep-alive-enabed/210876 "2011-08-19T10:07:47Z")

</div>

Hi all: I use nginx 1.0.5 with Maxidom’s patch. NGINX works as reverse proxy, backend is IIS 6.0. we can not list the data from server, I checked the nginx error\_log, there is problem as following: there are two e…

---

## [Overriding configuration variables, specifically access\_log](https://www.ruby-forum.com/t/overriding-configuration-variables-specifically-access-log/210846)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 18, 2011, 7:02pm UTC](https://www.ruby-forum.com/t/overriding-configuration-variables-specifically-access-log/210846 "2011-08-18T19:02:07Z")

</div>

We are using nginx/1.0.5 from the nginx apt repositories and have noticed that when setting the access\_log directive in /etc/nginx/conf.d/common, it does nothing unless I comment out the access\_log directive above it…

---

## [SIGWINCH & aborting, a cleaner solution?](https://www.ruby-forum.com/t/sigwinch-aborting-a-cleaner-solution/210824)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 18, 2011, 4:43pm UTC](https://www.ruby-forum.com/t/sigwinch-aborting-a-cleaner-solution/210824 "2011-08-18T16:43:56Z")

</div>

Hello, I am using nginx in a terminal as development server, not as a daemon. Each time nginx receives the SIGWINCH signals, it says : 2011/08/18 10:12:54 \[alert\] 12887#0: aborting I have seen in a email from Igor S…

---

## [Error Installing Passenger with nginx](https://www.ruby-forum.com/t/error-installing-passenger-with-nginx/210825)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 18, 2011, 4:10pm UTC](https://www.ruby-forum.com/t/error-installing-passenger-with-nginx/210825 "2011-08-18T16:10:28Z")

</div>

I’ve been trying to set up my ROR app on AIX 5.3 with Passenger. Tried all the different options. Till last night, I was getting below: Commands: cd /path to my app passenger start src/os/unix/ngx\_errno.c: In functi…

---

## [Nginx + Passenger error\_page setup](https://www.ruby-forum.com/t/nginx-passenger-error-page-setup/210827)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 18, 2011, 1:25pm UTC](https://www.ruby-forum.com/t/nginx-passenger-error-page-setup/210827 "2011-08-18T13:25:58Z")

</div>

Im running a Merb project base on Nginx + Passenger, when the application got error, it will raise 502 Bad Gateway page. so we want to customize the error page. so we add these to the configuration file: http{ server…

---

## [Remove an entry from proxy cache](https://www.ruby-forum.com/t/remove-an-entry-from-proxy-cache/210298)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 18, 2011, 1:01pm UTC](https://www.ruby-forum.com/t/remove-an-entry-from-proxy-cache/210298 "2011-08-18T13:01:18Z")

</div>

Hi, to remove an entry from proxy cache is enough just to delete the cached file or you need to do something else. If simply deleting works, is there any point then of compiling nginx with cache purge module?

---

## [Getting rid of "Welcome to nginx"](https://www.ruby-forum.com/t/getting-rid-of-welcome-to-nginx/210760)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 17, 2011, 2:47pm UTC](https://www.ruby-forum.com/t/getting-rid-of-welcome-to-nginx/210760 "2011-08-17T14:47:51Z")

</div>

Hi guys, I’ve just setup nginx on my Ubuntu staging machine. Entering http://192.168.1.1/index.php works like a charm and loads the index.php file i’ve put in the /var/www/public\_html folder. http://192.168.1.1 howev…

---

## [Is there setting equivalent to proxy\_set\_header for uwsgi?](https://www.ruby-forum.com/t/is-there-setting-equivalent-to-proxy-set-header-for-uwsgi/210778)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 17, 2011, 7:28am UTC](https://www.ruby-forum.com/t/is-there-setting-equivalent-to-proxy-set-header-for-uwsgi/210778 "2011-08-17T07:28:46Z")

</div>

I tried use uwsgi\_params, but the uwsgi server will fail to pass it. Posted at Nginx Forum:

---

## [Is there an equivalent of pagespeed for Nginx?](https://www.ruby-forum.com/t/is-there-an-equivalent-of-pagespeed-for-nginx/210773)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [August 17, 2011, 7:13am UTC](https://www.ruby-forum.com/t/is-there-an-equivalent-of-pagespeed-for-nginx/210773 "2011-08-17T07:13:55Z")

</div>

Hi, all: I know the pagespeed module for Apache can make the page visit faster, so , I wonder whether there is an equivalent for Nginx? thanks in advance! – Best Wishes! wangxichun

---

## [How to make nginx find my assets that are not in my public/?](https://www.ruby-forum.com/t/how-to-make-nginx-find-my-assets-that-are-not-in-my-public/210738)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [August 17, 2011, 12:26am UTC](https://www.ruby-forum.com/t/how-to-make-nginx-find-my-assets-that-are-not-in-my-public/210738 "2011-08-17T00:26:45Z")

</div>

Hi, So I a rails app that use nginx serving all my assets from my public directory, but my web app also serves some custom assets directly from the db. The problem is that nginx tries to look those assets in my publi…

---

## [I'm clueless about .htaccess rewrites](https://www.ruby-forum.com/t/im-clueless-about-htaccess-rewrites/210717)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 16, 2011, 8:47pm UTC](https://www.ruby-forum.com/t/im-clueless-about-htaccess-rewrites/210717 "2011-08-16T20:47:15Z")

</div>

I’ve got a script and the rewrites are kicking my butt RewriteEngine on RewriteCond %{REQUEST\_URI} /(\[0-9a-z\]{1,9})$ \[NC\] RewriteRule ^(.\*) http://URL/?%1 RewriteCond %{REQUEST\_FILENAME} -s \[OR\] RewriteCond %{RE…

---

## [Nginx: conditional "expires" directive](https://www.ruby-forum.com/t/nginx-conditional-expires-directive/210746)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 20\
**Last updated:** [August 16, 2011, 8:23pm UTC](https://www.ruby-forum.com/t/nginx-conditional-expires-directive/210746 "2011-08-16T20:23:49Z")

</div>

I wanted to create if block for expires directive, but it’s not allowed in if context. Like that: if($args ~ “no\_caching=1”) { expires epoch; } Is it somehow possible to create this in any other way? I need n…

---

## [Does nginx serialize SCGI requests?](https://www.ruby-forum.com/t/does-nginx-serialize-scgi-requests/210749)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 16, 2011, 4:49pm UTC](https://www.ruby-forum.com/t/does-nginx-serialize-scgi-requests/210749 "2011-08-16T16:49:00Z")

</div>

I am a happy user of mod\_scgi. For the in-house web apps we develop, concurrent overlapping requests involving SCGI have been a non-issue sofar. This would change for sure as soon as the web apps are exposed to the in…

---

## [ngx\_Postgres + Eval (agentzh version)](https://www.ruby-forum.com/t/ngx-postgres-eval-agentzh-version/210718)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 15, 2011, 8:19pm UTC](https://www.ruby-forum.com/t/ngx-postgres-eval-agentzh-version/210718 "2011-08-15T20:19:20Z")

</div>

Hello, I have this piece of configuration that is almost copy+pasted from the ngx\_postgres example but that for some unknown reason to me is not working. The value of the $s variable is always empty ou NULL if I use …

---

## [Arch Linux Kernel 3.0 configure error](https://www.ruby-forum.com/t/arch-linux-kernel-3-0-configure-error/210714)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 15, 2011, 5:16pm UTC](https://www.ruby-forum.com/t/arch-linux-kernel-3-0-configure-error/210714 "2011-08-15T17:16:33Z")

</div>

Error Info auto/os/linux: line 21: 3.0-ARCH: syntax error: invalid arithmetic operator (error token is “.0-ARCH”) version=$((uname -r \\ | sed 's/^\\(\[0-9\]\*\\)\\.\\(\[0-9\]\*\\)\\.\\(\[0-9\]\*\\).\*/\\1\*256\*256+\\2\*256+\\3/')) A…

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

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