prepare for nginx