Re: can't cache javascript file from proxy

2015-08-08 Thread bugster86
Thank you Maxim. I added these 2 directives in my configuration file: proxy_ignore_headers "Expires"; proxy_ignore_headers "Set-Cookie"; And now my cache folder has some file !!! [root@puppet cache]# ls 0741765da3f800afaeeca0c3a6139db8 0cbfc19bd25e83d6ffa73641383bab4a a5d938d8984466ebe2e9894

Re: can't cache javascript file from proxy

2015-08-07 Thread Maxim Dounin
Hello! On Fri, Aug 07, 2015 at 07:12:21AM -0400, bugster86 wrote: > Hi, > > I have a problem with cache javascript file from a proxy glassfish4.0 > Server. [...] > proxy_ignore_headers "Cache-Control"; > #proxy_ignore_headers "Pragma"; [...] >

can't cache javascript file from proxy

2015-08-07 Thread bugster86
Hi, I have a problem with cache javascript file from a proxy glassfish4.0 Server. My nginx.conf is this: ___ usernginx nginx; error_log /var/log/nginx/error.log warn; pid /usr/local/nginx/logs/nginx_1.8.0.pid; worker_p