proxy only certain assets based on host header? (2 replies)
We're trying to proxy only certain assets like png|jpg|css only when the host header is a certain DNS name. I tried to do this in the proxy.conf file using something the example below but it doesnt...
View Article[ANN] ngx_openresty devel version 1.2.8.5 released (no replies)
Hello guys!I am happy to announce that the new development version ofngx_openresty, 1.2.8.5, is now released:http://openresty.org/#DownloadSpecial thanks go to all our contributors and users for...
View ArticleRewriting and proxy problem (2 replies)
H folks!I am completeley newbie to nginxI have the following config# Forward request to /demo to tomcat. This is for# the BigBlueButton api demos.location /demo {rewrite ^ /upvc;proxy_pass...
View ArticlePerformance trouble after migration Squeeze to Wheezy (no replies)
Hello,First of all I need to emphasize the fact that I know WHeezy is not yetsupported.What I am trying to determine how WHeezy could impact Nginx (compiled forSqueeze) performance.Since I made the...
View Articlefastcgi_read_timeout with PHP backend (no replies)
Hello,I am trying to understand how fastcgi_read_timout works in Nginx.Here is what I wanna do:I list files (few MB each) on a distant place which I copy one by one(loop) on the local disk through...
View Articlenginx got an 500 error when uploading files (1 reply)
Hi everyone,I am using nginx 1.4.1 and php-fpm 5.3.25.Everything is fine except when I uploading files to server.I have a Discuz! x3(a forum system) and when I post threads, exceptattachment everything...
View ArticleMono MVC Timeout (1 reply)
Hi everyone!I am struggling to get a (simple) MVC app work under OpenBSD (5.3) + Mono(2.10.9) + Nginx (1.2.6)I can get a simple index.aspx (Hello World) app to work, but the defaultMVC 3 template...
View Articlenginx 1.4.1 + 'gzip on' causes download of file instead of displaying it in...
when i use nginx 1.4.1 + 'gzip on', once in every 2 requests i get the index.php (which its output is text/html) being downloaded by the browser as unknown file type instead of displayed in it (the...
View ArticleSPDY certificates and Wordpress multisite (2 replies)
Hello. I manage a small blog network (17) that has a lot of traffic (20MM visits/month). I use Wordpress Multisite to manage it, each blog has its own domain name, and all are served from the same WP...
View Articlesafe to call ngx_http_subrequest inside location handler? (2 replies)
Hello,So according to evan miller's tutorial and nginx's own source code, it seems only filters can send subrequests. But I have tried to call ngx_http_subrequest inside my location handler, and...
View ArticleHow to convert Lighttpd rewrite to NGinx rewrite (1 reply)
Hi All,I have a problem in convert Lighttpd rules to Nginx rewriteThis is my Lighttpd rules"^/pthumb/([^\/]+)\/(.+)$" => "/pthumb/index.php?$1&f=$2"And this is Nginx Rewrite converted from above...
View Article404 on Prestashop 1.5 under nginx (1 reply)
I have a problem with nginx giving a 404 error on a Prestashop 1.5.4.1 site.This is the URL returning the 404: www.domain.com/es/index.php?controller=order-confirmationThe prestashop is under...
View ArticleError message: invalid number of arguments in "proxy_pass" directive ... (1...
Hello guysI'm using nginx as a load balancer between 2 apache webservers for a school assignment, but i can't get it working. My nginx server (running on ubuntu server) won't start...He keeps giving...
View Article1.4.1 SPDY error FIXME: chain too big in spdy filter (1 reply)
Hi,Running 1.4.1 and using SPDY and SSL extensively (exclusively, actually).Seeing a ton (thousands) of errors in the error log, similar to:2013/05/29 00:22:53 [alert] 25981#0: *8781732 FIXME: chain...
View ArticleContent-Length header with HEAD response (2 replies)
HiI am trying to configure Nginx to deny HTTP HEAD requests1. By adding the following to configuration fileif ($request_method !~ ^(GET)$) {return 405;}2. Explicitly in the moduleif (!(r->method...
View ArticleHowto force text type of dir/subdir/file? (3 replies)
Hi,On a CentOS 6.4 box with nginx 1.4.1 I would like to expose/usr/share/doc/* as <domain>/doc so I can easily browse the docs fromthe installed packages.Config I have right now (thanks Nodex on...
View Articlenewbie needs help (4 replies)
Hi,new in ths nginx, with following config, I want to achieve:http://sample.com/ render index.htmlhttp://sample.com/test, or anything after '/' path, render index.htmlserver {listen 80;server_name...
View Articleif-none-match with proxy_cache : properly set headers (1 reply)
Hi,i struggled a little to get nginx to cache 304 responses from backend using proxy_cache.What happens when configuring proxy_cache is that 304 responses are not happening becausenginx strips...
View Article[LB]Bad root document set via proxy_pass (no replies)
Hello everybody,I am using several instances of Nginx (1.4.1). One as a LoadBalancer and the others to host rails applications (using module passenger).Depending of the url, I forward to the proper...
View ArticleLdap authentication passing to tomcat (no replies)
I am using nginx 1.4.1 as reverse proxy for tomcat 7.0.33. Using LDAP for user authentication.Everything works fine except one critical thing: the authenticated user ID does not get to tomcat. I see it...
View Article