Fixing nginx.conf and cache script