Using Ansible to configure NGINX on Ubuntu and host a static website

By Tony Mackay ·

This tutorial will demonstrate how to write an Ansible playbook so that you can automate the installation and configuration of NGINX on a Ubuntu Server. The playbook will install NGINX, remove the default website, create a new virtual host and deploy a static website.

Liked this post?

Get notified every Monday when new tutorials are published. We promise not to sell or give away your email address and you can unsubscribe at any time.


Read Next

Written by Tony Mackay

Tony is the founder and editor of GraspingTech, a blog which provides tutorials for Cloud Architects, DevOps Engineers and System Administrators. He has written over one hundred tech tutorials which have been read by more than a million people.

Connect with Tony on LinkedIn or contact him by email.