updating for nginx