lifeofguenter / ansible-role-nginx

Ansible Role for nginx (from source)

Home Page:https://galaxy.ansible.com/lifeofguenter/nginx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lifeofguenter.nginx

Build Status

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

Requirements

None

Role Variables

nginx_version: 1.24.0

# 3rd-party modules
ngx_brotli_version: master

ngx_headers_more_version: 0.34

ngx_fancyindex_version: 0.5.2

ngx_modsecurity_version: 1.0.3

ngx_njs_version: 0.8.1

# 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

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

Ansible Role for nginx (from source)

https://galaxy.ansible.com/lifeofguenter/nginx/

License:MIT License


Languages

Language:Shell 100.0%