mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
- 2.x - sites settings
- tags - source-control soft deletes
This commit is contained in:
@ -1,7 +1,3 @@
|
||||
if ! echo '__vhost__' | sudo tee /etc/nginx/sites-available/__domain__; then
|
||||
echo 'VITO_SSH_ERROR' && exit 1
|
||||
fi
|
||||
echo '__vhost__' | sudo tee /etc/nginx/sites-available/__domain__
|
||||
|
||||
if ! sudo service nginx restart; then
|
||||
echo 'VITO_SSH_ERROR' && exit 1
|
||||
fi
|
||||
sudo service nginx restart
|
||||
|
Reference in New Issue
Block a user