# Server

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

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

---

## [How to make Nginx forget a hostname?](https://www.ruby-forum.com/t/how-to-make-nginx-forget-a-hostname/232480)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 12, 2014, 1:06pm UTC](https://www.ruby-forum.com/t/how-to-make-nginx-forget-a-hostname/232480 "2014-10-12T13:06:57Z")

</div>

Hi Nginx forums team, I’m with a issue related a removed configuration file for a specific hostname. So, I need to associate the hostname with a new ip address from other vm, but it’s not possible because, this hostn…

---

## [Nginx have directives like httpd's MaxRequestsPerChild](https://www.ruby-forum.com/t/nginx-have-directives-like-httpds-maxrequestsperchild/232471)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 11, 2014, 12:14pm UTC](https://www.ruby-forum.com/t/nginx-have-directives-like-httpds-maxrequestsperchild/232471 "2014-10-11T12:14:46Z")

</div>

hi there, does nginx have directives like apache’s MaxRequestsPerChild? Description:Limit on the number of requests that an individual child server will handle during its life Syntax: MaxRequestsPerChild number I …

---

## [How to list all nginx plugin installed](https://www.ruby-forum.com/t/how-to-list-all-nginx-plugin-installed/232469)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 11, 2014, 2:30am UTC](https://www.ruby-forum.com/t/how-to-list-all-nginx-plugin-installed/232469 "2014-10-11T02:30:09Z")

</div>

Is there a way to list all plugins installed in my nginx? I am particularly interested in knowing whether HttpEchoModule is installed or not. Posted at Nginx Forum:

---

## [Health\_check Windows](https://www.ruby-forum.com/t/health-check-windows/234830)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 10, 2014, 4:56pm UTC](https://www.ruby-forum.com/t/health-check-windows/234830 "2014-10-10T16:56:37Z")

</div>

