# Server

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

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

---

## [How to disable creating tmpfile when using nginx as a cache](https://www.ruby-forum.com/t/how-to-disable-creating-tmpfile-when-using-nginx-as-a-cache/233902)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 21, 2015, 10:51am UTC](https://www.ruby-forum.com/t/how-to-disable-creating-tmpfile-when-using-nginx-as-a-cache/233902 "2015-01-21T10:51:47Z")

</div>

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

---

## [Need best practice on GeoIP/GeoDNS](https://www.ruby-forum.com/t/need-best-practice-on-geoip-geodns/233895)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 21, 2015, 1:38am UTC](https://www.ruby-forum.com/t/need-best-practice-on-geoip-geodns/233895 "2015-01-21T01:38:33Z")

</div>

Hi, I have project that will be used multilocation webserver, but still confuse about implementing GeoDNS or GeoIP. Which method are powerfull? I want to separate user between Country A to WebServer A, Country B to W…

---

## [Geoip issue with nginx in front of varnish and apache!](https://www.ruby-forum.com/t/geoip-issue-with-nginx-in-front-of-varnish-and-apache/233896)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 20, 2015, 9:06pm UTC](https://www.ruby-forum.com/t/geoip-issue-with-nginx-in-front-of-varnish-and-apache/233896 "2015-01-20T21:06:31Z")

</div>

Hi, We've compile varnish with geoip module in order to cache country based hashes, so far varnish\<-\> apache structure is working fine with geoip module and caching requests based on countries but when we add anothe…

---

## [Custom settings with PHP](https://www.ruby-forum.com/t/custom-settings-with-php/178918)

<div class="topic-metadata">

