Ansible role to install and configure nginx.
Ansible Collections
Tested on
- ArchLinux
- ArtixLinux
- Debian based
- Debian 11 / 12
- Ubuntu 20.04 / 22.04
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_acme
nginx_custom_includes
nginx_global
nginx_events
nginx_gzip
nginx_http
nginx_logformat
nginx_ssl
nginx_vhosts
Please read Contribution
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!
- Bodo Schulz
FREE SOFTWARE, HELL YEAH!