add nginx conf and encd.py