add nginx and file config