Accidently Deleted /etc/nginx, anyway to regenerate our custom nginx.conf?
<p>I was using nano to edit nginx.conf to turn Google Pagespeed off and apparently it shredded the nginx.conf file and the entire /etc/nginx directory. The entire folder is gone.</p>

<p>Our /etc/nginx/nginx.conf file had a ton of customization and URL rewriting which we edited over several years, so I'm trying to somehow restore the nginx.conf file. We never made a backup, unfortunately. Live and learn!</p>

<p>In trying to Google if I can restore nginx.conf, I've heard rumblings it's possible to regenerate the file from the server's memory. My server should still be actively using it since I haven't restarted nginx, right? Or would it only restore a fresh copy with none of our customization?</p>

<p>I have very limited experience using SSH and Linux -- I'm more of a Wordpress and PHP guy. Any help would be appreciated. Not sure if this info is helpful but we're running Debian 8.1. Thank you!</p>