prepare for nginx.