maruina.nginx
Ansible Role: Nginx 0.1
This is an Ansible role that sets up and configures nginx.
How to Download from Ansible Galaxy
ansible-galaxy install maruina.nginx
How to Use
You can change any settings you need.
nginx_sites_available:
- my_blog
nginx_sites_enabled:
- my_blog
nginx_sites:
my_blog:
- listen 80
- root /var/www/my_blog
- server_name www.myblog.com
- location / {
option value;
}
my_second_website:
- listen 81
- root /var/www/another_root
- server_name samename.com
- location / {
autoindex on;
}
- another nginx option
Example Playbook
- hosts: all
roles:
- { role: maruina.nginx }
License
MIT
Installa
ansible-galaxy install maruina.nginx
Licenza
mit
Download
97
Proprietario
Engineer at @datadog