improved static file config for nginx