proxy_pass of PUT with no Content_length header returns 411 (1 reply)
I am having trouble with proxy_pass and PUT without a Content-Length header returning a 411 error.# curl -XPUT http://localhost:8080/<html><head><title>411 Length...
View ArticleToo Many Redirects - CDN Rewrite Rule (9 replies)
I have tried both ways to redirect my static files to a CDN (content delivery network), but both ways result in the message "too many redirects." Can anyone tell me what I am doing wrong here?location...
View ArticleUpstream least_conn behavior irregularity (5 replies)
Was investigating some issues today when we noticed that least_conn wasn'tbehaving as expected.upstream backend {least_conn;server unix:/tmp/sock-1.sock;server unix:/tmp/sock-2.sock;server...
View Article[Announce] Tengine-1.4.4 is released (no replies)
Hi folks!We are excited to announce that Tengine-1.4.4 (development version) hasbeen released. You can either checkout the source code from GitHub:https://github.com/alibaba/tengine or download the...
View Articletcp splicing (1 reply)
Hello,I am new in nginx and I'd like to know if nginx implements tcp-splicingsystem call.Thanx--Lukáš HeřboltLinux AdministratorET NETERA | smart e-business[a] Milady Horákové 108, 160 00 Praha 6[t]...
View ArticleHow to make nginx establish persistent connections with squid? (1 reply)
hi,I use nginx as load balance and forward request to squid use http/1.1, the topology is below:chrome ---> nginx(:80) ---> squid(:8080) ---> origin server(nginx :80)the nginx...
View Articlenginx/freebsd kern.maxbcache (no replies)
HiI'm trying to tune 'kern.maxbcache' with hope of increasing'vfs.maxbufspace' so that more files can be stored in buffer memory onfreebsd 9.1It's suggested to tune this value...
View Article403 Forbidden, Nignx (no replies)
Hello again:I am have public a redmine and other aplication with nginx the otheraplication is make in php, the php aplication have a api direccion forsome services, when i put the url of de aplication...
View ArticleRequire 'www' for https://example.com (3 replies)
I am setting up a server that will be for a B2B business, and I want the whole site to be served as https://www.example.com/I have gotten a certificate and https://www.example.com runs just fine, but I...
View Articlemax virtualhosts (2 replies)
Hi !I was wondering, for the sake of curiosity, how many server blocks (virtual hosts) nginx can afford ?To the extreme : will 1000 server blocks will decrease nginx performances ?Cheers,Larry
View ArticleRequest path not passed to proxy when $scheme is used in proxy_pass URI (1...
Hi all, I've found a strange behaviour with proxy_pass. I've reduced asimple vhost that reproduces it:server {listen 127.0.0.1:8000;location / {proxy_pass $scheme://127.0.0.1:9000/;}}A listener on...
View Articleclient_max_body_size (no replies)
HiIs there any way to deny all requests with body?I know I can set set client_max_body_size to 1 (byte)But.. in that case Nginx reads all body request before finalizing therequest.In case of requests...
View Article[ANN] ngx_openresty devel version 1.2.7.3 released (no replies)
Hello!I am happy to announce that the new development version ofngx_openresty, 1.2.7.3, is now released:http://openresty.org/#DownloadSpecial thanks go to all our contributors and users for helping...
View Articlengx unescape uri bug (1 reply)
I'm Zuwen Shi from China,I find a unescape uri bug in your program.The source code location is src\core\ngx_string.c->ngx_unescape_uriIf I put a string "%%s%elect",it convert the string to...
View ArticleuWSGI + Moin (subdir) + Nginx (2 replies)
Hi,I followed the example in:http://projects.unbit.it/uwsgi/wiki/Example#MoinMoinonlinenowHowever when I type domain/wiki I get a message that the page does notexist yet... which already tells me...
View Articlecan i change time format in access log? (4 replies)
Hi, EveryBody!I am really happy with nginx from now.but I have one question.I want to customize time format in access log, because of calculating time.There are two kind of time format in...
View ArticleSub-domain in variable (4 replies)
Hi guys,I have question. My server_name looks like this:server_name ~^(www\.)(?<domain>[^\.]*)\.(?<tld>[^\.]*)$;but I need, for my website do subdomains. I try:server_name...
View Articlenginx-1.3.15 (no replies)
Changes with nginx 1.3.15 26 Mar 2013*) Change: opening and closing a connection without sending any data init is no longer logged to access_log with error code 400.*) Feature: the...
View Articlengx_slab_alloc() failed: no memory in cache keys zone "zone-xyz" (no replies)
Hi,We have a nginx1.0.5 version installed in our system. We are getting thiserror continuously in our nginx error log. ngx_slab_alloc() failed: nomemory in cache keys zone "zone-xyz". I have increased...
View ArticleError when proxying websocket connection over unix socket (1 reply)
Hello everybody,I found that if you try to proxy a websocket connection over a unix socket you get an error.This is due to the fact that nginx tries to set TCP_NODELAY for the unix socket...
View Article