Re: sub_filter and proxy_pass

2015-11-15 Thread yuval.car...@capriza.com
Issue was the Content-Type. Tx! (used sub_filter_types to fix it) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262829,262833#msg-262833 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

sub_filter and proxy_pass

2015-11-15 Thread yuval.car...@capriza.com
Hi, I'm using Nginx 1.8 and trying to add a sub_filter but It fails to work (I don't see the substitution happenning). location ~* \.(appcache|manifest)$ { expires -1; rewrite ^(/v[0-9]+/.*)$ /app_ver$1 break; rewrite ^(?!/v[0-9]+/)(.*)$ /app$1 break;