How to repair nginx without reinstalling the panel

rm /etc/nginx/nginx.conf 
cp /usr/local/hestia/install/deb/nginx/nginx.conf /etc/nginx/nginx.conf