I am trying to use the health\_check module on Windows nginx/1…7.6 location / { proxy\_set\_header Host $http\_host; proxy\_set\_header X-Forwarded-Host $host; proxy\_set\_header X-Real-IP $remote\_ad…

---

## [How to print at non emergency, critical, error from nginx configuration log](https://www.ruby-forum.com/t/how-to-print-at-non-emergency-critical-error-from-nginx-configuration-log/232462)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 10, 2014, 3:05pm UTC](https://www.ruby-forum.com/t/how-to-print-at-non-emergency-critical-error-from-nginx-configuration-log/232462 "2014-10-10T15:05:37Z")

</div>

Hello, If I use ngx\_conf\_log\_error during parsing an nginx configuration (post config phase), the messages at NGX\_LOG\_INFO are not printed to the error log even when I set it the error log to log debug level. I can s…

---

## [If-Modified-Since and If-None-Match conditionals with X-Accel-Redirect responses?](https://www.ruby-forum.com/t/if-modified-since-and-if-none-match-conditionals-with-x-accel-redirect-responses/232451)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 10, 2014, 2:59am UTC](https://www.ruby-forum.com/t/if-modified-since-and-if-none-match-conditionals-with-x-accel-redirect-responses/232451 "2014-10-10T02:59:02Z")

</div>

We’ve got an upstream returning X-Accel-Redirect responses to an internal location (which itself proxies to another upstream). Something like: upstream fileserver { server foo; } upstream backend { server bar; } …

---

## [OpenResty 1.7.4.1 released](https://www.ruby-forum.com/t/openresty-1-7-4-1-released/232449)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 10, 2014, 2:15am UTC](https://www.ruby-forum.com/t/openresty-1-7-4-1-released/232449 "2014-10-10T02:15:49Z")

</div>

Hi folks! I am happy to announce the new formal release, 1.7.4.1, of the OpenResty bundle: http://openresty.org/#Download The highlights of this release are 1) the new "resty" command-line utility, 2) SSL/TLS cosoc…

---

## [Nginx error : open failed 2 no such file or directory](https://www.ruby-forum.com/t/nginx-error-open-failed-2-no-such-file-or-directory/234829)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 9, 2014, 9:28pm UTC](https://www.ruby-forum.com/t/nginx-error-open-failed-2-no-such-file-or-directory/234829 "2014-10-09T21:28:26Z")

</div>

Hi, I’ve written a small nginx module that serves files (with some extra functionality). When I access the files through HTTP POST, I get below error \[error\] 2971#0: \*184 open() “/home/user/build/default/main/ngin…

---

## [Reverse TLS proxy](https://www.ruby-forum.com/t/reverse-tls-proxy/232410)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 9, 2014, 5:42pm UTC](https://www.ruby-forum.com/t/reverse-tls-proxy/232410 "2014-10-09T17:42:26Z")

</div>

Hi all, I very new to NGINX, but thought that it might be the best tool to achieve a reverse proxy ( in the DMZ ) for an internal HTTPS server. Unfortunately it isn’t working and I get 502 Bad Gateway message if I …

---

## [Save response into temp file](https://www.ruby-forum.com/t/save-response-into-temp-file/232176)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 9, 2014, 1:10pm UTC](https://www.ruby-forum.com/t/save-response-into-temp-file/232176 "2014-10-09T13:10:48Z")

</div>

Hi, I am working on an nginx module, that has flow: receive user request → parse request → read local file → process file → response to client This flow is working well. But now we have another requirement. Afer pr…

---

## [Re: access logs hang](https://www.ruby-forum.com/t/re-access-logs-hang/232433)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 9, 2014, 9:58am UTC](https://www.ruby-forum.com/t/re-access-logs-hang/232433 "2014-10-09T09:58:03Z")

</div>

Thanks for the reply. I compiled nginx from source, 1.7.5. I’m on Ubuntu 14.04. I know there’s a log rotation function built-in but I prefer to work things out by myself. :DSo I created this script to automatically ro…

---

## [Access logs hang](https://www.ruby-forum.com/t/access-logs-hang/232427)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 9, 2014, 9:01am UTC](https://www.ruby-forum.com/t/access-logs-hang/232427 "2014-10-09T09:01:24Z")

</div>

From time to time access logs (for which I don’t have a logrotation and manually rotate them) just “hang” and no lines are written. Same file and folder. No change in Nginx config! And the fact seems totally random, i…

---

## [Re: Combine location blocks with same content](https://www.ruby-forum.com/t/re-combine-location-blocks-with-same-content/232428)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 9, 2014, 8:42am UTC](https://www.ruby-forum.com/t/re-combine-location-blocks-with-same-content/232428 "2014-10-09T08:42:08Z")

</div>

Thanks B.R., it works now. :slight\_smile:

---

## [Replacing part of a url string](https://www.ruby-forum.com/t/replacing-part-of-a-url-string/232423)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 8, 2014, 9:47pm UTC](https://www.ruby-forum.com/t/replacing-part-of-a-url-string/232423 "2014-10-08T21:47:57Z")

</div>

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

---

## [Proxy\_hide\_header question](https://www.ruby-forum.com/t/proxy-hide-header-question/232408)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 8, 2014, 5:37pm UTC](https://www.ruby-forum.com/t/proxy-hide-header-question/232408 "2014-10-08T17:37:23Z")

</div>

I am using nginx as a reverse proxy and am trying to log some variables set by apache to nginx log. So certain HTTP response headers are set by apache (PHP) and then I log them successfully with $sent\_http\_\* variable…

---

## [Caching based on Content Size](https://www.ruby-forum.com/t/caching-based-on-content-size/232399)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 7, 2014, 6:10pm UTC](https://www.ruby-forum.com/t/caching-based-on-content-size/232399 "2014-10-07T18:10:17Z")

</div>

Hi List : Is there any way to restrict object caching bases on their sizes . For example: 3mb pass through \<3 mb cache in Nginx Any help/hint will be really appreciable . Thanks, tRM

---

## [Nginx proxy being slow](https://www.ruby-forum.com/t/nginx-proxy-being-slow/232385)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 7, 2014, 4:01pm UTC](https://www.ruby-forum.com/t/nginx-proxy-being-slow/232385 "2014-10-07T16:01:11Z")

</div>

We are trying to act as a proxy for a site within the same DMZ. Things seem to work fine, except when there is quite a heavy load. There are many CSS assets that just hang upon retrieval. Sometimes the full page come…

---

## [Nginx 1.6.2 - Redirect users base on 4 digits number provide](https://www.ruby-forum.com/t/nginx-1-6-2-redirect-users-base-on-4-digits-number-provide/232325)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [October 6, 2014, 6:25pm UTC](https://www.ruby-forum.com/t/nginx-1-6-2-redirect-users-base-on-4-digits-number-provide/232325 "2014-10-06T18:25:20Z")

</div>

Hello All, I am trying to redirect users base on four digits number they provide. For instance, if they provide a number 4024 they will be redirect to web server name fly.fqdn.com, if digits are 5025 they will be di…

---

## [Combine location blocks with same content](https://www.ruby-forum.com/t/combine-location-blocks-with-same-content/232376)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 6, 2014, 5:25pm UTC](https://www.ruby-forum.com/t/combine-location-blocks-with-same-content/232376 "2014-10-06T17:25:55Z")

</div>

location ^~ /categoria/personale-scolastico/area-docenti/ { auth\_basic “Restricted”; auth\_basic\_user\_file /var/www/domain/.pswd\_docenti; try\_files $uri $uri/ /index.php?$args; include …

---

## [Double slashes redirection](https://www.ruby-forum.com/t/double-slashes-redirection/232370)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 6, 2014, 12:10pm UTC](https://www.ruby-forum.com/t/double-slashes-redirection/232370 "2014-10-06T12:10:44Z")

</div>

Hi everybody, I am in trouble with my nginx configuration. my version of nginx is 1.1.19 My goal is to redirect http://example.com//site to http://example/site My app is in Rails and I want to handle this redirect wi…

---

## [Map $uri in 1.3.0+ NOT working in 1.6.0+](https://www.ruby-forum.com/t/map-uri-in-1-3-0-not-working-in-1-6-0/232334)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 4, 2014, 6:21am UTC](https://www.ruby-forum.com/t/map-uri-in-1-3-0-not-working-in-1-6-0/232334 "2014-10-04T06:21:05Z")

</div>

We have the following code that worked in 1.3.16… Map VWS URI’s to HTTP ($use\_secure=0), HTTPS ($use\_secure=1) or keep same ($use\_secure=2) map $uri $use\_secure { default 0; ~^/sites/ 2; ~^/account/ 1; } And thi…

---

## [Location filter](https://www.ruby-forum.com/t/location-filter/232338)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 3, 2014, 10:46pm UTC](https://www.ruby-forum.com/t/location-filter/232338 "2014-10-03T22:46:16Z")

</div>

Hi everybody, i’m a newbie with nginx, i use nginx for static content and apache. i use actually : location ~\* ^.+.(jpg|jpeg|gif|png|bmp|ico|pdf|flv|swf|exe|txt|css|js|xml|woff|eot|ttf|svg)$ { and all is ok but i …

---

## [Safe log rotation](https://www.ruby-forum.com/t/safe-log-rotation/232311)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 3, 2014, 6:25am UTC](https://www.ruby-forum.com/t/safe-log-rotation/232311 "2014-10-03T06:25:52Z")

</div>

Hi, I’d like to check how nginx handles command from kill -USR1 cat /var/run/nginx.pid I’m using it to recreate log files during rotation. My question if any loglines can be lost in case time interval between physi…

---

## [Nginx-1.7.6](https://www.ruby-forum.com/t/nginx-1-7-6/232286)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 2, 2014, 7:50pm UTC](https://www.ruby-forum.com/t/nginx-1-7-6/232286 "2014-10-02T19:50:41Z")

</div>

Changes with nginx 1.7.6 30 Sep 2014 \*) Change: the deprecated "limit\_zone" directive is not supported anymore. \*) Feature: the "limit\_conn\_zone" and "limit\_req\_zone" directi…

---

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

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 2, 2014, 7:47pm UTC](https://www.ruby-forum.com/t/redirection-issue/232328 "2014-10-02T19:47:27Z")

</div>

Hello All, I am facing some issue regarding nginx redirection i’m unable to fix it. I want to create redirect non www to www but always redirect me to default\_server how i can fix this issue. This is what i have se…

---

## [Distributed cache](https://www.ruby-forum.com/t/distributed-cache/232320)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 2, 2014, 3:16pm UTC](https://www.ruby-forum.com/t/distributed-cache/232320 "2014-10-02T15:16:51Z")

</div>

Hi, I need to have the same cache content on every frontend nodes. I’m seeking a solution to do what the nginx proxy cache does, but in a distributed way : using memcached, riak or any another storage. Do you know …

---

## [Encoded vs un-encoded URLs in requests are treated the same](https://www.ruby-forum.com/t/encoded-vs-un-encoded-urls-in-requests-are-treated-the-same/232321)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 2, 2014, 2:48pm UTC](https://www.ruby-forum.com/t/encoded-vs-un-encoded-urls-in-requests-are-treated-the-same/232321 "2014-10-02T14:48:57Z")

</div>

Hello! How correct is the assumption that nginx will always treat Encoded URLs in requests same as un-encoded unless processing of urls is manually overridden by custom rules to intercept requests and change the cac…

---

## [Proxy\_cache\_methods and OPTIONS](https://www.ruby-forum.com/t/proxy-cache-methods-and-options/232124)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 2, 2014, 2:35pm UTC](https://www.ruby-forum.com/t/proxy-cache-methods-and-options/232124 "2014-10-02T14:35:21Z")

</div>

I have bounced around quite a lot through forums and documentation to demistique whether the OPTIONS request method is honoured/allowed by nginx when it’s configured as reverse proxy cache system or not. I used a tes…

---

## [Nginx centos build only supports SSLv3 and ignores ssl\_protocols](https://www.ruby-forum.com/t/nginx-centos-build-only-supports-sslv3-and-ignores-ssl-protocols/232302)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 11\
**Last updated:** [October 2, 2014, 8:01am UTC](https://www.ruby-forum.com/t/nginx-centos-build-only-supports-sslv3-and-ignores-ssl-protocols/232302 "2014-10-02T08:01:07Z")

</div>

hi all, i have several nginx sites, and as i try to deploy ssl, i am having issues with ssl\_protocols ... ssl on; ssl\_certificate /etc/x509V6/domain.crt; ssl\_certificate\_key /etc/x509V6/domain.key; ssl\_session\_cache …

---

## [Nginx.conf 2014 October 20-22 in San Francisco](https://www.ruby-forum.com/t/nginx-conf-2014-october-20-22-in-san-francisco/232309)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 1, 2014, 5:22pm UTC](https://www.ruby-forum.com/t/nginx-conf-2014-october-20-22-in-san-francisco/232309 "2014-10-01T17:22:41Z")

</div>

Hello all! nginx.conf 2014 is coming soon and best pricing and conference hotel rates expire October 3. Were super excited about the speakers including Ilya Grigork of Google, Adrian Cockcroft of Battery Ventures, Yi…

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

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