add nginx.conf and fix_permission