I'm contemplating uploading config files from /etc/nginx/sites-available/
and /etc/nginx/ssl
to a private Github repository.
Doing so would require me to use git
with sudo
(or from root
user) for the ssl
folder at least (which can only be read by root because it also contains SSL keys).
Are there any downsides or (security) risks in doing so? (OS is Ubuntu 18.04)
I would most probably limit the files in the repository to .conf
files to avoid any SSL private keys being uploaded.