lifeofguenter.nginx

lifeofguenter.nginx

Build Status

This role will compile nginx from source on Debian-like systems.

Requirements

None

Role Variables


nginx_version: 1.26.1

# 3rd-party modules
ngx_brotli_version: master

ngx_headers_more_version: 0.37

ngx_fancyindex_version: 0.5.2

ngx_modsecurity_version: 1.0.3

ngx_njs_version: 0.8.5

# config defaults
nginx_worker_connections: 2048

# dynamically loaded modules
nginx_load_modules:
  # - http_fancyindex
  # - http_js
  - http_modsecurity

nginx_resolvers:
  - 1.1.1.1
  - 8.8.8.8

nginx_resolver_timeout: 2s

nginx_compile_modsecurity: ''

Dependencies

None

Example Playbook


- hosts: webservers
  roles:
    - { role: lifeofguenter.nginx }

License

Licensed under the MIT License. See the LICENSE file for details.

Author Information

Günter Grodotzki

About

Compiles & installs Nginx from source.

Install
ansible-galaxy install lifeofguenter.nginx
GitHub repository
License
mit
Downloads
594