Skip to content

Commit

Permalink
nginx
Browse files Browse the repository at this point in the history
nginx
  • Loading branch information
the1Riddle authored Dec 6, 2023
2 parents f8d0f35 + f2ab970 commit f06d2c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 0x0C-web_server/1-install_nginx_web_server
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
# Installs Nginx with the following configurations:
apt-get update
apt-get install -y nginx
sudo ufw app list
sudo ufw allow 'Nginx HTTP'

echo "Hello World!" | sudo tee /var/www/html/index.html
sudo nginx -t
sudo service nginx start
sudo service restart nginx

0 comments on commit f06d2c9

Please sign in to comment.