Skip to content

Nginx

Homepage | Repository

NGINX (pronounced “engine x” or “en-jin-eks”) is the world’s most popular Web Server, high performance Load Balancer, Reverse Proxy, API Gateway and Content Cache.

This is a barebones container that simply serves a static folder.

inventories/homelab/group_vars/homelab.yml
nginx_enabled: true

By default, Nginx can be accessed at http://[your_server_ip]:80 or https://nginx.[your_domain].com if you have DNS access configured.

inventories/homelab/group_vars/homelab.yml
# If you'd like to change what folder contains the static website:
nginx_data_directory: "/path/to/static/website/folder"

See the default configuration options for Nginx at roles/nginx/defaults/main.yml. Add any overrides to your inventories/[your_inventory]/group_vars/homelab.yml file.

Mar 17, 2026