I have a few personal websites running in an ubuntu VPS and I got tired of having to copy + paste my password when editing nginx config files. So, I created
/home/myUserName/www/ and created subdirectories for each website's assets, including the nginx config files, then I symlinked the config files into
/etc/nginx/sites-available/. This makes editing the config files, along with each site's assets, much less of a hassle as I don't have to authenticate as root each time I edit the files.
What are the security implications regarding doing things this way? The nginx config files don't have any sensitive info in them, other than specifying the location & existence of ssl certs for the webpages. Must nginx config files be only writable by root, when I'm the only person using the system? Why should't I do things this way?