项目作者: karljohns0n

项目描述 :
Ansible Role - Nginx-more
高级语言:
项目地址: git://github.com/karljohns0n/ansible-role-nginx-more.git
创建时间: 2019-03-01T18:32:09Z
项目社区:https://github.com/karljohns0n/ansible-role-nginx-more

开源协议:MIT License

下载


Ansible Role: nginx-more

ProjectStatus
Build

This role installs nginx-more for CentOS / RHEL. Nginx-more is a build of Nginx with additional modules such as HTTP2, PageSpeed, Brotli, More Headers, Cache Purge, VTS, GeoIP2. It’s compiled using recent GCC version and latest OpenSSL sources. It also includes some built-in configurations such as WordPress and Laravel php-fpm setup. More information can be found on this package here.

Requirements

This role was developed using Ansible 2.7. Backwards compatibility is not guaranteed.

Role Variables

Nginx-more already provides a lot of built-in configurations therefore no templates are currently included in the playbook.

SELinux

Fresh installation of nginx-more may conflict with SELinux. A role variable nginx_selinux_permissive is defined (boolean, default: ‘true’) to temporarily disable SELinux restrictions for the httpd_t context if set to true and if Ansible detects that SELinux is in enforcing mode. Those tasks are skipped if SELinux is disabled.

Dependencies

Clean OS installation without a Web server (apache, nginx, etc..) installed. The playbook will detect a conflict if nginx is installed.

Example Playbook

  1. - hosts: servers
  2. roles:
  3. - { role: karljohns0n.nginx-more }

License

MIT

Author Information

Karl Johnson