- 2.x - sites settings

- tags
- source-control soft deletes
This commit is contained in:
Saeed Vaziry
2024-10-06 00:04:57 +02:00
parent d1f2add699
commit 3c50e2c947
44 changed files with 972 additions and 119 deletions

View File

@ -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