certs.d: You should put your certifcates and keys here.conf.d: Anything that extendsnginx.confand is included by it should be placed here.conf.extra.d: Anything that is used either by vhosts inconf.sites.dor upstreams inconf.upstreams.dornginx.conf.conf.sites.d: Virtual hosts go here.conf.upstreams.d: Upstream configurations go here.conf.modules.d: Symbolic link to/usr/lib/nginx/modules, nginx modules should put their files here (you can symlink this tomodulesto avoid errors when installing.)logs.d: Nginx logs go here, you also should make your vhost or upstream configurations to store logs here (you can link this to/var/logif you want.)
sudo su
cd /etc
git clone https://github.com/ay0ks/nginx.gitsystemctl restart nginx