Obtaining req/s or connections/sec sent to a backend-server? (1 reply)
Hello NginxI understand that nginx when uses as a reverse proxy does not allow meto poll for stats regarding the amount of connections/requests sent tobackend servers. Id like to know if there is...
View ArticleFwd: Adding a header to the status page output (1 reply)
Hello !Iam wondering if there is any way to add a custom header/footer to theoutput of the STATUS page?location /status { stub_status on; }I tried a couple of thigns but for some reason apparently it...
View Article[ANN] ngx_openresty devel version 1.4.1.3 released (no replies)
Hello folks!I am happy to announce that the new development version ofngx_openresty, 1.4.1.3, is now released:http://openresty.org/#DownloadSpecial thanks go to all our contributors and users for...
View ArticleHow to not log Pingdom bots (no replies)
Hi,I'm trying to do the following:I would like to stop logging from Pingdom bots, as a checking every 5 second pollutes the access log and it doesn't have any meaningful value. My problem is that I...
View ArticleWorker process is not getting killed , when master is killed using -9 (1 reply)
Hi,I am facing one problem with nginx. I am waiting for nginx to stop withing30 seconds. If it is not getting stopped, I am firing command to killmaster process usingpkill -9...
View Articleupstream max_fails disable (no replies)
HiI'm using the upstream module - with sole purpose to enable keepalivesto my backendI don't want to use any of the other features, I only have 1 server inthe upstream {}Does that mean max_fails is...
View ArticlePoor performance when loading huge number of server section (1 reply)
Hi there,I got a problem when using nginx as a reverse proxy. Configurationsusing per server policy to set upstream host. Nginx spends significanttime loading config files as while as virtual server...
View Articleproxy_cache seems not working with X-Accel-Redirect (no replies)
My configlocation ~ /cached/ {proxy_pass http://apache;proxy_cache cache;proxy_cache_valid 2h;proxy_cache_key "$host|$request_uri";}location /htdocs_internal/ {internal;alias $htdocs_path;}Requests...
View ArticleProxy_pass and rewrite (no replies)
Hi, I'm try to do a proxy_pass and rewrite rules like this:location /directory/ {proxy_pass http://some_url_to_proxy_pass/;expires +10d;}It's working, but I need to repeat the /directory/ on the new...
View ArticleMy filter module is not called (no replies)
Hi,I'm writing a filter module which will output static files according toinformation returned by an upstream handler like FastCGI, or Apache.There is some testing code in header/body filters. I'm...
View Article[ANN] ngx_openresty devel version 1.4.2.1 released (no replies)
Hi guys!I am glad to announce that the new development version ofngx_openresty, 1.4.2.1, is now released:http://openresty.org/#DownloadBelow is the complete change log for this release, as compared to...
View Articlefix bug in http_referer_module that using incorrect input string length in...
--- ngx_http_referer_module.c+++ ngx_http_referer_module.c@@ -147,10 +147,12 @@if (ngx_strncasecmp(ref, (u_char *) "http://", 7) == 0) {ref += 7;+ len -= 7;goto valid_scheme;} else if...
View ArticleNGINX serving data via NFS mount (4 replies)
Hi,Can anybody tell me what are the things needed by nginx to forward the request via the NFS mount point?? Changes to the config file as such??The config file looks like as shown below:http...
View ArticleCharacter references (2 replies)
If I use character reference in html file to represent a character and webserver sends the file on browser request, how the browser will decode thecharacter reference?My Nginx web server is configured...
View ArticleHow to rewrite with cookie (1 reply)
Hi, it's possible to rewrite a mobile URL using cookies?For example, when you acess a URL with a mobile device (android) , nginxshoul read the cookie and redirect this device according to the...
View ArticleInternals: how do I send large file to the client? (no replies)
Hi,I'm writing a filter module which implies a backend to be sending XML withinformation about files that have to be concatenated and sent to the client.One way to send a file is to `ngx_read_file`...
View ArticleLimit connection to specific location (4 replies)
Hello,I'am looking for a way to limit the number of connection in one hour to alocation named /api/I've looked at the ngx_http_limit_conn_module module but I don't understandhow to limit the amount of...
View Articlenginx-extras (1.4.1 Ubuntu precise) cache loader/manager issue (2 replies)
Dear people,I used for a while the nginx-extras 1.4.1 for Ubuntu 12.04 LTS (precise); I used this package since it supported 'more_clear_headers' which was useful to hide some headers (LifeRay...
View ArticleProxying with/without listen in server block (2 replies)
Does having a listen directive in a server block over ride blocks without?I have a slightly complex set up, proxying traffic depending on url to various other machines on the network.Something a bit...
View Articlessl_cipher for mail not working (no replies)
Hello,to increase security of SSL I added some eliptic-curves-ciphers to the chain. For HTTPS it's working fine, but for the mail proxy it does not work, I only always get RC4-SHA instead of the ECDH...
View Article