standard-build/scripts/nginx-ensite.sh

2 lines
92 B
Bash

ln -s /etc/nginx/sites-available/"$1".conf /etc/nginx/sites-enabled/
systemctl restart nginx