Closed theofidry closed 9 years ago
In /etc/nginx/site-enable/default:
/etc/nginx/site-enable/default
location / { index app_dev.php; try_files $uri @rewriteapp; add_header Cache-Control private; # Add header }
Also in /etc/nginx/nginx.conf:
/etc/nginx/nginx.conf
sendfile off;
See http://serverfault.com/questions/269420/disable-caching-when-serving-static-files-with-nginx-for-development for more information.
In
/etc/nginx/site-enable/default
:Also in
/etc/nginx/nginx.conf
:See http://serverfault.com/questions/269420/disable-caching-when-serving-static-files-with-nginx-for-development for more information.