Issue was the Content-Type. Tx! (used sub_filter_types to fix it)by yuval.carmel@capriza.com - Nginx Mailing List - English
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; proxy_set_header Accept-Encoding ""; sub_filter 'CACHE' 'by yuval.carmel@capriza.com - Nginx Mailing List - English
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; proxy_set_header Accept-Encoding ""; sub_filter 'CACHE' 'by yuval.carmel@capriza.com - How to...
![]() |
![]() |
![]() |
![]() |
|