/code

Code snippets

Primary LanguageShell

Code snippets

nginx_sblock.sh

thanks to @Hiljaa : Clubmate.fi, this linux shell script creates new NGINX server blocks as well as new site folders in /var/www/. I changed nginx restart to nginx reload to prevent interruption of existing sessions.