Nginx server block configuration getting reset automatically

Seems like an nginx server block conf of production instance, getting reset automatically. Had to update ERPNext on 23rd Oct to 6.6.4 and observed /etc/nginx/conf.d/frappe.conf reset as the default. Then again, I configured it around at 3PM IST with SSL. Again around 7.47PM IST it got reset to default.

Is this a bug?


@sunilsrikumar I don’t think so. Unless you keep running bench setup nginx again and again via cron or you have modified bench update to run bench setup nginx

Agree with you @anand . In fact, I was bit surprised, how this is possible without cron or any manual setup. Anyway, I’m monitoring the server. Thx for reply.