bodsch.nginx
Ansible Role: nginx
Ansible role to install and configure nginx.
Requirements & Dependencies
Ansible Collections
Operating systems
Tested on
- ArchLinux
- ArtixLinux
- Debian based
- Debian 11 / 12
- Ubuntu 20.04 / 22.04
usage
default configuration
nginx_acme: {}
nginx_default_site:
file: /etc/nginx/sites-enabled/default
remove: true
nginx_vhost_templates:
http: vhost_http.conf.j2
https: vhost_https.conf.j2
redirect: vhost_redirect.conf.j2
nginx_logging:
base_directory: /var/log/nginx
nginx_global: {}
nginx_events:
worker_connections: "1024"
multi_accept: false
nginx_logformat: {}
nginx_http: {}
nginx_gzip: {}
nginx_ssl: {}
nginx_custom_includes: {}
nginx_vhosts: []
nginx_acmenginx_custom_includesnginx_globalnginx_eventsnginx_gzipnginx_httpnginx_logformatnginx_sslnginx_vhosts
Contribution
Please read Contribution
Development, Branches (Git Tags)
The master Branch is my Working Horse includes the "latest, hot shit" and can be complete broken!
If you want to use something stable, please use a Tagged Version!
Author and License
- Bodo Schulz
License
FREE SOFTWARE, HELL YEAH!
Install
ansible-galaxy install bodsch.nginxLicense
apache-2.0
Downloads
10.7k
Owner
ex-developer (c, c++, php),
ex-system administrator / engineer,
keep-it-simple,
monitoring,
automation,
system architect
