Skip to content

Instantly share code, notes, and snippets.

@thomasnield
Created February 3, 2022 00:13
Show Gist options
  • Save thomasnield/843b28ca0ab623ff885fce8526850366 to your computer and use it in GitHub Desktop.
Save thomasnield/843b28ca0ab623ff885fce8526850366 to your computer and use it in GitHub Desktop.
Hello World nginx
apt-get update -y && apt-get upgrade -y
apt-get install -y nginx
echo "Hello World from " $HOSTNAME | sudo tee -a /var/www/html/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment