Instead of overwriting /etc/nginx/nginx.conf, why not add configs in /etc/nginx/sites-available and symlink them as is common? This is just bad and reckless. How do I get my old nginx.conf back? There is no backup. There is not even a warning about it. Not that I have seen.