**Author:** [@Life\_Hunter](https://www.ruby-forum.com/u/Life_Hunter)\
**Replies:** 23\
**Last updated:** [January 20, 2015, 2:55pm UTC](https://www.ruby-forum.com/t/custom-settings-with-php/178918 "2015-01-20T14:55:08Z")

</div>

Hello, I have setup PHP with spawn-fcgi, PHP work well, but how to pass custom settings to PHP per virtualhost ? Like this, for example (.htaccess get from RoundCube webmail) : “php\_value upload\_max\_filesize 5M” Tha…

---

## [How to limit the total header size of a request?](https://www.ruby-forum.com/t/how-to-limit-the-total-header-size-of-a-request/233888)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 20, 2015, 2:21pm UTC](https://www.ruby-forum.com/t/how-to-limit-the-total-header-size-of-a-request/233888 "2015-01-20T14:21:13Z")

</div>

Hi guys, I’m looking for a configuration to limit the summarized size for the request line and all header fields in a request? It looks " client\_header\_buffer\_size size" is to limit the single header field. Thanks!

---

## [How to adjust Cache-Control for SSI-including entities](https://www.ruby-forum.com/t/how-to-adjust-cache-control-for-ssi-including-entities/233881)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [January 20, 2015, 1:28pm UTC](https://www.ruby-forum.com/t/how-to-adjust-cache-control-for-ssi-including-entities/233881 "2015-01-20T13:28:50Z")

</div>

Hi, \[apologies if this has been asked lots of times before, but searches really did not turn up anything\] I am using nginx with SSI enabled to assemble pages and page-fragments from upstream servers. upstream U1 pro…

---

## [Ipad autodiscovery](https://www.ruby-forum.com/t/ipad-autodiscovery/233852)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [January 19, 2015, 11:51pm UTC](https://www.ruby-forum.com/t/ipad-autodiscovery/233852 "2015-01-19T23:51:18Z")

</div>

Hi All I have my owa reverse proxy working. For some strange reason, all ipads cannot now sync. Android is fine. I am seeing an error that they are trying to connect using autodiscovery and I am not seeing a way to d…

---

## [phpBB3.1 not working with oauth under nginx](https://www.ruby-forum.com/t/phpbb3-1-not-working-with-oauth-under-nginx/233886)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 19, 2015, 11:39pm UTC](https://www.ruby-forum.com/t/phpbb3-1-not-working-with-oauth-under-nginx/233886 "2015-01-19T23:39:14Z")

</div>

Hi, I wonder if anyone is running phpBB3.1 with php56? Currently I am trying to setup oauth to work with Google and Facebook, but getting a white screen response after authentication. The logs show this: 2015/01/19 …

---

## [Running Remote using Perl CGI](https://www.ruby-forum.com/t/running-remote-using-perl-cgi/233874)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 19, 2015, 10:58am UTC](https://www.ruby-forum.com/t/running-remote-using-perl-cgi/233874 "2015-01-19T10:58:56Z")

</div>

Hello All, I have Perl CGI Script which is running the command on the Remote command and display output on the webpage.Script is failing with below error… cannot connect to filer 192.168.xxx.xxx at /var/www/cgi-bi…

---

## [Perl Fastcgi on Solaris 11](https://www.ruby-forum.com/t/perl-fastcgi-on-solaris-11/233873)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 19, 2015, 10:23am UTC](https://www.ruby-forum.com/t/perl-fastcgi-on-solaris-11/233873 "2015-01-19T10:23:13Z")

</div>

Has anyone been able to get perl fastcgi working on the Solairs 11 OS if so can you point me in the right direction Posted at Nginx Forum:

---

## [How to return a cookie to a client when auth\_request is used?](https://www.ruby-forum.com/t/how-to-return-a-cookie-to-a-client-when-auth-request-is-used/233823)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 19, 2015, 2:50am UTC](https://www.ruby-forum.com/t/how-to-return-a-cookie-to-a-client-when-auth-request-is-used/233823 "2015-01-19T02:50:58Z")

</div>

Hi, Question 1: I would like to have an FastCGI authentication app assign a cookie to a client, and the Fast Auth app is called using auth\_request. The steps are as follows: Client sends a request NGINX auth\_reque…

---

## [Udp log graylog](https://www.ruby-forum.com/t/udp-log-graylog/233867)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 18, 2015, 5:57pm UTC](https://www.ruby-forum.com/t/udp-log-graylog/233867 "2015-01-18T17:57:42Z")

</div>

Hi, I’m setting up logging from my Nginx server to a Graylog server. I folow this short guide https://www.graylog2.org/content-packs/547b5021e4b0a06d87eea01e . But nothing works… My iptables are all accept policies,…

---

## [Windows nginx 1.7.10.1 Gryphon](https://www.ruby-forum.com/t/windows-nginx-1-7-10-1-gryphon/233860)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 17, 2015, 7:28pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-7-10-1-gryphon/233860 "2015-01-17T19:28:32Z")

</div>

19:14 17-1-2015 nginx 1.7.10.1 Gryphon Based on nginx 1.7.10 (15-1-2015, last changeset 5964:0a198a517eaf) with; reverted changeset 5962:727177743c3c (causing segfaults) set-misc-nginx-module v0.27 (upgraded 14-1-201…

---

## [Nginx auth users](https://www.ruby-forum.com/t/nginx-auth-users/233859)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 17, 2015, 5:24pm UTC](https://www.ruby-forum.com/t/nginx-auth-users/233859 "2015-01-17T17:24:01Z")

</div>

Hello i am slowly migrating from apache to Nginx So far everything is running smoothly and i have to say from all the benchmark tests Nginx has improved performance by 60% that is incredible and i havent even drived …

---

## [Limiting gzip\_static to two directories](https://www.ruby-forum.com/t/limiting-gzip-static-to-two-directories/233856)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 17, 2015, 11:40am UTC](https://www.ruby-forum.com/t/limiting-gzip-static-to-two-directories/233856 "2015-01-17T11:40:32Z")

</div>

I have gzip enabled in Nginx as well as gzip\_static. I am trying to limit gzip\_static to just one or two sections. There are pre-compressed files inside the directory: media/po\_compressor/ along with sub directories …

---

## [Resolver directive doesn't fallback to the system DNS resolver](https://www.ruby-forum.com/t/resolver-directive-doesnt-fallback-to-the-system-dns-resolver/233718)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 11\
**Last updated:** [January 16, 2015, 8:59pm UTC](https://www.ruby-forum.com/t/resolver-directive-doesnt-fallback-to-the-system-dns-resolver/233718 "2015-01-16T20:59:55Z")

</div>

Hello, I am looking at how to use nginx’s resolver directive (Module ngx\_http\_core\_module) to address this one issue i am facing. I have a host for which there is already an entry in the system DNS resolver (verified…

---

## [Dynamic/Wildcard SSL certificates with SNI?](https://www.ruby-forum.com/t/dynamic-wildcard-ssl-certificates-with-sni/233838)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 16, 2015, 5:35pm UTC](https://www.ruby-forum.com/t/dynamic-wildcard-ssl-certificates-with-sni/233838 "2015-01-16T17:35:50Z")

</div>

Hi, I’m working on a “Web simulator” designed to serve a large number of web sites on a private, self-contained network, where I’m also in control of issuing SSL certificates. The relevant bits of my nginx.conf look …

---

## [Getting expiration date of client certificate](https://www.ruby-forum.com/t/getting-expiration-date-of-client-certificate/233833)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 15, 2015, 6:17pm UTC](https://www.ruby-forum.com/t/getting-expiration-date-of-client-certificate/233833 "2015-01-15T18:17:16Z")

</div>

Hi, I wanted to extract client certificate expiration date in nginx.conf. I have the below map command to extract CN name of client certificate. Do you know if any variables/directives nginx supports to extract clie…

---

## [Adding timer in nginx.c main](https://www.ruby-forum.com/t/adding-timer-in-nginx-c-main/233794)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 15, 2015, 5:46pm UTC](https://www.ruby-forum.com/t/adding-timer-in-nginx-c-main/233794 "2015-01-15T17:46:29Z")

</div>

Hi, I am adding a timer in nginx’s main loop… if (counter == -1) { ngx\_log\_error(NGX\_LOG\_EMERG, cycle-\>log, 0, "counter is null adding imer"); /\* Registring Timer \*/ ngx\_ipc\_event.data = &dumb; ngx\_ipc\_event.…

---

## [Rsync access to Nginx repositories](https://www.ruby-forum.com/t/rsync-access-to-nginx-repositories/233831)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 15, 2015, 3:27pm UTC](https://www.ruby-forum.com/t/rsync-access-to-nginx-repositories/233831 "2015-01-15T15:27:06Z")

</div>

Hey everyone, We would like to use the debian repo from nginx.org on about 15.000 servers and so wanted to setup a mirror at ftp.hosteurope.de( ftp://ftp.hosteurope.de/mirror/ ), like we do with debian and many other …

---

## [Restrict URL access with pwd](https://www.ruby-forum.com/t/restrict-url-access-with-pwd/233829)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 15, 2015, 12:20pm UTC](https://www.ruby-forum.com/t/restrict-url-access-with-pwd/233829 "2015-01-15T12:20:35Z")

</div>

Hi all, How can I restrict access to my website with a password like with a .htaccess file please? Thanks

---

## [Auth\_request vs auth\_pam\_service\_name](https://www.ruby-forum.com/t/auth-request-vs-auth-pam-service-name/233798)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 15, 2015, 2:34am UTC](https://www.ruby-forum.com/t/auth-request-vs-auth-pam-service-name/233798 "2015-01-15T02:34:51Z")

</div>

Hi, I am a newbie at nginx and looking at its authentication capabilities. It appears that when using auth\_request, every client request would still require an invokation to the auth\_request fastcgi or proxy\_pass ser…

---

## [Nginx Stalls between RTMP Streams](https://www.ruby-forum.com/t/nginx-stalls-between-rtmp-streams/233816)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [January 14, 2015, 7:13pm UTC](https://www.ruby-forum.com/t/nginx-stalls-between-rtmp-streams/233816 "2015-01-14T19:13:23Z")

</div>

Hey NGINX folks, I’m experiencing some troubles using NGINX as a RTMP media server. I wish to present a continuous video as a live stream (with up to 60 second latency). However, due to some hardware constraints, I …

---

## [Problem with wildcard of domain in nginx and in https](https://www.ruby-forum.com/t/problem-with-wildcard-of-domain-in-nginx-and-in-https/233808)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [January 14, 2015, 11:52am UTC](https://www.ruby-forum.com/t/problem-with-wildcard-of-domain-in-nginx-and-in-https/233808 "2015-01-14T11:52:43Z")

</div>

I have a domain.com and i can redirecto to other subdomains but not domain.com in https, my configuration is the following : server { listen 80; server\_name www.domain.com; rewrite ^/(.\*) https://www.domain.com/$1 p…

---

## [A build of nginx with static-linked OpenSSL fails on Mac](https://www.ruby-forum.com/t/a-build-of-nginx-with-static-linked-openssl-fails-on-mac/233759)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 12, 2015, 8:50pm UTC](https://www.ruby-forum.com/t/a-build-of-nginx-with-static-linked-openssl-fails-on-mac/233759 "2015-01-12T20:50:30Z")

</div>

Hello. A build of nginx with static-linked OpenSSL seems to fail on Mac. $ uname -ar Darwin host 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE\_X86\_64 x86\_64 $ cd ngi…

---

## [Bug re: openssl-1.0.1](https://www.ruby-forum.com/t/bug-re-openssl-1-0-1/234892)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [January 12, 2015, 6:56pm UTC](https://www.ruby-forum.com/t/bug-re-openssl-1-0-1/234892 "2015-01-12T18:56:40Z")

</div>

Hi All I’m trying to use nginx to also proxy to owa. I am getting the error peer closed connection in SSL handshake while SSL handshaking to upstream I have read that this is due to a bug and that the solution is to …

---

## [Nginx behind a reverse proxy sending 499](https://www.ruby-forum.com/t/nginx-behind-a-reverse-proxy-sending-499/233773)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 12, 2015, 3:05pm UTC](https://www.ruby-forum.com/t/nginx-behind-a-reverse-proxy-sending-499/233773 "2015-01-12T15:05:45Z")

</div>

We have a Java based reverse proxy(developed in-house) which is talking to Nginx which is a proxy\_pass for gunicorn server(python/django). The HTTP request flows from Java reverse proxy (JRPxy) to nginx to gunicorn. A…

---

## [Resolver does not re-resolve upstream servers after initial cache](https://www.ruby-forum.com/t/resolver-does-not-re-resolve-upstream-servers-after-initial-cache/224335)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 10\
**Last updated:** [January 12, 2015, 1:28pm UTC](https://www.ruby-forum.com/t/resolver-does-not-re-resolve-upstream-servers-after-initial-cache/224335 "2015-01-12T13:28:34Z")

</div>

Using nginx 1.2.3-stable on Ubuntu 12.04 I have the following config: http { resolver 172.16.0.23 valid=300s; resolver\_timeout 10s; upstream myupstream { server example.com; } server { listen 80 defa…

---

## [Resize & cache image from 3rd-party server?](https://www.ruby-forum.com/t/resize-cache-image-from-3rd-party-server/175909)

<div class="topic-metadata">

**Author:** [@digitala](https://www.ruby-forum.com/u/digitala)\
**Replies:** 2\
**Last updated:** [January 11, 2015, 5:12pm UTC](https://www.ruby-forum.com/t/resize-cache-image-from-3rd-party-server/175909 "2015-01-11T17:12:58Z")

</div>

Is it possible to obtain an image from a remote http server, resize it locally, and cache it locally using just nginx? I understand this would be possible using the perl module (maybe forking perl so nginx doesn’t blo…

---

## [Download and movie alias](https://www.ruby-forum.com/t/download-and-movie-alias/233766)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 11, 2015, 3:27pm UTC](https://www.ruby-forum.com/t/download-and-movie-alias/233766 "2015-01-11T15:27:35Z")

</div>

Hello, i use static directory for my css files, video files and download directory. I understand not why the link www.example.com/download not work but www.example.com/download/ works. Has someone an idea what is wro…

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

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