sudo ln -sf "$PWD/nginx.conf" /etc/nginx/nginx.conf
sudo ln -sf "$PWD/ssl.conf" /etc/nginx/ssl.conf
sudo ln -sf "$PWD/sites-available" /etc/nginx/sites-available
sudo ln -sf "$PWD/virtual.conf" /etc/nginx/conf.d/virtual.conf
sudo ln -sf /etc/nginx/sites-available/[TARGET_CONF] /etc/nginx/sites-enabled/[TARGET_CONF]
# REMOVE TARGET DIRECTORY FIRST, IF EXISTS #
sudo ln -sf /etc/nginx/sites-available/* /etc/nginx/sites-enabled/
sudo nginx -t -c /etc/nginx/nginx.conf
sudo service nginx reload
보안 검사
References