mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
refactoring (#116)
- refactoring architecture - fix incomplete ssh logs - code editor for scripts in the app - remove Jobs and SSHCommands
This commit is contained in:
8
app/SSH/Services/Webserver/scripts/nginx/install-nginx.sh
Executable file
8
app/SSH/Services/Webserver/scripts/nginx/install-nginx.sh
Executable file
@ -0,0 +1,8 @@
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install nginx -y
|
||||
if ! echo '__config__' | sudo tee /etc/nginx/nginx.conf; then
|
||||
echo 'VITO_SSH_ERROR' && exit 1
|
||||
fi
|
||||
sudo service nginx start
|
||||
|
||||
# install certbot
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install certbot python3-certbot-nginx -y
|
Reference in New Issue
Block a user